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.

hspice file handling operations

Status
Not open for further replies.

rajee

Newbie level 5
Newbie level 5
Joined
Dec 30, 2005
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,336
Whether we can call a .sp file inside another hspice
file other than model parameters. If so how to do that.
 

If I am having nand gate file and if have to call inverter file from outside, along with .include command how I can use the inverter file inside the nand file.
 

Code:
.inc "full_path_to_inverter_file_name"

Inside your NAND-file you call an inverter e.g. by

Code:
Xinv1 in-node out-node INV wp=3u wn=1u

... if your inverter definition or subcell/macro is INV . wp/wn may be specified depending on the subcell definition.
 
Last edited:
  • Like
Reactions: rajee

    rajee

    Points: 2
    Helpful Answer Positive Rating
Code:
.inc "full_path_to_inverter_file_name"

Inside your NAND-file you call an inverter e.g. by

Code:
Xinv1 in-node out-node INV wp=3u wn=1u

... if your inverter definition or subcell/macro is INV . wp/wn may be specified depending on the subcell definition.


I am not having subcell or macro . Iam having only a inverter file with t he name inverter.sp. whether I have to make the inverter with subcircuit model and give the subcell name?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top