Changes

Jump to: navigation, search

An Overview of Digital Circuit Simulation

2 bytes removed, 03:32, 18 August 2015
/* Digital Bus Connectors */
==Digital Bus Connectors==
In [[B2RF.Spice A/D]], the digital data may consist of one or more bits. In the case of multi-bit data, you can use wires to represent digital buses. In other words, a digital bus is equivalent to a multi-bit wire. You can convert a digital bus to multiple single-bit wires using bus connectors. There are two types of bus connectors: Splitters and Combiners. [[B2RF.Spice A/D]] provides 1-to-2, 1-to-3, 1-to-4 and 1-to-8 splitters as well as 2-to-1, 3-to-1, 4-to-1 and 8-to-1 combiners.  You can edit the pin connections of bus connectors. By default, the wires coming into splitters and combiners are distributed automatically in the following manner. The wires connected to the top pin become the least significant bits of the splitter or combiner. The rest of the wires coming into the splitter or combiner are placed into the higher bits of the splitter or combiner. After the circuit state is updated, the splitter or combiner will display the bit numbers of the wires. The wire distribution can be customized by turning off the "Auto Distribute" checkbox in the bus connector's property dialog and entering the pin numbers manually. The first leg will use the wires in the first dialog box, etc. For example, if you have a 1-to-2 splitter, you can specify that you want bit 0 of the net to go onto the lower pin of the bus connector and bit 1 of the net to go to the upper pin. Multiple bits can be specified for each pin using colons and commas to group bits.
You can edit the pin connections of bus connectors. By default, the wires coming into splitters and combiners are distributed automatically in the following manner. The wires connected to the top pin become the least significant bits of the splitter or combiner. The rest of the wires coming into the splitter or combiner are placed into the higher bits of the splitter or combiner. After the circuit state is updated, the splitter or combiner will display the bit numbers of the wires. The wire distribution can be customized by turning off the "Auto Distribute" checkbox in the bus connector's property dialog and entering the pin numbers manually. The first leg will use the wires in the first dialog box, etc. For example, if you have a 1-to-2 splitter, you can specify that you want bit 0 of the net to go onto the lower pin of the bus connector and bit 1 of the net to go to the upper pin. Multiple bits can be specified for each pin using colons and commas to group bits.
==Additional Considerations==
28,333
edits