Latest Post
VLSI: NAND Gate Dataflow Modelling with Testbench
- Get link
- X
- Other Apps
Verilog Code for NAND gate Dataflow Modelling
module NANDgate(
input a,
input b,
output c
);
assign c = ~ (a & b);
endmodule
//Testbench code for NAND gate Dataflow Modelling
initial begin
//
Initialize Inputs
a
= 0;b = 0;
// Wait 100
ns for global reset to finish
#100
a = 0; b = 1;
#100
a = 1; b = 0;
#100
a = 1; b = 1;
Output:
- Get link
- X
- Other Apps

Comments
Post a Comment