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:17] – [Configuration file] rajit | asic:timing:xcell:start [2024/06/03 16:40] (current) – [Cells with external SPICE netlists and user-defined scenarios] rajit | ||
---|---|---|---|
Line 90: | Line 90: | ||
</ | </ | ||
+ | ==== 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 '' |