Prev Problem
Next Problem

36. 4-Input NAND Gate Primitive

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

 

Code

// 4-Input NAND Gate using Verilog Primitive
module nand4_prim (
  input  wire a, 
  input  wire b, 
  input  wire c, 
  input  wire d, 
  output wire y
);

  // Instantiate built-in nand primitive
  nand (y, a, b, c, d);

endmodule

 

Was this helpful?
Upvote
Downvote