Archived
1
0

created predefined gates in verilog

This commit is contained in:
Erick
2022-02-22 13:06:51 +01:00
parent 4cbdd294fb
commit 2fde4d5bf5
7 changed files with 84 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
include "or_gate.v"
include "not_gate.v"
module nor_gate(a, b, y);
input a, b;
output y;
logic sel;
always @ (a or b)begin
or_gate(a, b, sel);
not_gate(sel, y);
end
endmodule