correct whitespace
Signed-off-by: Matthew Ballance <matt.ballance@gmail.com>
This commit is contained in:
parent
ce17da9a58
commit
f55f30e025
|
|
@ -12,17 +12,17 @@
|
||||||
// (requires --public-flat-rw).
|
// (requires --public-flat-rw).
|
||||||
module t;
|
module t;
|
||||||
|
|
||||||
reg clk /*verilator public_flat_rw*/;
|
reg clk /*verilator public_flat_rw*/;
|
||||||
reg [31:0] count /*verilator public_flat_rw*/;
|
reg [31:0] count /*verilator public_flat_rw*/;
|
||||||
|
|
||||||
initial begin
|
initial begin
|
||||||
clk = 0;
|
clk = 0;
|
||||||
count = 0;
|
count = 0;
|
||||||
end
|
end
|
||||||
|
|
||||||
// Self-driving clock: the design itself keeps the simulation alive
|
// Self-driving clock: the design itself keeps the simulation alive
|
||||||
always #5 clk = ~clk;
|
always #5 clk = ~clk;
|
||||||
|
|
||||||
always @(posedge clk) count <= count + 1;
|
always @(posedge clk) count <= count + 1;
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue