summaryrefslogtreecommitdiff
path: root/techlibs/cmos/counter.v
diff options
context:
space:
mode:
Diffstat (limited to 'techlibs/cmos/counter.v')
-rw-r--r--techlibs/cmos/counter.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/techlibs/cmos/counter.v b/techlibs/cmos/counter.v
index 68b5c05b..f2165872 100644
--- a/techlibs/cmos/counter.v
+++ b/techlibs/cmos/counter.v
@@ -2,7 +2,7 @@ module counter (clk, rst, en, count);
input clk, rst, en;
output reg [2:0] count;
-
+
always @(posedge clk)
if (rst)
count <= 3'd0;