lapinuelle / PetriLogicSimulatorProject

Logic simulator based on Petri Nets Algorithm
0 stars 0 forks source link

beh : reg #26

Closed TopGun-DICD closed 6 years ago

TopGun-DICD commented 6 years ago

module inv(in, out); reg out; input in; output out;

always @in begin if(in == 0) begin out = 1; end if(in == 1) begin out = 0; end end endmodule

lapinuelle commented 6 years ago

Done