Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
asic:timing:xcell:start [2024/05/31 19:15] – [Configuration file] rajit | asic:timing:xcell:start [2024/06/03 16:40] (current) – [Cells with external SPICE netlists and user-defined scenarios] rajit | ||
---|---|---|---|
Line 67: | Line 67: | ||
</ | </ | ||
- | The units for the '' | + | The units for the '' |
< | < | ||
begin units | begin units | ||
Line 77: | Line 77: | ||
end | end | ||
</ | </ | ||
+ | |||
+ | Waveforms used for characterization and transit time threshold computations for rising and falling edges are specified as below. | ||
+ | < | ||
+ | begin waveform | ||
+ | # 20% to 80% | ||
+ | real rise_low 20 | ||
+ | real rise_high 80 | ||
+ | real fall_high 80 | ||
+ | real fall_low 20 | ||
+ | end | ||
+ | </ | ||
+ | |||
+ | ==== Cells with external SPICE netlists and user-defined scenarios ==== | ||
+ | |||
+ | The following is an example of a cell that needs special support for characterization. | ||
+ | |||
+ | < | ||
+ | begin cells | ||
+ | # the full ACT name of the cell | ||
+ | begin :: | ||
+ | |||
+ | # for an external netlist, uncomment the next line | ||
+ | # string spice " | ||
+ | |||
+ | # characterization arcs | ||
+ | begin scenario | ||
+ | # scenario format | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | |||
+ | | ||
+ | 0 0 1 1 3 2 0 1 \ | ||
+ | 1 0 0 1 3 1 0 2 \ | ||
+ | 1 0 1 0 3 1 0 2 | ||
+ | |||
+ | | ||
+ | " | ||
+ | |||
+ | end | ||
+ | end | ||
+ | end | ||
+ | </ | ||
+ | |||
+ | The '' | ||
+ | * Step 1: apply an input vector to set the output vector to say zero. | ||
+ | * Step 2: change one of the inputs to cause the output to make a zero to one transition. | ||
+ | (State-holding gates can require more complex scenarios for characterization.) | ||
+ | |||
+ | The input vector is specified as an unsigned integer that corresponds to the values of all the input bits. The order is the same order as in the SPICE cell corresponding to subcircuit for the cell generated by ACT (e.g the same output order as you would find by running '' |