mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-23 11:37:55 +00:00
Renamed manual/FILES_* directories
This commit is contained in:
parent
842ca2f011
commit
2cb47355d4
29 changed files with 9 additions and 9 deletions
12
manual/CHAPTER_StateOfTheArt/always01.v
Normal file
12
manual/CHAPTER_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