3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-02 04:27:53 +00:00

verilog_backend: emit sync $print cells with same triggers together

Sort by PRIORITY, ensuring output order.
This commit is contained in:
Charlotte 2023-06-28 11:51:32 +10:00 committed by Marcelina Kościelnicka
parent f9d38253c5
commit 04582f2fb7
5 changed files with 297 additions and 274 deletions

View file

@ -1,14 +1,12 @@
module always_full_tb;
reg clk = 0;
wire fin;
always_full uut (.clk(clk), .fin(fin));
always_full uut (.clk(clk));
always begin
#1 clk <= ~clk;
if (fin) $finish;
#1 $finish;
end
endmodule