devel:model:circuit
Notes on Digital Circuit model
Circuit structural restrictions
- Input port cannot be directly connected to output port.
- Zero delay component cannot be connected to output port.
- Zero delay components cannot be connected to each other.
- Environment component cannot be connected to output port.
- Can environment components be connected to each other (directly or via zero delay component?
Conversion to STG
- Copy the hierarchy structure from the circuit to the STG.
- Associate each circuit input/output port
pwith an STG input/output signalpat the same level of hierarchy. - Option 1: Pages for all components
- For each circuit component
ccreate an STG pagecat the same level of hierarchy. Associate each driver pindof the circuit componentcwith an STG internal signaldinside the pagec. - For every signal
xcreate a pair of placesx_LOWandx_HIGHrepresenting low and high levels respectively and insert the necessary number of transitionsx+andx-between these places. - After conversion remove empty pages, e.g. those from circuit components who do not have driver pins.
- Option 2 Pages for multi-output components only
- Associate each single-output non-environment circuit component
gwith an STG signalgat the same level of hierarchy.
What to do with the “hanging” input pins of such components? - For each circuit component
cwith more than one output create an STG pagecat the same level of hierarchy. Associate each outputoof the circuit componentcwith an STG signaloplaced inside the newly created pagec.
What to do with pins directly connected to output ports?
Copyright © 2014-2024 workcraft.org