Skip to content

Commit ba51a86

Browse files
committed
vivado didn't like previous style of macro, had to switch to something
fancier
1 parent b136fb7 commit ba51a86

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hdk/cl/developer_designs/cl_firesim/design/cl_firesim.sv

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,10 @@ logic clock_gend_90; // see above, really ~92
116116
logic clock_gend_85; // see above, really ~87
117117
logic clock_gend_75;
118118

119+
`define FIRESIM_CLOCK_SIGNAL_SETTING(freq) clock_gend_``freq
120+
119121
logic firesim_internal_clock;
120-
assign firesim_internal_clock = clock_gend_`SELECTED_FIRESIM_CLOCK;
122+
assign firesim_internal_clock = `FIRESIM_CLOCK_SIGNAL_SETTING(`SELECTED_FIRESIM_CLOCK);
121123

122124
clk_wiz_0_firesim firesim_clocking
123125
(

0 commit comments

Comments
 (0)