3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-30 23:10:09 +00:00

cxxrtl: WIP: adjust comb display cells to only fire on change

Naming and use of statics to be possibly revised.
This commit is contained in:
Charlotte 2023-06-28 11:51:30 +10:00 committed by Marcelina Kościelnicka
parent 7f7c61c9f0
commit 843ad9331b
8 changed files with 95 additions and 16 deletions

View file

@ -8,8 +8,6 @@ module always_full(input clk, output reg fin);
if (counter == 0) fin <= 0;
if (counter == 1) $display("<<<BEGIN>>>");
if (counter == 2) $display("==> small unsigned %%d");
if (counter == 3) $display(":%d:", 16'haa);
if (counter == 4) $display(":%-d:", 16'haa);
@ -239,10 +237,7 @@ module always_full(input clk, output reg fin);
if (counter == 207) $display("==> write/format");
if (counter == 208) $display("%d", 1, "%d", 1);
if (counter == 209) begin
$display("<<<END>>>");
fin <= 1;
end
if (counter == 209) fin <= 1;
end