matin-kh
Member level 3
- Joined
- Nov 9, 2013
- Messages
- 67
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- iran
- Activity points
- 1,955
View attachment mm018.txt
hi every one
I want to simulate a circuit in hspice and i want to use 0.18 cmos tech that i attached it but i have two question i would be happy if you coul help me :wink:
1- for describing a nmos transistor i use this style:
M1 vout1 vin+ 1 1 NMOS W=10u L=0.5u m=1
the NMOS in the middle of text show the model of transistor but in the mm018.l when it describing models with .model we don't have NMOS for example we have NMOS.0 instead but wehn i use the phrase above it doesn't make me error!!:-| what is the story behind it??
2- as the bjt transistors are defined in mm018.l I want to use npn transistor in my circuit but i don't know how to write it, i write it like below:
Q1 6 vctrl GND npn
but it doesn't work and errors it seems i have to add parameters of npn transistor but i don't know the parameters could you please tell me how can i get the parameters i have no idea about this!!:???:
thanks
matin
excuse me for my bad english my english is not good enough :wink:
hi every one
I want to simulate a circuit in hspice and i want to use 0.18 cmos tech that i attached it but i have two question i would be happy if you coul help me :wink:
1- for describing a nmos transistor i use this style:
M1 vout1 vin+ 1 1 NMOS W=10u L=0.5u m=1
the NMOS in the middle of text show the model of transistor but in the mm018.l when it describing models with .model we don't have NMOS for example we have NMOS.0 instead but wehn i use the phrase above it doesn't make me error!!:-| what is the story behind it??
2- as the bjt transistors are defined in mm018.l I want to use npn transistor in my circuit but i don't know how to write it, i write it like below:
Q1 6 vctrl GND npn
but it doesn't work and errors it seems i have to add parameters of npn transistor but i don't know the parameters could you please tell me how can i get the parameters i have no idea about this!!:???:
thanks
matin
excuse me for my bad english my english is not good enough :wink: