You are on page 1of 6

1

DEVELOPMENT TOOL FOR CONVERTING SPICE TO IBIS 4.1


(SPICE TO IBIS 4.1)
J.Pandikumar1, T.Kalavathi Devi 2
1
II ME (VLSI Design)
2
Lecturer, Department of ECE-PG
Kongu Engineering College, Perundurai, Erode.
palacepandi@yahoo.co.in, kalasakthi2003@yahoo.com
ABSTRACT
Traditionally SPICE models S2IBIS 3.2 have been developed. This
have been used for waveform and timing proposed project is an another
analysis. However this SPICE analysis development tool for converting SPICE
is inaccurate for high speed design to IBIS 4.1 model , which extends the
challenges such as onboard data rates, maximum number of points permitted in
cross talk, signal interference etc. There V-I and V-T tables (1000 Vs 100),
is no Protection of proprietary inclusion of independent validation data
information process parameters, circuit tables, external models that supports
design in SPICE. These limitations are VHDL AMS, Verilog AMS ,SPICE
overcome by the use of IBIS.IBIS models 3F5,which are not available in earlier
provide detailed signal integrity, versions like IBIS 3.2,IBIS2.1,IBIS 1.1.
timing analysis and large number of OVERVIEW OF AN IBIS FILE
simulations. It also used to simulate IBIS stands for I/O Buffer
processing variations due to R, L, C Information Specification. IBIS models
components, voltage, temperature, provide a standardized way of
effects of simultaneous switching output representing the electrical characteristics
noise and cross talk. Generating good of a digital IC’s pins (input, output, and
IBIS models is tedious and requires I/O buffers) behaviorally, i.e., without
significant effort. Correctly converting revealing the underlying circuit’s
transistor level models to IBIS is a structure or process information. The
complicated process. In recent years basic behavioral information in an IBIS
some SPICE to IBIS conversion tools model can be obtained either by direct
such as S2IBIS 1.1, S2IBIS 2.1 and measurement of the component or
2

transistor level simulation of the SPICE to IBIS conversion tools


component’s buffers. An IBIS file for the IBIS model 1.2, .2.1 and 3.2 were
contains, in a human readable ASCII developed .Conversion tool for the
format, the data required to model version above 3.2 is not available.
behaviorally a component’s input, output Additional features of IBIS 4.1over IBIS
and I/O buffers. Specifically, the data in 3.2.
an IBIS file is used to construct a buffer 1. Extends the maximum number of
model useful for performing signal points permitted in V-T tables (1000
integrity (SI) simulations and timing Vs 100).
analysis of printed circuit boards. The 2. Inclusion of independent validation
fundamental information needed to data tables.
perform these simulations is the buffer’s 3. External models that supports VHDL
V-I (voltage versus current) and AMS, Verilog AMS, SPICE 3f5.
switching V-T (output voltage versus STEPS TO CREATING AN IBIS
time) characteristics. The IBIS MODEL
specification does not define an There are five basic steps to
executable simulation model, it is a creating an IBIS model of a component:
standard for the formatting and transfers 1. Perform the pre-modeling activities.
of data. IBIS models are component- These include deciding the model’s
centric. That is, an IBIS file allows one complexity, determining the voltage,
to model an entire component, not just a temperature and process limits over
particular buffer. Therefore, in addition which the IC operates and the buffer
to the electrical characteristics of a model will be characterized, and
component’s buffers, an IBIS file obtaining the component related
includes the component’s pin-to-buffer (electrical characteristics and pin-
mapping, and the electrical parameters out) and use information about the
of the component’s package. component.
In recent years some versions 2. Obtain the electrical (I-V and
of IBIS models such as IBIS 1.1, IBIS switching response) data for output
1.2, IBIS 2.1, IBIS 3.2, IBIS 4.0 and or I/O buffers either by direct
IBIS 4.1 have been developed. measurement or by simulation.
3

3. Format the data into an IBIS file.


S2IBIS TOOL
PREMODELING An IBIS model can be generated
either 1) by measurement, which
requires having a well-controlled
EXTRACTING THE DATA environment and measurement devices
or 2) by using the SPICE generated
PUTTING DATA INTO AN IBIS netlist running multiple SPICE
FILE
simulations to get the necessary IV and
VT table data.
CREATING AN IBIS FILE SPICE to IBIS is software
written in C or java language that uses
the SPICE netlist of a buffer and
VALIDATING MODEL
generates its IBIS model. S2IBIS
conforms to IBIS specification. The user
CORRELATING THE DATA sets up an S2IBlS command file that
accepts the required user inputs to
generate the IBIS model of the buffer.
Figure 1 Steps to create IBIS
S2IBIS supports HSpice, PSpice, Spicel,
4. Check the file using IBISCHK4. If
Spice2, Spice3 and Spectre.
the model is generated from
S2IBlS generates the required VI
simulation data, validate the model
curves for the model these are the
by comparing the results from the
pullup, pulldown, power clamp and
original analog (transistor level)
ground clamp curves. The pullup and
model against the results of a
pulldown curves are for output models.
behavioral simulator that uses the
The clamp curves are derived for both
IBIS file as input data.
output and input models. It also
5. When the actual silicon is available
generates the VT curves for all output
(or if the model is from measured
models. These are the rising waveforms
data), compare the IBIS model data
and the falling waveforms. To derive all
to the measured data.
these curves, S2IBIS makes SPICE runs
4

