Home Filter manual [0101] [Filt] [Math] [Pwr] Examples Utilities
Go back to:
All the devices are idealized and their use should be fairly straight-forward. Where the inputs/outputs are marked as a bus, the net must be named as a bus, too, otherwise all the connections will be shortcircuited. The image below gives an example:

Bus naming a net connected to a bus-pin

The inputs are floating, so grounding is necessary if not used. The outputs have 1Ω resistance. The list in this library contains:

ADC16 Analog-to-digital converter up to 16 bits. The input must be within <0..1>[V]
Bin2Dec Binary-to-decimal, which is, basically, the same as the DAC, only this one accepts the full 2N[V] input scale. The DAC can be used just fine instead, provided the input is attenuated by 2N
CNT16asy Maximum 16 bit, asynchronous counter. The parameters Vhigh, Vlow, td are LTspice's specific for A-devices. If the outputs are Q[0:15], making this synchronous can be done by placing a clock and a DFLOP in the schematic and modified like this:
Synchronizing the counter
DAC16 Maximum 16 bit digital-to-analog converter. Unused inputs must be grounded. Vhigh, Vlow, td are LTspice's specific for A-devices.
Dec2Bin Decimal-to-binary, the same as ADC only this one accepts the full 2N[V] input scale. Vhigh, Vlow are LTspice's specific for A-devices. The ADC can be used instead, provided the input is first attenuated by 2N.
JKFLOP A JK flip-flop. Vhigh, Vlow, td are LTspice's specific for A-devices.

The file holding the subcircuits is 0101.sub. All the files are archived and are available in two flavours:

Zip archive: 0101.zip (5982 B) 7z archive: 0101.7z (3893 B)






































































































©Vlad, 2015