diff options
Diffstat (limited to 'tests/sim/dffe.v')
-rw-r--r-- | tests/sim/dffe.v | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/sim/dffe.v b/tests/sim/dffe.v new file mode 100644 index 000000000..853fcf66a --- /dev/null +++ b/tests/sim/dffe.v @@ -0,0 +1,5 @@ +module dffe( input clk, en, d, output reg q ); + always @( posedge clk ) + if ( en ) + q <= d; +endmodule |