mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-05 19:00:26 +00:00
presentation progress
This commit is contained in:
parent
9d0b69edaa
commit
982c9da011
19 changed files with 199 additions and 45 deletions
19
manual/PRESENTATION_ExSyn/opt_04.v
Normal file
19
manual/PRESENTATION_ExSyn/opt_04.v
Normal file
|
@ -0,0 +1,19 @@
|
|||
module test(input CLK, ARST,
|
||||
output [7:0] Q1, Q2, Q3);
|
||||
|
||||
wire NO_CLK = 0;
|
||||
|
||||
always @(posedge CLK, posedge ARST)
|
||||
if (ARST)
|
||||
Q1 <= 42;
|
||||
|
||||
always @(posedge NO_CLK, posedge ARST)
|
||||
if (ARST)
|
||||
Q2 <= 42;
|
||||
else
|
||||
Q2 <= 23;
|
||||
|
||||
always @(posedge CLK)
|
||||
Q3 <= 42;
|
||||
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue