Skip to content

Commit

Permalink
revert gen_xo.tcl to look for ap_clk signal, making single script com…
Browse files Browse the repository at this point in the history
…patable with the new calyx-axi-wrapper and old verilog-axi-wrapper
  • Loading branch information
nathanielnrn committed Jan 2, 2025
1 parent 787cb21 commit e474063
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions fud2/rsrc/gen_xo.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,10 @@ ipx::edit_ip_in_project -upgrade true -name tmp_edit_project -directory $path_to
set_property sdx_kernel true [ipx::current_core]
set_property sdx_kernel_type rtl [ipx::current_core]

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

# Close & save the temporary project.
Expand Down

0 comments on commit e474063

Please sign in to comment.