Skip to content
Snippets Groups Projects
Commit ccb04f3a authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[PYNQ] connect AXI lite port into shell

parent 93b8b2de
No related branches found
No related tags found
No related merge requests found
......@@ -108,6 +108,7 @@ class MakePYNQProject(Transformation):
out_if_name = "out_r_0"
clk_name = "ap_clk_0"
nrst_name = "ap_rst_n_0"
axi_lite_if_name = "s_axi_control_0"
vivado_ip_cache = os.getenv("VIVADO_IP_CACHE", default="")
# create a temporary folder for the project
......@@ -129,6 +130,7 @@ class MakePYNQProject(Transformation):
out_if_name,
clk_name,
nrst_name,
axi_lite_if_name,
vivado_ip_cache,
)
......
......@@ -35,6 +35,7 @@ variable config_ip_bytes_out
variable config_ip_axis_name_in
variable config_ip_axis_name_out
variable config_ip_use_axilite
variable config_ip_axilite_name
variable config_ip_project_dir
variable config_output_products_dir
variable config_remote_cache
......@@ -67,7 +68,9 @@ set config_ip_clk_name %s
# the name of the active-low reset signal
set config_ip_nrst_name %s
# whether the IP needs an AXI Lite interface for control
set config_ip_use_axilite 0
set config_ip_use_axilite 1
# name of AXI Lite interface
set config_ip_axilite_name %s
# Vivado OOC IP cache
set config_remote_cache "%s"
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment