aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/utils/rfnoc_blocktool/templates/modules/axis_data_wires_template.mako8
-rw-r--r--host/utils/rfnoc_blocktool/templates/noc_shell_template.v.mako2
2 files changed, 5 insertions, 5 deletions
diff --git a/host/utils/rfnoc_blocktool/templates/modules/axis_data_wires_template.mako b/host/utils/rfnoc_blocktool/templates/modules/axis_data_wires_template.mako
index 4d3c719ae..9b33b84d1 100644
--- a/host/utils/rfnoc_blocktool/templates/modules/axis_data_wires_template.mako
+++ b/host/utils/rfnoc_blocktool/templates/modules/axis_data_wires_template.mako
@@ -28,7 +28,7 @@
${out_wire}wire [${num_ports}-1:0] ${ma_pre}${port_name}_axis_tlast${term}
${out_wire}wire [${num_ports}-1:0] ${ma_pre}${port_name}_axis_tvalid${term}
${in_wire}wire [${num_ports}-1:0] ${ma_pre}${port_name}_axis_tready${term}
- ${out_wire}wire [${num_ports}*CHDR_W-1:0] ${ma_pre}${port_name}_axis_ttimestamp${term}
+ ${out_wire}wire [${num_ports}*64-1:0] ${ma_pre}${port_name}_axis_ttimestamp${term}
${out_wire}wire [${num_ports}-1:0] ${ma_pre}${port_name}_axis_thas_time${term}
${out_wire}wire [${num_ports}*16-1:0] ${ma_pre}${port_name}_axis_tlength${term}
${out_wire}wire [${num_ports}-1:0] ${ma_pre}${port_name}_axis_teov${term}
@@ -40,7 +40,7 @@
${out_wire}wire ${ma_pre}${port_name}_axis_tlast${term}
${out_wire}wire ${ma_pre}${port_name}_axis_tvalid${term}
${in_wire}wire ${ma_pre}${port_name}_axis_tready${term}
- ${out_wire}wire [CHDR_W-1:0] ${ma_pre}${port_name}_axis_ttimestamp${term}
+ ${out_wire}wire [63:0] ${ma_pre}${port_name}_axis_ttimestamp${term}
${out_wire}wire ${ma_pre}${port_name}_axis_thas_time${term}
${out_wire}wire [15:0] ${ma_pre}${port_name}_axis_tlength${term}
${out_wire}wire ${ma_pre}${port_name}_axis_teov${term}
@@ -59,7 +59,7 @@
${in_wire}wire [${num_ports}-1:0] ${sl_pre}${port_name}_axis_tlast${term}
${in_wire}wire [${num_ports}-1:0] ${sl_pre}${port_name}_axis_tvalid${term}
${out_wire}wire [${num_ports}-1:0] ${sl_pre}${port_name}_axis_tready${term}
- ${in_wire}wire [${num_ports}*CHDR_W-1:0] ${sl_pre}${port_name}_axis_ttimestamp${term}
+ ${in_wire}wire [${num_ports}*64-1:0] ${sl_pre}${port_name}_axis_ttimestamp${term}
${in_wire}wire [${num_ports}-1:0] ${sl_pre}${port_name}_axis_thas_time${term}
${in_wire}wire [${num_ports}-1:0] ${sl_pre}${port_name}_axis_teov${term}
${in_wire}wire [${num_ports}-1:0] ${sl_pre}${port_name}_axis_teob${term if (term == ";") or (idx < num_inputs - 1) else ""}
@@ -70,7 +70,7 @@
${in_wire}wire ${sl_pre}${port_name}_axis_tlast${term}
${in_wire}wire ${sl_pre}${port_name}_axis_tvalid${term}
${out_wire}wire ${sl_pre}${port_name}_axis_tready${term}
- ${in_wire}wire [CHDR_W-1:0] ${sl_pre}${port_name}_axis_ttimestamp${term}
+ ${in_wire}wire [63:0] ${sl_pre}${port_name}_axis_ttimestamp${term}
${in_wire}wire ${sl_pre}${port_name}_axis_thas_time${term}
${in_wire}wire ${sl_pre}${port_name}_axis_teov${term}
${in_wire}wire ${sl_pre}${port_name}_axis_teob${term if (term == ";") or (idx < num_outputs - 1) else ""}
diff --git a/host/utils/rfnoc_blocktool/templates/noc_shell_template.v.mako b/host/utils/rfnoc_blocktool/templates/noc_shell_template.v.mako
index ec7fdec87..f656a0de1 100644
--- a/host/utils/rfnoc_blocktool/templates/noc_shell_template.v.mako
+++ b/host/utils/rfnoc_blocktool/templates/noc_shell_template.v.mako
@@ -163,7 +163,7 @@ module noc_shell_${config['module_name']} #(
);
pulse_stretch_min #(.LENGTH(32)) pulse_stretch_min_${clock['name']} (
- .clk(rfnoc_ctrl_clk), .rst(1'b0),
+ .clk(${clock['name']}_clk), .rst(1'b0),
.pulse_in(${clock['name']}_rst_pulse), .pulse_out(${clock['name']}_rst)
);