diff options
Diffstat (limited to 'manual/FILES_StateOfTheArt/always01_pub.v')
-rw-r--r-- | manual/FILES_StateOfTheArt/always01_pub.v | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/manual/FILES_StateOfTheArt/always01_pub.v b/manual/FILES_StateOfTheArt/always01_pub.v new file mode 100644 index 000000000..6a6a4b231 --- /dev/null +++ b/manual/FILES_StateOfTheArt/always01_pub.v @@ -0,0 +1,14 @@ +module uut_always01(clock, + reset, count); + +input clock, reset; +output [3:0] count; +reg [3:0] count; + +always @(posedge clock) + count <= reset ? + 0 : count + 1; + + + +endmodule |