mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-31 15:24:57 +00:00
verilog_backend: emit sync $print
cells with same triggers together
Sort by PRIORITY, ensuring output order.
This commit is contained in:
parent
f9d38253c5
commit
04582f2fb7
5 changed files with 297 additions and 274 deletions
|
@ -4,12 +4,7 @@
|
|||
int main()
|
||||
{
|
||||
cxxrtl_design::p_always__full uut;
|
||||
|
||||
while (true) {
|
||||
uut.p_clk.set(!uut.p_clk);
|
||||
uut.step();
|
||||
|
||||
if (uut.p_fin.get<bool>())
|
||||
return 0;
|
||||
}
|
||||
uut.p_clk.set(!uut.p_clk);
|
||||
uut.step();
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue