Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subcircuits in HSpice netlist?

Working on Hspice first time so please bear with me. I need to write netlist for CMOS And gate. Currently, I had finished writing and testing of CMOS-Nand & inverter part.

1. CMOS Nand Gate enter image description here

2. Cmos inverter enter image description here

I know to to implement AND gate, I need to to connect output of NAND gate to the input of inverter.

I know that I can define NAND and Inverter as my subcircuits. But in this approach I need to wirte down their code in the subckt part which will increase the complexity of netlist.

My question is that is any other way so that I can directly use the above written netlist or write the subckts in other file and import them?

like image 331
Virange Avatar asked Dec 09 '15 18:12

Virange


People also ask

What is hspice netlist?

HSPICE is just a program that takes in a netlist (a simple text file), containing a circuit description and. analysis options, and outputs the analysis it has done on that circuit. An HSPICE netlist typically has a. .sp extension, for example circuit.sp. Although HSPICE produces many output files, the only one that.

What is GMIN in hspice?

A.2.1.2 Gmin A very small conductance added across nonlinear devices to prevent. nodes from floating if a device is turned completely off. By default, gmin=10. −12U.

What is sweep in Hspice?

Parameter sweeping is a powerful way of generating multiple simulation by varying the value of one particular parameter.

How does hspice calculate delay?

tLH: delay from input 50% to output 50% when output is rising. tHL: delay from input 50% to output 50% when output is falling. Measuring Average power for a period by HSPICE. Energy E = Vdd * Iavg * (end Time - start Time) .


1 Answers

As mentioned in the above comment we can write subcircuits(or any other part of netlist) in a different file(.txt) to reduce the length of your .sp file.

e.g, I had specified the subcircuit in a different script and included it as:

.include "/misc1/analog1/Sehwag_final/scl180_analog/netlist/puf/puf_script/script_3.txt"

like image 184
Virange Avatar answered Jan 02 '23 10:01

Virange