Skip to content

Commit 24bf507

Browse files
committed
revert gen_xo.tcl to look for ap_clk signal, making single script compatable with the new calyx-axi-wrapper and old verilog-axi-wrapper
1 parent 787cb21 commit 24bf507

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

fud2/rsrc/gen_xo.tcl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,10 @@ set_property sdx_kernel true [ipx::current_core]
3131
set_property sdx_kernel_type rtl [ipx::current_core]
3232

3333
# Declare bus interfaces.
34-
# NOTE: In the old version of our AXI wrapper `clk` was named `ap_clk`
35-
# TODO: Before merging change this back and update Calyx-AXI-wrapper to use ap_clk
36-
# (or do something else that doesnt break the old verilog-wrapper)
37-
ipx::associate_bus_interfaces -busif s_axi_control -clock clk [ipx::current_core]
34+
ipx::associate_bus_interfaces -busif s_axi_control -clock ap_clk [ipx::current_core]
3835
lvarpop argv
3936
foreach busname $argv {
40-
ipx::associate_bus_interfaces -busif $busname -clock clk [ipx::current_core]
37+
ipx::associate_bus_interfaces -busif $busname -clock ap_clk [ipx::current_core]
4138
}
4239

4340
# Close & save the temporary project.

0 commit comments

Comments
 (0)