Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

gate delays

Altera_Forum
Honored Contributor II
1,194 Views

Hi, 

I need to implement a boolean function using nand and nor gates , 

and the gates should have 20ns delays. How should I change the following verilog code? 

and how could I simulate the results? 

is it possible to manually adjust the gate delays? 

 

module nand ( a,b,c); 

input a,b; 

output c; 

nand(c,a,b); 

endmodule 

 

does# 20 nand(c,a,b) work?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
437 Views

First of all, that code is verilog, not VHDL. 

 

Secondly, you'll need to register it to get a 20ns delay (with 50Mhz clock)
0 Kudos
Reply