alexdeus
Newbie level 5
Hello to all, i have posted this thread in the other section, but i think this is the right section of forum.
I have a problem in digital circuit analysis.
I have Verilog-A models of cnfet transistor, and i wish analyze elementary logic cells with HSPICE.
The problem is that with Verilog A models, i cannot use the .meas POWER() statement for determining power consuption of the cell.
Does anyone know how can i do this in the hspice netlist of my circuit?
HSPICE manual is not helpful.
I just thought to probe the supply avg or rms current, then i multiply this value of current per supply voltage, i think that in this way i can obtain the total avg or rms power of the cell.
I mean:
.MEAS TRAN IDDAVG AVG I(VDD)
.MEAS TRAN IDDRMS RMS I(VDD)
.MEAS POWERTOTRMS PARAM='IDDRMS*V(VDD)' *total RMS power of the cell
.MEAS POWERTOTAVG PARAM='IDDAVG*V(VDD)' *total AVG power of the cell
instead of:
.MEAS TRAN POWERTOTAVG AVG POWER *total AVG power of the cell
.MEAS TRAN POWERTOTRMS RMS POWER *total RMS power of the cell
What do you think about this? Do you think it can be a correct value?
Thank you very much,
Alessandro
I have a problem in digital circuit analysis.
I have Verilog-A models of cnfet transistor, and i wish analyze elementary logic cells with HSPICE.
The problem is that with Verilog A models, i cannot use the .meas POWER() statement for determining power consuption of the cell.
Does anyone know how can i do this in the hspice netlist of my circuit?
HSPICE manual is not helpful.
I just thought to probe the supply avg or rms current, then i multiply this value of current per supply voltage, i think that in this way i can obtain the total avg or rms power of the cell.
I mean:
.MEAS TRAN IDDAVG AVG I(VDD)
.MEAS TRAN IDDRMS RMS I(VDD)
.MEAS POWERTOTRMS PARAM='IDDRMS*V(VDD)' *total RMS power of the cell
.MEAS POWERTOTAVG PARAM='IDDAVG*V(VDD)' *total AVG power of the cell
instead of:
.MEAS TRAN POWERTOTAVG AVG POWER *total AVG power of the cell
.MEAS TRAN POWERTOTRMS RMS POWER *total RMS power of the cell
What do you think about this? Do you think it can be a correct value?
Thank you very much,
Alessandro