Creating Subcircuits

Zoltan Padrah edited this page Aug 22, 2012 · 1 revision
Clone this wiki locally

Subcircuits can be used to make your own ICs, thus simplifying your design (for example, creating a full binary adder).

(soon to be completed - Clau)

From the KTechLab Help Docs... Subcircuits offer a reusable and tidy way of using a circuit, when you're only interested in interacting with external connections to the circuit. The subcircuit is creating as an IC, with the pins acting as the interaction with the internal circuit. First, the circuit to be used as a template for creating a subcircuit must be constructed. The points of interaction are defined via "External Connection" components. These must be connected up, and positioned where you want the pin to be positioned on the subcircuit IC.

Next, select the group of components and external connections to be turned into a subcircuit, and select "Create Subcircuit" from the right-click menu. You'll be offered to enter a name for the subcircuit. Once created, the name will popup in the Component selector under the Subcircuits selection. This can be treated as any normal component - with the additional option of removing it by right-clicking on the item and selecting Remove.

~Kury

  • Can external connections have sub/super scripted text? for example "D sub 0", "MR sub 0", "MR sub 1"...
  • Can external connections have barred text (overline)? example: "Q not", or "CLR bar"
  • Is there a way to specify where the connections are located in the subcircuit? (Either before or after it becomes a subcircuit item)
  • Is it possible to save subcircuits in a directory, to be loaded on program load?
  • Is it possible to specify the grouping of the subcircuits; that is, to have them listed under eg. "Integrated Cicuits", rather than subcircuits?
  • Is it possible to have subgroupings, for example, to have a branch under "Integrated Circuits" called "Flip-Flops", which has all the flip-flops grouped together under it?
  • Can logic inputs/outputs also be marked as external connectors, to facilitate IC testing?