need help on IBIS to spice conversion...

Status
Not open for further replies.

ssankurathri

Full Member level 3
Joined
Mar 16, 2006
Messages
186
Helped
14
Reputation
28
Reaction score
5
Trophy points
1,298
Location
Bangalore
Activity points
2,401
hi

I am working for the first time with IBIS models. I found the ibis version of model and converted into spice model. the spice model looks like:

.subckt IO_01_T 100 4 300 400 500
*Connections Input Output VCC VEE Enable
** Referenced by:
** IO-1, IO-2, IO-3, IO-4, IO-6
** IO-7, IO-8, IO-9, IO-10, IO-11
** IO-12, IO-13, IO-14, IO-15, IO-16
** IO-17, IO-18, IO-19, IO-20, IO-22
** IO-23, IO-24, IO_25, IO_27, IO_28
** IO_29, IO_30, IO_32, IO_33, IO_34
** IO_35, IO_36, IO_37, IO_39, IO_40
** IO_41, IO_42, IO_43, TDI, IO_46
** TMS, TCK, IO_49, IO_50, IO_52
** IO_53, IO_54, IO_55, IO_56, IO_58
** IO_59, IO_60, IO_61, IO_63, IO_64
** IO_65, IO_66, IO_67, IO_68, IO_70
** IO_71, IO_72, IO_73, IO_74, IO_76
** IO_77, IO_78, IO_79, IO_80, IO_81
** IO_82, TDO, IO_85, IO_86, IO_87
** IO_89, IO_90, IO_91, IO_92, IO_93
** IO_94, IO_95, IO_96, IO_97, IO_99

*Model Version; typical
*DEFINE {RTF}= 45.095k ;1.366/0.616n
*DEFINE {RTR}= 36.282k ;1.221/0.443n
* Input Control
B1 820 0 V=V(100) & V(500)
B2 830 0 V= V(500) & ~V(100)
* Up and Down Ramps
*B3 300 850 I= V(830) > 1.2 ? 0 : V(300,850) / {RTR}
RB3 300 850 100MEG
*B4 840 400 I= V(820) > 1.2 ? 0 : V(840,400) / {RTF}
RB4 840 400 100MEG
C1 300 850 .01P
C2 840 400 .01P
S1 220 850 0 820 SMOD
S2 840 220 0 830 SMOD
.model SMOD SW RON=.1M ROFF=1E15 VT=-1.2 VH=.1
G1 8 400 2 8 1
R1 6 400 1
G2 300 8 8 3 1
R2 300 6 1
* Pull-up/Pull-down structures; typical
XPULL_DOWN 2 400 8 840 PULL_DOWN
XPULL_UP 3 300 850 8 PULL_UP
* Diode Clamps
XPOWER_CLAMP 6 300 300 6 POWER_CLAMP
XGND_CLAMP 6 400 6 400 GND_CLAMP
* Package Parasitics: typical
ROSNB 5 1 100
ROPKG 1 4 84.800m
COPKG 4 400 0.550pF
CCOMP 5 400 6.700pF
LOPKG 5 1 5.200nH
* Voltage Sources for measuring currents
*V5 6 5
*V6 8 6
*V7 220 8
.ENDS

.SUBCKT GND_CLAMP 3 4 1 2
* Connections Out+ Out In+ In
*AGndClamp %vd(1,2) %id(3,4) transfer
.model transfer pwl
+ fraction = FALSE, input_domain = 0.0, xy_array = [
+ -4.300 , -155.000m
+ -3.300 , -155.000m
+ -3.200 , -149.000m
+ -3.100 , -143.000m
+ -3.000 , -137.000m
+ -2.900 , -131.000m
+ -2.800 , -125.000m
+ -2.700 , -119.000m
+ -2.600 , -113.000m
+ -2.500 , -106.000m
+ -2.400 , -100.000m
+ -2.300 , -94.120m
--------------------------------------

The spice subcircuit consists of several subcircuits as shown above. Only one subckt is taken into consideration for simulation.
How to simulate multipel subckts in a single spice file?
any help on this would be much appreciated.

Regards
skr

Added after 2 hours 34 minutes:

hi
can anyone plz suggest what is the best ibis to pspice converter available?

Regards
skr

Added after 1 hours 38 minutes:

hi

does anyone have any idea on this following code functionality

.SUBCKT PULL_DOWN 3 4 1 2
* Connections Out+ Out In+ In
APullDown %vd(1,2) %vd(3,4) transfer
.model transfer pwl fraction = FALSE, input_domain = 0.0, xy_array = [ -4.300 ,
+ -57.200m -3.300 , -57.200m -3.100 , -56.300m -2.900 , -55.300m -2.700 ,.....

Regards,
skr
 

This PULL_DOWN sub-circuit is implemented as a TABLE model. Its PSpice equivalent would be an E Device with TABLE model, but the syntax is slightly different.
Please update if you still have a problem - I can fix the model and upload.

.. Abha

Added after 3 minutes:

Replace your template.mdl with this file to get a PSPICE-friendly model.
https://www.orcad.com/forums/ShowPost.aspx?PostID=13400

Also, check out **broken link removed**

.. Abha
 

Hi,

I replaced my template file with what you have mentioned. I am using intusoft IBIS2SPICE converter. when I try to generate spice model, it tries to save it as .LIB file. I am changing it to .MDL and saving it. The .MDL file consists of several subcircuits as shown above. Only one subckt is taken into consideration for simulation.
How to simulate multipel subckts in a single spice file?

Regards,
skr
 

Hi,

can anyone please look into this? I need help on converting IBIS to Spice.

Regards,
skr
 

Hi,

can anyone please look into this? I need help on converting IBIS to Spice.

Regards,
skr


Hi, I sent you private message, please have a look. I got same problem like you have.
 

Hi Shaqyao,
If you could post your problem, I might be able to suggest a solution for you.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…