Digital Logic · Unit 7
Programmable Logic Devices
Exam-focused notes for Programmable Logic Devices (Digital Logic, BIT103): what the TU syllabus asks and how it has actually been tested, with 3 solved past questions from this unit.
Programmable Logic Devices in short
A programmable logic device (PLD) is a chip whose logic function is set by the user after manufacture. Instead of wiring many separate gates, we program a standard chip. This saves space, cost and design time.
What this unit covers
- Programmable logic array design
- Read-only memory implementation
- Function implementation using ROM
- Programmable logic device types
Function implementation using ROM
2080 · 5 marks
Define PLDs. Implement the given functions with ROM. F1 = (Σ(0,1,2)(\Sigma(0,1,2)(Σ(0,1,2), F2 = Σ(0,2,3)\Sigma(0,2,3)Σ(0,2,3) [5]
Read-only memory implementation
2081.2 · 5 marks
List different memory types and explain basic memory operations. [5]
Show solved answerHide answer
Memory Types and Basic Memory Operations
Different Types of Memory
1. Primary Memory (Main Memory)
- RAM (Random Access Memory): Volatile memory used to store data and programs currently in use.
- SRAM (Static RAM): Uses flip-flops; faster, more expensive, used in cache memory.
- DRAM (Dynamic RAM): Uses capacitors; slower, cheaper, used as main memory; needs periodic refresh.
- ROM (Read Only Memory): Non-volatile memory; stores permanent data/firmware.
- PROM: Programmable ROM; can be written once.
- EPROM: Erasable PROM; erased using UV light.
- EEPROM: Electrically Erasable PROM; erased electrically.
2. Cache Memory
- High-speed memory located between CPU and main memory.
- Stores frequently accessed data to reduce access time.
- Levels: L1 (fastest, smallest), L2, L3.
3. Secondary Memory (Auxiliary Memory)
- Non-volatile, large capacity storage.
- Examples: Hard Disk Drive (HDD), Solid State Drive (SSD), Optical Disk, Magnetic Tape.
4. Registers
- Fastest memory, located inside the CPU.
- Temporarily hold data, instructions, and addresses during processing.
5. Virtual Memory
- A technique that uses secondary storage to extend the apparent size of primary memory.
Basic Memory Operations
Memory operations are the fundamental actions performed on a memory system:
1. Read Operation (Fetch / Load)
- Data is retrieved from a specific memory location and transferred to the CPU or a register.
- Steps:
- The CPU places the memory address on the Address Bus.
- A Read control signal (RD = 0 or active low) is sent via the Control Bus.
- The memory locates the addressed cell and places the data on the Data Bus.
- The CPU reads the data from the Data Bus.
CPU --> [Address Bus] --> Memory
CPU <-- [Data Bus] <-- Memory
CPU --> [Control Bus: READ] --> Memory
2. Write Operation (Store)
- Data is transferred from the CPU and stored into a specific memory location.
- Steps:
- The CPU places the memory address on the Address Bus.
- The CPU places the data to be written on the Data Bus.
- A Write control signal (WR = 0 or active low) is sent via the Control Bus.
- The memory stores the data at the specified address.
CPU --> [Address Bus] --> Memory
CPU --> [Data Bus] --> Memory
CPU --> [Control Bus: WRITE] --> Memory
Summary Table
| Operation | Address Bus | Data Bus | Control Signal |
|---|---|---|---|
| Read | CPU sends address | Memory sends data to CPU | RD (active) |
| Write | CPU sends address | CPU sends data to memory | WR (active) |
Note: These two operations (Read and Write) form the foundation of all memory interactions in a computer system. All higher-level operations such as fetch-decode-execute cycles depend on these basic operations.
Programmable logic array design
0 · 5 marks
Write short notes on: PLA Write short notes on Triggering of flip-flop [2.5+2.5]
Make Unit 7 stick
Practice BIT103 with flashcards & quizzes