mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-02 08:10:46 +00:00
Added Yosys Manual
This commit is contained in:
parent
3650fd7fbe
commit
61ed6b32d1
48 changed files with 7949 additions and 1 deletions
12
manual/FILES_StateOfTheArt/always01.v
Normal file
12
manual/FILES_StateOfTheArt/always01.v
Normal file
|
@ -0,0 +1,12 @@
|
|||
module uut_always01(clock, reset, c3, c2, c1, c0);
|
||||
|
||||
input clock, reset;
|
||||
output c3, c2, c1, c0;
|
||||
reg [3:0] count;
|
||||
|
||||
assign {c3, c2, c1, c0} = count;
|
||||
|
||||
always @(posedge clock)
|
||||
count <= reset ? 0 : count + 1;
|
||||
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue