VL05 · Sem 3 · Digital logic
3-to-8 decoder
Aim: Turn a 3-bit code into one active output line.
🧪 Live simulation🧊 Real-time 3D bench⚠ Simulated values, not physical measurements
🔬 Virtual lab
Starting the lab…
📘 Theory
A decoder activates exactly one of 2ⁿ outputs. Shifting 1 left by the input value is a compact description; decoders select memory rows and peripherals.
y = 1 << a
🧰 Apparatus (virtual)
- Yosys
- simulator
📝 Procedure
🎤 Viva questions
Where are decoders used in a computer
Address decoding for memory and I/O chips.
What is an encoder
The reverse: a one-hot input to a binary code.
🛡️ Safety
Software only. Area and timing use generic teaching assumptions; they are not silicon measurements or sign-off results.