mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-28 02:09:24 +00:00
Added Yosys Manual
This commit is contained in:
parent
3650fd7fbe
commit
61ed6b32d1
48 changed files with 7949 additions and 1 deletions
15
manual/FILES_StateOfTheArt/always02.v
Normal file
15
manual/FILES_StateOfTheArt/always02.v
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
module uut_always02(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) begin
|
||||
count <= count + 1;
|
||||
if (reset)
|
||||
count <= 0;
|
||||
end
|
||||
|
||||
endmodule
|
||||
Loading…
Add table
Add a link
Reference in a new issue