Definitionadvanced
Channel-connected component
Also called CCC, DC-connected component.
A maximal set of transistors joined through source and drain terminals, the unit that switch-level simulators, timing simulators and transistor-level timers evaluate.
A channel-connected component of a transistor network is a maximal set of nodes that are joined through transistor channels, the path from source to drain, together with the transistors on those channels. The supply nodes and the primary inputs do not join anything. Neither does a gate terminal, because no DC current flows into a gate. So current flows between two components only through the supplies and the inputs, and a component sees the rest of the circuit only through the gates of its transistors and through these fixed nodes. That makes the component the natural unit of evaluation for tools that work on transistors. The definition belongs to both halves of the sub-area. In the logic half, a switch-level simulator solves one component at a time for its node values. In the circuit half, a timing simulator or an iterated timing analysis integrates one component at a time, and transistor-level timers compute delays per component. The components are the connected components of a simple graph, so they are found in linear time.
Definition
Network. A transistor network has a set of fixed nodes, the supplies and ground and the primary inputs, whose values the environment sets, and a set of storage nodes. Each transistor has a gate and two channel terminals and , which are nodes of either kind. Source and drain are not told apart, since a MOS transistor is symmetric.
Channel graph. The channel graph has the vertex set and one edge for each transistor whose two channel terminals are both storage nodes. Edges at fixed nodes and gate terminals are not in .
Channel-connected component. A channel-connected component, or CCC, is a pair , where is the vertex set of a connected component of and is the set of transistors with at least one channel terminal in . The gate inputs of the component are the gates for , and its fixed terminals are the fixed nodes among the channel terminals of .
Component graph. The component graph has one vertex per CCC and an arc from to when a storage node of is a gate input of . Arcs follow the gates, from the node that controls a transistor to the component that holds it.
Partition (exact). The CCCs partition the storage nodes, and they partition the transistors that touch at least one storage node. Proof. The vertex sets of the connected components of partition . A transistor with one storage terminal belongs to the component of that node. A transistor with two storage terminals is an edge of , so both ends lie in one component, and it belongs to that one only. A transistor with both channel terminals fixed, such as a decoupling device between and ground, is in no component; tools treat it apart. The partition depends only on the network, so it is unique.
Locality (exact in the switch-level model). In the switch-level model of switch-level simulation, the new values of the nodes of a component depend only on their old charges, on the values of its gate inputs and on the values of its fixed terminals. Proof. The value of a storage node comes from paths of conducting transistors that start at the node. Such a path moves along channels, so it stays inside until it reaches a fixed node, where it ends, because a fixed node holds its value and passes no signal through. Whether a transistor on the path conducts depends only on its gate input. So nothing outside , its gate inputs and its fixed terminals enters the definition. In the electrical model the same holds for the DC currents, since a gate draws none, but not for the charging currents: the capacitance between the gate and the channel of a transistor couples its gate node to the nodes of another component. Timing simulators either ignore this coupling or put it into the node capacitances, so for them locality is an approximation.
Computation. Run a disjoint-set union over the edges of , or a search from each unvisited storage node. Either way the cost is , up to the inverse Ackermann factor for union-find, where is the set of transistors.
Examples and non-examples
Each example was checked by the partition routine of the switch-level implementation.
Examples.
- Inverter. A CMOS inverter with input and output has two transistors, from to and from to ground. Both edges end at a fixed node, so has the single vertex and no edge. The component is with both transistors, and its gate input is .
- Two-input NAND. The pull-up transistors run from to , and the pull-down stack runs from to an internal node and from to ground. The edge joins the output and the internal node, so the component is with all four transistors.
- A chain of inverters. Each stage is its own component, and the component graph is a path of vertices. A switch-level or timing simulator can solve the components in this order.
- Inverter, transmission gate, inverter. The first inverter drives , a transmission gate of two transistors joins and , and drives the second inverter with output . The components are with four transistors and with two. The transmission gate merges its two sides into one component, since current can flow both ways through it.
- A column of static RAM. Each of three cells has two cross-coupled inverters with nodes and , and two access transistors from to the bit line and from to the other bit line. The bit lines join all the cells, and the column has only two components, each with four nodes and nine transistors. Without the access transistors the same six inverters give six components.
Non-examples.
- Shared supplies. Two inverters with the same and ground are two components. If the supplies were vertices of , every node of a chip would be in one component, and the partition would be useless.
- A gate connection. In the inverter chain, the output of stage 1 is the gate of stage 2, and the two stages stay apart. A gate connection gives an arc of the component graph, not a merge.
- A latch. Two cross-coupled inverters form two components, each a gate input of the other. The component graph has a cycle, so no order solves each component once. Simulators iterate over the cycle until no value changes, as in the rounds of the switch-level simulator.
- A logic gate is not always a component. A complex gate such as an AND-OR-INVERT is one component, but a pass-transistor multiplexer, a precharged bus or a barrel shifter merges many logic functions into one large component. The cost of a switch-level or timing step grows with the size of the component, so a few large components can dominate the run time.
Related definitions
- Switch-level simulation. Solves one CCC at a time for the steady state, and puts on its queue the components whose gate inputs or nodes changed.
- Timing simulation and iterated timing analysis. Update node voltages one component at a time, in the order of the component graph.
- Static timing analysis. At the transistor level, a timer computes a delay for each component, from a change at a gate input to a change at an output node, and then works on the component graph as on a gate netlist.
- Circuit extraction. Produces the transistor network, with node capacitances, from the layout.
- Connected components and disjoint-set. The graph algorithms that compute the partition.
- Strongly connected components and topological sort. Find the loops of the component graph and an order for the rest.
References
- R. E. Bryant, A switch-level model and simulator for MOS digital systems, IEEE Transactions on Computers C-33(2), 160 to 177, 1984, the switch graph with input nodes and storage nodes, and the partition of the storage nodes into parts joined by transistor channels, which MOSSIM II solves one at a time (general locator)
- R. E. Bryant, MOSSIM, a switch-level simulator for MOS LSI, Proceedings of the 18th Design Automation Conference, 786 to 790, 1981, the switch-level network of nodes and transistors and its evaluation by parts (general locator)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag GYFF7P Edit this page History Report an error Markdown