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,8 +1,8 @@
|
|||
module tristate (en, i, o);
|
||||
module tristate(en, i, o);
|
||||
input en;
|
||||
input i;
|
||||
output reg o;
|
||||
|
||||
|
||||
always @(en or i)
|
||||
o <= (en)? i : 1'bZ;
|
||||
o <= (en)? i : 1'bZ;
|
||||
endmodule
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue