aboutsummaryrefslogtreecommitdiffstats
path: root/tests/arch/common/dffs.v
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arch/common/dffs.v')
-rw-r--r--tests/arch/common/dffs.v18
1 files changed, 8 insertions, 10 deletions
diff --git a/tests/arch/common/dffs.v b/tests/arch/common/dffs.v
index 3418787c9..636252d16 100644
--- a/tests/arch/common/dffs.v
+++ b/tests/arch/common/dffs.v
@@ -1,15 +1,13 @@
-module dff
- ( input d, clk, output reg q );
- always @( posedge clk )
- q <= d;
+module dff ( input d, clk, output reg q );
+ always @( posedge clk )
+ q <= d;
endmodule
-module dffe
- ( input d, clk, en, output reg q );
+module dffe( input d, clk, en, output reg q );
initial begin
- q = 0;
+ q = 0;
end
- always @( posedge clk )
- if ( en )
- q <= d;
+ always @( posedge clk )
+ if ( en )
+ q <= d;
endmodule