kvnsmnsn
Junior Member level 1

I've turned my attention to timing my project. Last December I finished taking VLSI Design at Utah Valley University. On page 155 of the textbook, CMOS VLSI Design: A Circuits and Systems Perspective, by Neil Weste and David Harris, it says a rough estimate of the delay of a gate can be expressed as (d = f + p) and (f = gh) where (p) is the parasitic delay, (g) is the logical effort, and (h) is the electrical effort. Page 156 says that (g) for a two-input NAND gate is 4/3, and (p) is 2. (h) is defined as the output capacitance divided by the input capacitance. The charts on page 156 and 157 give me enough information to calculate the parasitic delay (p) and the logical effort (g), and I can use those values in Verilog to calculate most of what I need for a delay for a gate (like a two-input NAND or a two-input NOR), but how do I calculate (h)? How can I look at my Verilog code and figure out what the output capacitance and the input capacitance is so that I can divide the former by the latter?