formatter test
This commit is contained in:
1 parent
f0551ce34f
commit
6f6f491135
2 files changed
+16
-3
No files matched your search
@@ -1,7 +1,7 @@
|
||||
module andGate (
|
||||
input wire A_i,
|
||||
input wire B_i,
|
||||
output wire Y_o
|
||||
input wire A_i,
|
||||
input wire B_i,
|
||||
output wire Y_o
|
||||
);
|
||||
|
||||
wire nand_out;
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
module andGate (
|
||||
input wire A_i,
|
||||
input wire B_i,
|
||||
output wire Y_o
|
||||
);
|
||||
|
||||
wire nand_out;
|
||||
|
||||
nand nand1 ( nand_out, A_i, B_i );
|
||||
nand nand2 ( Y_o, nand_out, nand_out );
|
||||
|
||||
endmodule
|
||||
|
||||
Reference in new issue
Block a user