with different settings and extracts the invoked. As soon as the SPICE output
relevant information from the SPICE files are created, they are examined for
output. any errors or aborts. If there is no error,
For each component that needs to be the VI and VT tables are extracted from
evaluated, the command file has a their respective files and formatted
header that provides all the default according to IBIS specification. The last
values such as the temperature range, step is to print the IBIS model into a file.
voltage range, all the reference values EXISTING TOOLS
and the packaging details. The command S2IBIS2 was written in C
file also provides the pin list that programmable language along with
describes which models connect to Lex and Yacc (for the purpose of
which pins and which pins serve as parsing the command file).As such,
inputs or enables for output pins. The different operating systems needed
command file also describes each model different versions of the tool.
specified in the pin list with the Moreover, S2IBIS2 could only
exception of the reserved model names generate IBIS V2.1 or lower generation
POWER, GROUND and NC. models only whereas IBIS itself had
evolved to Version 3.2. As such,
S2IBIS3 was developed. The
programming language used to develop
S2IBIS3 is Java which makes it platform
independent. S2IBIS3 is also backward
compatible to all versions of IBIS. The
next section describes how the VI and
Figure 2 S2IBIS TOOL FLOW VT tables are obtained using S2IBIS.
Above figure shows a block EXTRACTING I-V DATA FROM
diagram of the S2IBIS tool flow. The SIMULATIONS
parser grabs all the information that has The first step to extracting the
been passed by the user. The program required I-V tables understands the
then sets up all the file names and the buffer’s operation. Analyze the buffer
SPICE files that are run once SPICE is schematic and determine how to put the
5

buffer’s output into a logic low, logic


high and (if applicable) high impedance Clamp curves
(3-state) state. The schematic should Power and ground clamp curves
include any ESD or protection diodes. are derived for input models and the
Also, understand the buffer’s power output models with enable inputs. To
supply voltage reference (Vcc) find the power and ground clamp
requirements and connections. The curves for input models, S2IBIS
schematic should also indicate if the attaches a voltage source to the
power clamp and/or ground clamp diode associated pin and sweeps the voltage
structures are tied to voltage rails source. The current at each voltage point
(voltage references) different from those is recorded.
used by the pullup and/or pull down The sweep range for ground
transistors. clamp curves is (Vgnd - Vcc) to (Vgnd +
Vcc), and Vcc to 2*Vcc for power clamp
SIMULATION SETUP curves.
A typical I-V table simulation Pullup and Pulldown curves
setup for an output or I/O buffer is Pullup and pulldown curves are
shown in Figure3. For this example, the derived for output models only. For
buffer being analyzed is a standard 3- pullup and pulldown curves, S2IBIS
state buffer with a single push-pull attaches an input voltage source and an
output stage. The buffer uses output voltage source. The input voltage
electrostatic discharge protection devices is set so the output tries to drive high
in addition to its parasitic driver diodes. (for the pullup curve) or low (for the
pulldown curve). The output voltage is
swept from (Vgnd - Vcc) to 2* Vcc, and
the output current at each output voltage
is recorded.
Ramp rate Curves
Ramp rates are derived for all

Figure 3 Standard 3-state buffers (pull output models. To find the ramp rates,

down I-V Table Extraction) S2IBIS attaches the output pin of the
6

driver to the appropriate termination


voltage through the resistor Rload, and REFERENCES
provides the appropriate stimulus at the 1. Nandakumar G.N , Nirav Patel,
input. Raghunatha Reddy and Makeshwar
Rising and Falling waveform Kothandaraman (2005), ‘Application
Rising and Falling waveforms of Douglas-Peucker Algorithm to
are produced for output models when Generate Compact but Accurate IBIS
they are requested with the [Rising Models’, Proceedings of the 18th
Waveform] and [Falling waveform] International IEEE Conference on
commands. VLSI Design held jointly with 4th
International Conference on
CONCLUSION Embedded Systems Design
Generating good models is (VLSID’05).
difficult and requires significant effort. 2. Peivand F. Tchrani, Yuzhe Chen,
Correctly converting transistor level Jiayuan Fang (1996), ‘Extraction of
models to IBIS is a complicated process. Transient Behavioral Model of
In recent years some SPICE to IBIS Digital I/O Buffers from IBIS’, 46th
conversion tools such as S2IBIS 1.1, IEEE Electronic Components &
S2IBIS 2.1 and S2IBIS 3.2 have been Technology Conference, Orlando, pp
developed. This SPICE to IBIS 4.1 1009-1015.
model conversion tool which is under 3. The IBIS Open Forum (2005). ‘IBIS
development includes advantages like modeling cookbook for IBIS version
maximum number of points permitted in 4.0’.
V-T tables (1000 Vs 100), inclusion of 4. Ambrish Varma. Alan Glaser. Steve
independent validation data tables, Lipa, Michael Steer, Paul Franzon
external models that supports VHDL (2003), ‘The development of a
AMS, Verilog AMS ,SPICE 3f5 ,which Macro-modeling tool to develop
are not available in earlier versions like IBIS models’, International IEEE
IBIS 3.2,IBIS2.1,IBIS 1.1. Conference on VLSI Design.

You might also like