mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-03 16:48:07 +00:00
verific: import attributes on ports
Co-authored-by: Miodrag Milanović <mmicko@gmail.com>
This commit is contained in:
parent
1b6d1e9419
commit
833b67af80
3 changed files with 10 additions and 5 deletions
|
@ -26,9 +26,9 @@ reg [DEPTH_LOG2-1:0] counter = 0;
|
|||
reg done = 1'b0;
|
||||
always @(posedge clk) begin
|
||||
if (!done)
|
||||
counter = counter + 1;
|
||||
counter = counter + 1'b1;
|
||||
if (counter == 0)
|
||||
done = 1;
|
||||
done = 1'b1;
|
||||
end
|
||||
|
||||
wire [WIDTH-1:0] old_data = PRIME1 * counter;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue