async_reg: Clean up some funky indentation
This commit is contained in:
parent
4f45379863
commit
81890e3a42
@ -49,18 +49,18 @@ module AsyncResetReg (
|
|||||||
integer initvar;
|
integer initvar;
|
||||||
reg [31:0] _RAND;
|
reg [31:0] _RAND;
|
||||||
initial begin
|
initial begin
|
||||||
`ifndef verilator
|
`ifndef verilator
|
||||||
#0.002 begin end
|
#0.002 begin end
|
||||||
`endif
|
`endif
|
||||||
`ifdef RANDOMIZE_REG_INIT
|
`ifdef RANDOMIZE_REG_INIT
|
||||||
_RAND = {1{$random}};
|
_RAND = {1{$random}};
|
||||||
q = _RAND[0];
|
q = _RAND[0];
|
||||||
`endif
|
`endif
|
||||||
end
|
end
|
||||||
`endif // `ifdef RANDOMIZE
|
`endif // `ifdef RANDOMIZE
|
||||||
|
|
||||||
always @(posedge clk or posedge rst) begin
|
always @(posedge clk or posedge rst) begin
|
||||||
|
|
||||||
if (rst) begin
|
if (rst) begin
|
||||||
q <= 1'b0;
|
q <= 1'b0;
|
||||||
end else if (en) begin
|
end else if (en) begin
|
||||||
@ -68,6 +68,5 @@ module AsyncResetReg (
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
endmodule // AsyncResetReg
|
endmodule // AsyncResetReg
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user