hspice file handling operations

Status
Not open for further replies.

rajee

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:
Reactions: rajee

    rajee

    Points: 2
    Helpful Answer Positive Rating


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

Cookies are required to use this site. You must accept them to continue using the site. Learn more…