An attempt was made to fix errors with this. There is an issue with either branching and/or register dependencies

This commit is contained in:
riley committed 2026-11-12 16:06:49 +11:00
1 parent 6191f51672
commit aee68f4664
5 files changed
+61 -92

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ module gatereg #(width, ndelay=1)(
logic [2**width-1:0] hold_value[ndelay];
assign out = hold_value[ndelay-1];
always_ff @( posedge clk ) begin
always_ff @( posedge clk or posedge rst) begin
if (rst) begin
for (integer i = 0; i < ndelay; ++i) begin
hold_value[i] <= {(2**width){1'b0}};