mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-11 21:50:54 +00:00
Unify verilog style
This commit is contained in:
parent
12383f37b2
commit
9bd9db56c8
11 changed files with 153 additions and 187 deletions
|
@ -1,17 +1,11 @@
|
|||
module top (
|
||||
out,
|
||||
clk,
|
||||
reset
|
||||
);
|
||||
module top ( out, clk, reset );
|
||||
output [7:0] out;
|
||||
input clk, reset;
|
||||
reg [7:0] out;
|
||||
|
||||
always @(posedge clk, posedge reset)
|
||||
if (reset) begin
|
||||
out <= 8'b0 ;
|
||||
end else
|
||||
out <= out + 1;
|
||||
|
||||
|
||||
if (reset)
|
||||
out <= 8'b0;
|
||||
end
|
||||
out <= out + 1;
|
||||
endmodule
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue