kicad2ems.core.ibis

IBIS buffers for the time-domain question: a file's models read, and each as a
port's termination of the channel's macromodel (core.macromodel.simulate).

    lib = read('part.ibs')            # {model name: Buffer data}, lib.pins
    drv = Driver(lib.model('DQ_34'), bits, ui, corner='typ')
    rx = Receiver(lib.model('IN_DQ'))
    V, I = simulate(model, [drv, rx], t)

A buffer at its die (IBIS's behavioural model, version 3.2 to 7's tables):

    I into the buffer = Ku(t) Ipu(Vcc - V) + Kd(t) Ipd(V) + Igc(V) + Ipc(Vcc - V)
                        + C_comp dV/dt

the pull-up and power clamp tables read against their references (V below the
pull-up's), each table extended linearly past its ends. Ku and Kd, the
switching, come from the edge's V-T tables: with two fixtures an edge (to
ground and to the supply) the two equations at each time give both; with one,
or [Ramp] alone (a linear 20-80 % edge into R_load, to ground rising and to the
supply falling), Kd = 1 - Ku. The package, the pin's own where [Pin] gives it,
else [Package]'s: R_pkg and L_pkg in series from the die to the pin, C_pkg at
the pin. A new edge before the last has settled starts where its own Ku is the
present one (no step in the drive).

Left out: [Driver Schedule], [Submodel], [Series Pin Mapping], EBD and
[Model Spec]'s thresholds; ECL and open-drain/source buffers' references other
than the pull-up and pull-down; C_fixture and L_fixture beyond C_fixture's
current; the waveforms' R_dut, L_dut, C_dut.
class kicad2ems.core.ibis.Buffer(name)[source]
A [Model]'s data: kind (Model_type), polarity, params {name: (typ,
min, max)}, tables {'pulldown' | 'pullup' | 'gnd clamp' | 'power clamp':
(V, I (n, 3))}, waves {'rising' | 'falling': [dict(r, v (typ, min, max),
c, t, V (n, 3))]}, ramp {'r' | 'f': (dv, dt) per corner, 'r_load'}, refs
{'pullup' | 'pulldown' | 'power clamp' | 'gnd clamp' | 'voltage range':
(typ, min, max)}.
ref(which, corner='typ')[source]
A table's reference voltage: its own keyword's, else the supply
(pull-up, power clamp) or 0 (pull-down, ground clamp).
class kicad2ems.core.ibis.Driver(b, bits, ui, corner='typ', t0=0.0, package=None)[source]
An IBIS output (or I/O) driving `bits` (0 / 1) at `ui` (s) from t0
(s), the first bit held from t = 0 to it (the die, the package and the
channel start at rest: hold it long enough to settle). corner: typ, min
or max. A termination for core.macromodel.simulate.
settle_time()[source]
The longer edge's table (s): a UI shorter than it truncates it.
exception kicad2ems.core.ibis.IbisError[source]
class kicad2ems.core.ibis.Library[source]
A file's models by name, its components' pins (pin: (signal, model,
(R, L, C) or None)) and their [Package] (R, L, C) per corner.
model(name, corner='typ', pin=None)[source]
The model `name` (or the pin's), its package the pin's [Pin]
values, else the component's [Package].
class kicad2ems.core.ibis.Receiver(b, corner='typ', package=None)[source]
An IBIS input (or an I/O's receiver: no drive) as a port's
termination: its clamps and C_comp behind its package.
kicad2ems.core.ibis.number(text)[source]
An IBIS number: its scale letter (T G M k m u n p f; M is mega) and
any unit after it ignored ("1.2nH", "50ohm"); None for NA.
kicad2ems.core.ibis.parse(text, name='<ibis>')[source]
The models, pins and packages of an IBIS file's text (Library).