Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

difference between subcircuit and model

Status
Not open for further replies.

whitchurch85

Junior Member level 2
Joined
Mar 9, 2010
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
US/India
Activity points
1,430
hi,

i would like to know what is the difference between a subcitcuit .X and a .Model definition in hspice.

thanks
 

A .model is for one of the pre-defined devices such as NMOS, NPN etc. A subcircuit is usually a combination of devices which may include dozens or even hundreds odds devices.

Keith
 
Thanks Keith,

So a subcircuit can be made up of lots of .model elements. whereas a .model is the basic fundamental element.
A .model is for one of the pre-defined devices such as NMOS, NPN etc. A subcircuit is usually a combination of devices which may include dozens or even hundreds odds devices.

Keith
 

Correct. It can be confusing sometimes because some foundries create subcircuits with just a model in them. I think this is just to do with parameter passing.

Subcircuits are useful for breaking down large circuits. A large circuit might have a few opamps, comparators, a DAC etc. Each of the building blocks can be designed and tested as a subcircuit and then included in the larger design.

Keith
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top