Electronics Circuits and Systems II — Quick-Review Notes
Demultiplexer vs. Decoder
• Demultiplexer (Demux): single data input, control lines, mutually-exclusive outputs; routes the single input to one selected output.
• Decoder: data inputs, outputs; converts binary code to one-hot code (no data input to route).
• Block symbols: Demux – triangle with input, multiple outputs. Decoder – block with inputs on left, outputs on right.
Using a Decoder to Realise Logic Functions
• Generate minterm lines .
• Form each function by OR-ing required minterms:
– –
–
• OR gates may share minterm lines for economy.
Railway-Platform Priority Decoder (Concept)
• Inputs: platform busy switches (logic when OCCUPIED).
• Outputs: track-changer controls and outer signal . • Design rules: – Give highest priority to lowest-numbered free platform. – (green) iff at least one platform free. • Implement with combinational priority logic using AND/OR/NOT only (no storage): – Free flags . – Select when ; else when ; etc.
– Derive from selected path truth table.
RAM Technologies
• Bipolar RAM: Schottky TTL cells; very fast access (≈ ns) but high power & low density.
• MOS RAM: NMOS/CMOS; lower power, higher density, slower (≈ ns+).
• DRAM cell vs. SRAM cell:
– DRAM: single MOS + capacitor ⇒ refresh, very high density, low cost, slower.
– SRAM: -MOS latch ⇒ no refresh, faster, lower density, higher power per bit.
Fundamental Memory Terms
• Memory Address Register (MAR): holds address of word to access; size = address bits.
• Memory Buffer Register (MBR): data register (read/write) whose width = word length.
• Memory Cycle Time: minimum time between successive independent accesses (includes access + recovery).
• Volatile Memory: retains data only while power applied (e.g.
DRAM, SRAM).
Example – Memory
• Words stored: .
• Bits stored: .
• Address bits: ⇒ bits.
• bits (word size).
Expanding (7489) to
• Parallel connect two identical ICs.
• Tie address lines – and enable pins together.
• Lower-order chip supplies data bits –, upper chip –.
• Outputs form an -bit word per address.
D/A Converter Essentials
• Key specs: resolution (LSB), accuracy, monotonicity, differential/integral linearity, settling time, output drive.
• Bits for mV resolution on V full scale:
bits. • -bit converter, V ⇒ ; percentage .
-bit Ladder DAC (input = V, = V)
• Contribution of bit (MSB ) .
• Output for .
• Full-scale (all ): .
Counter-(Ramp) Type ADC
• Blocks: sample-and-hold, binary counter, DAC, comparator, clock.
• Operation: counter runs until DAC ≥ → comparator stops count; counter value = digital output. • Example (given): – . – Digital code for V ⇒ .
– Conversion time: counts / .
– Resolution .
Programmable Logic Devices (PLDs)
• Families: PROM, PLA, PAL, GAL, CPLD, FPGA.
• PLA: both AND & OR planes programmable; allows any sum-of-products; outputs may be registered.
• Example PLA ( inputs, product terms, outputs) realises , from specified minterms.
TTL NAND (Totem-Pole) Gate
• Multi-emitter input transistor → phase-splitter → totem-pole output pair provides low-impedance pull-up/pull-down.
• Pros: high speed, good fan-out, symmetrical transitions.
• Cons: higher power, requires careful bus wiring (no wired-OR).
Bus-Oriented Logic Gates
• Tri-state buffer & inverter are basic bus drivers; output can be , , or high-Z (disconnect) enabling shared lines.
Bistable Devices
• Clocked RS FF waveforms: level-sensitive; ignore simultaneous .
• NAND gate latch with cross-feedback behaves as RS FF – truth table verifies.
• JK FF eliminates invalid state; master-slave arrangement (two cascaded latches) achieves edge-triggering.
Ring vs. Johnson Counters
• Ring: FFs circulate a single ⇒ distinct states.
• Johnson (twisted ring): complement of last FF fed to first ⇒ states; pattern for -bit: then repeats.
Counter Designs
• Divide-by- asynchronous (ripple) using T-FFs: connect four FFs for binary count, decode with gate → asynchronous clear.
• Synchronous Mod- with non-binary sequence :
– Draw state diagram (arrows follow sequence).
– Transition table lists present / next states & required JK inputs.
– Karnaugh maps give minimal expressions.
– Implement with JK FFs plus gating for next-state logic.