Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
ROM stands for Read-Only Memory, a non-volatile memory whose contents are primarily read during normal operation.
Question 2 of 60 · Read-only memory · Easy
Which property best describes a ROM's data retention when power is removed?
Not quite. Try another option.
Answer: It retains data (non-volatile)
ROM is non-volatile, meaning stored data is preserved even when the power supply is switched off.
Question 3 of 60 · Read-only memory · Easy
Which type of ROM can be erased using ultraviolet light?
Not quite. Try another option.
Answer: EPROM
EPROM (Erasable Programmable ROM) is erased by exposing its chip to UV light through a quartz window.
Question 4 of 60 · Read-only memory · Easy
A ROM with address lines can store how many words?
Not quite. Try another option.
Answer: 1024 words
With 10 address lines the number of addressable words is .
Question 5 of 60 · Read/Write memory- SRAM and DRAM · Easy
What does RAM stand for?
Not quite. Try another option.
Answer: Random Access Memory
RAM stands for Random Access Memory, allowing any location to be accessed directly in roughly equal time.
Question 6 of 60 · Read/Write memory- SRAM and DRAM · Easy
Which storage element is used by a static RAM (SRAM) cell?
Not quite. Try another option.
Answer: A flip-flop (latch)
SRAM stores each bit in a flip-flop (typically 6 transistors), so it holds data without periodic refreshing.
Question 7 of 60 · Read/Write memory- SRAM and DRAM · Easy
Why does DRAM require periodic refreshing?
Not quite. Try another option.
Answer: Its capacitors leak charge over time
DRAM stores bits as charge on capacitors, which leaks away, so the data must be refreshed periodically.
Question 8 of 60 · Read/Write memory- SRAM and DRAM · Easy
Which memory type generally offers higher storage density per chip?
Not quite. Try another option.
Answer: DRAM
DRAM uses a single transistor and capacitor per cell, giving higher density than the multi-transistor SRAM cell.
Question 9 of 60 · Read/Write memory- SRAM and DRAM · Easy
Which memory type is typically faster to access?
Not quite. Try another option.
Answer: SRAM
SRAM is faster than DRAM because it does not need refresh cycles and uses stable latch-based cells.
Question 10 of 60 · Read/Write memory- SRAM and DRAM · Easy
Both SRAM and DRAM share which common characteristic?
Not quite. Try another option.
Answer: They are volatile
Both SRAM and DRAM lose their contents when power is removed, so both are volatile memories.
Question 11 of 60 · PLAs and their applications · Easy
What does the abbreviation PLA stand for?
Not quite. Try another option.
Answer: Programmable Logic Array
PLA stands for Programmable Logic Array, a device used to implement combinational logic functions.
Question 12 of 60 · PLAs and their applications · Easy
In a PLA, which arrays are programmable?
Not quite. Try another option.
Answer: Both the AND and OR arrays
A PLA has both a programmable AND array and a programmable OR array, giving maximum flexibility.
Question 13 of 60 · PLAs and their applications · Easy
A PLA is most commonly used to implement which type of logic?
Not quite. Try another option.
Answer: Combinational logic functions
PLAs realize sum-of-products expressions, making them ideal for implementing combinational logic functions.
Question 14 of 60 · PALs and their applications · Easy
What does the abbreviation PAL stand for?
Not quite. Try another option.
Answer: Programmable Array Logic
PAL stands for Programmable Array Logic, a PLD with a programmable AND array and a fixed OR array.
Question 15 of 60 · PALs and their applications · Easy
In a PAL device, which array is fixed (not programmable)?
Not quite. Try another option.
Answer: The OR array
In a PAL the AND array is programmable while the OR array is fixed, which makes it faster and cheaper than a PLA.
Question 16 of 60 · PALs and their applications · Easy
Compared to a PLA, a key advantage of a PAL is that it is generally:
Not quite. Try another option.
Answer: Faster and simpler to program
Because only the AND array is programmable, PALs are faster and easier to program than fully programmable PLAs.
Question 17 of 60 · Sequential PLDs and their applications · Easy
What distinguishes a sequential PLD from a purely combinational PLD?
Not quite. Try another option.
Answer: It includes memory elements such as flip-flops
Sequential PLDs add flip-flops (registers) to the logic array, allowing them to store state and implement sequential circuits.
Question 18 of 60 · Sequential PLDs and their applications · Easy
Sequential PLDs are especially suitable for implementing which of the following?
Not quite. Try another option.
Answer: Finite state machines and counters
With built-in flip-flops, sequential PLDs are well suited to state machines, counters, and other sequential circuits.
Question 19 of 60 · Introduction to field programmable gate arrays · Easy
What does the abbreviation FPGA stand for?
Not quite. Try another option.
Answer: Field Programmable Gate Array
FPGA stands for Field Programmable Gate Array, a chip that can be configured by the user after manufacturing.
Question 20 of 60 · Introduction to field programmable gate arrays · Easy
The basic reconfigurable logic building block inside a typical FPGA is called a:
Not quite. Try another option.
Answer: Configurable Logic Block (CLB)
FPGAs are built from an array of Configurable Logic Blocks (CLBs) connected by programmable interconnects.
Question 21 of 60 · Read-only memory · Medium
A ROM has 12 address lines and 8 data lines. What is the total storage capacity of this ROM?
Not quite. Try another option.
Answer: bits
With 12 address lines, the number of words is . Each word is 8 bits wide, giving a capacity of bits.
Question 22 of 60 · Read-only memory · Medium
A designer needs a ROM to implement a combinational circuit with 4 inputs and 3 outputs. What is the minimum ROM size required?
Not quite. Try another option.
Answer:
The 4 inputs act as address lines, requiring words. The 3 outputs form the data word width, so the ROM must be .
Question 23 of 60 · Read-only memory · Medium
Which type of ROM can be electrically erased and reprogrammed byte-by-byte without removing it from the circuit?
Not quite. Try another option.
Answer: EEPROM
EEPROM allows in-circuit electrical erasure and reprogramming, often at the byte level. UV-EPROM needs UV light and full-chip erasure, PROM is one-time programmable, and Mask ROM is fixed at manufacture.
Question 24 of 60 · Read/Write memory- SRAM and DRAM · Medium
Why does DRAM require periodic refresh cycles while SRAM does not?
Not quite. Try another option.
Answer: DRAM stores bits as charge on capacitors that leak over time
Each DRAM cell stores a bit as charge on a tiny capacitor, which gradually leaks away. Refresh cycles restore the charge. SRAM uses cross-coupled flip-flops that hold state as long as power is applied.
Question 25 of 60 · Read/Write memory- SRAM and DRAM · Medium
A typical six-transistor (6T) memory cell is characteristic of which memory technology?
Not quite. Try another option.
Answer: SRAM
A standard SRAM cell uses six transistors (two cross-coupled inverters plus two access transistors). DRAM typically uses one transistor and one capacitor per cell.
Question 26 of 60 · Read/Write memory- SRAM and DRAM · Medium
For a given chip area, DRAM generally offers higher storage density than SRAM primarily because:
Not quite. Try another option.
Answer: Each DRAM cell needs far fewer components
A DRAM cell needs only one transistor and one capacitor, while an SRAM cell needs six transistors. Fewer components per cell allow more cells in the same area, giving higher density.
Question 27 of 60 · Read/Write memory- SRAM and DRAM · Medium
Which statement best describes why SRAM is typically used for cache memory rather than DRAM?
Not quite. Try another option.
Answer: SRAM has faster access times and needs no refresh
SRAM offers faster access and avoids refresh overhead, making it ideal for high-speed cache. It is more expensive and less dense than DRAM, and both are volatile.
Question 28 of 60 · PLAs and their applications · Medium
In a PLA implementing Boolean functions, which arrays are programmable?
Not quite. Try another option.
Answer: Both the AND array and the OR array
A PLA (Programmable Logic Array) has both a programmable AND array and a programmable OR array, giving maximum flexibility in sharing product terms among outputs.
Question 29 of 60 · PLAs and their applications · Medium
A PLA has 3 inputs, 4 product terms, and 2 outputs. What is the maximum number of distinct product terms it can generate?
Not quite. Try another option.
Answer: 4
The number of product terms a PLA can generate is limited by the number of AND gates (product-term lines), which is 4 here, regardless of the theoretical minterms.
Question 30 of 60 · PLAs and their applications · Medium
Two functions and are implemented in a PLA. How many unique product terms must the AND array provide?
Not quite. Try another option.
Answer: 3
The distinct product terms are , , and . Since is shared between both functions, only 3 unique product terms are needed in the AND array.
Question 31 of 60 · PLAs and their applications · Medium
Which advantage makes a PLA more area-efficient than a ROM for implementing sparse logic functions?
Not quite. Try another option.
Answer: It generates only the required product terms instead of all minterms
A ROM decodes all minterms, wasting area for functions with few terms. A PLA generates only the specific product terms needed, making it efficient for sparse functions.
Question 32 of 60 · Sequential PLDs and their applications · Medium
What key component distinguishes a sequential PLD from a purely combinational PLD like a basic PLA?
Not quite. Try another option.
Answer: Flip-flops (registers) at the outputs
Sequential PLDs include flip-flops (registered outputs) that allow storage of state, enabling implementation of sequential circuits such as counters and state machines.
Question 33 of 60 · Sequential PLDs and their applications · Medium
A registered PLD output that can be fed back into the AND array is most useful for implementing:
Not quite. Try another option.
Answer: Finite state machines
Feeding registered outputs back into the AND array allows the next state to depend on the present state, which is exactly what is required to build finite state machines.
Question 34 of 60 · Sequential PLDs and their applications · Medium
In a typical macrocell of a sequential PLD, the output-select multiplexer is used to choose between:
Not quite. Try another option.
Answer: Registered and combinational output modes
A macrocell's output multiplexer selects whether the output comes directly from the combinational logic or from the flip-flop (registered), providing configuration flexibility.
Question 35 of 60 · Sequential PLDs and their applications · Medium
A designer needs a device to implement a 3-bit synchronous counter. Which PLD feature is essential for this task?
Not quite. Try another option.
Answer: On-chip clocked flip-flops
A synchronous counter requires storage elements that update on a clock edge. Sequential PLDs provide on-chip clocked flip-flops to hold and update the count state.
Question 36 of 60 · Introduction to field programmable gate arrays · Medium
In an SRAM-based FPGA, the logic functionality of a configurable logic block is typically implemented using:
Not quite. Try another option.
Answer: Look-up tables (LUTs)
SRAM-based FPGAs implement combinational logic using look-up tables, which store the truth table of a function in SRAM cells and select the output based on inputs.
Question 37 of 60 · Introduction to field programmable gate arrays · Medium
A 4-input LUT in an FPGA can implement any Boolean function of how many variables, and how many SRAM configuration bits does it require?
Not quite. Try another option.
Answer: 4 variables, 16 bits
A 4-input LUT can realize any function of 4 variables. It stores the full truth table, which has entries, requiring 16 SRAM configuration bits.
Question 38 of 60 · Introduction to field programmable gate arrays · Medium
Why must most SRAM-based FPGAs be reconfigured each time power is applied?
Not quite. Try another option.
Answer: Their configuration memory is volatile
SRAM cells lose their contents when power is removed, so the configuration bitstream is volatile and must be reloaded (often from external flash) at every power-up.
Question 39 of 60 · PALs and their applications · Medium
How does the internal structure of a PAL differ from that of a PLA?
Not quite. Try another option.
Answer: PAL has a programmable AND array and a fixed OR array
In a PAL, only the AND array is programmable while the OR array is fixed. This simplifies design and speeds up the device compared to a fully programmable PLA.
Question 40 of 60 · PALs and their applications · Medium
In a PAL where each OR gate is hard-wired to exactly 3 product terms, what limits the implementation of a function requiring 5 product terms on one output?
Not quite. Try another option.
Answer: The fixed number of product terms per OR gate
Because a PAL's OR array is fixed with a set number of product terms per output, a function needing more product terms than allotted cannot fit directly and must be redesigned or split.
Question 41 of 60 · Read-only memory · Hard
A ROM is used to implement combinational logic for a 4-input, 3-output function. Later, one output must be changed from to . What is the minimum modification required at the ROM level?
Not quite. Try another option.
Answer: Only the stored word at address needs its corresponding output bit set to 1
In a ROM the AND array (decoder) is fixed and generates all minterms; only the OR array (stored data) is programmed. Adding minterm 11 means setting the output bit at address to 1, affecting only that single word/bit.
Question 42 of 60 · Read-only memory · Hard
A designer needs a ROM but only has ROM chips. How many chips are required and how are the address lines partitioned?
Not quite. Try another option.
Answer: 4 chips; 9 lines address each chip and 2 higher-order lines select the chip via a decoder
chips. Each -word chip needs address lines. needs lines total, so the remaining high-order lines select among the 4 chips.
Question 43 of 60 · Read/Write memory- SRAM and DRAM · Hard
A DRAM cell stores charge on a capacitor of . If leakage current is and the cell can tolerate a voltage drop of before data loss, what is the maximum refresh interval?
Not quite. Try another option.
Answer:
Using .
Question 44 of 60 · Read/Write memory- SRAM and DRAM · Hard
In a 6-transistor SRAM cell, why is the cell susceptible to a read-disturb failure, and what parameter governs its stability during a read?
Not quite. Try another option.
Answer: Access transistors briefly perturb the internal node voltage; the static noise margin (SNM) determines stability
During a read, both bit lines are precharged high and the access transistors connect them to the internal nodes, pulling the '0' node up. If this exceeds the trip point of the cross-coupled inverters the cell flips. The read SNM quantifies the tolerable disturbance.
Question 45 of 60 · Read/Write memory- SRAM and DRAM · Hard
A memory system uses DRAM with a refresh period and rows, using distributed refresh. What is the maximum time interval between consecutive refresh operations?
Not quite. Try another option.
Answer:
Distributed refresh spreads row refreshes evenly over : between refreshes.
Question 46 of 60 · PLAs and their applications · Hard
A PLA has 4 inputs, 8 product terms, and 3 outputs. Two functions share the term . What is the primary advantage a PLA offers over a ROM for this implementation?
Not quite. Try another option.
Answer: Product terms can be shared across outputs, so only the required minterms/implicants are programmed
Unlike a ROM (fixed AND array producing every minterm), a PLA has both AND and OR arrays programmable, allowing product terms like to be generated once and shared by multiple outputs — efficient for sparse functions.
Question 47 of 60 · PLAs and their applications · Hard
Given and to implement on a PLA, what is the minimum number of product terms required if sharing is exploited?
Not quite. Try another option.
Answer: 3 product terms: , ,
The distinct product terms are , , and . The term is shared between and , so only 3 unique product lines are needed in the AND array.
Question 48 of 60 · PLAs and their applications · Hard
A PLA output is available in both true and complemented form via a programmable XOR. To implement with minimum product terms, which strategy is optimal?
Not quite. Try another option.
Answer: Implement (2 terms) and program the XOR to invert the output
The programmable output XOR lets you implement whichever polarity needs fewer product terms. Here needs only 2 product terms; inverting via XOR yields far cheaper than the SOP of the complement.
Question 49 of 60 · Sequential PLDs and their applications · Hard
A registered PAL (e.g., 16R8) has all outputs fed back into the AND array. Why is this feedback essential for implementing a Moore finite-state machine?
Not quite. Try another option.
Answer: It provides the current state to compute next-state and output logic within the same device
An FSM's next state depends on the present state. Feeding register outputs (present state) back into the AND array lets the combinational logic compute next-state functions, enabling self-contained sequential operation.
Question 50 of 60 · Sequential PLDs and their applications · Hard
A sequential PLD must implement a state machine with 12 states. What is the minimum number of state flip-flops (registered outputs) required, and how many unused states result?
Not quite. Try another option.
Answer: 4 flip-flops; 4 unused states
flip-flops give possible states. Since only 12 are used, states are unused and must be handled to avoid lockup.
Question 51 of 60 · Sequential PLDs and their applications · Hard
In a GAL/registered PLD, the Output Logic Macrocell (OLMC) can be configured for combinational or registered output. What is the key benefit of this configurability over a fixed 16R8 architecture?
Not quite. Try another option.
Answer: Each output pin can independently be registered or combinational, increasing design flexibility
The OLMC's programmable multiplexers let each output be individually configured (registered/combinational, active-high/low, feedback source), whereas fixed devices like the 16R8 force all 8 outputs registered.
Question 52 of 60 · Introduction to field programmable gate arrays · Hard
In an SRAM-based FPGA, a 4-input Look-Up Table (LUT) is used to implement combinational logic. How many distinct Boolean functions of 4 variables can a single 4-LUT realize?
Not quite. Try another option.
Answer:
A 4-input LUT stores truth-table entries. Each entry can independently be 0 or 1, so the number of realizable functions is .
Question 53 of 60 · Introduction to field programmable gate arrays · Hard
Why do SRAM-based FPGAs require an external configuration memory (e.g., flash/PROM) at power-up, unlike antifuse or flash-based FPGAs?
Not quite. Try another option.
Answer: SRAM configuration cells are volatile and lose their contents when power is removed
SRAM-based FPGAs store configuration in volatile SRAM cells. On power-down the bitstream is lost, so it must be reloaded from non-volatile external memory each power-up. Antifuse/flash FPGAs retain configuration.
Question 54 of 60 · Introduction to field programmable gate arrays · Hard
A function requires 6 inputs but the FPGA has only 4-input LUTs. Using Shannon's expansion, what is the minimum number of 4-LUTs needed to decompose a general 6-input function (ignoring routing constraints)?
Not quite. Try another option.
Answer: Split on 2 variables into 4 sub-functions plus multiplexing, needing several 4-LUTs cascaded
Shannon expansion on 2 variables produces 4 cofactors (each a 4-input function → one 4-LUT each) plus multiplexer logic (implemented in further LUTs). A general 6-input function cannot fit in one or two 4-LUTs; it requires cascading.
Question 55 of 60 · Introduction to field programmable gate arrays · Hard
In FPGA architecture, what is the primary role of Configurable Logic Block (CLB) carry chains, and why are they dedicated rather than routed through general interconnect?
Not quite. Try another option.
Answer: They provide fast, low-skew ripple-carry paths for arithmetic, avoiding slow programmable routing delays
Dedicated carry chains route carry signals directly between adjacent CLBs with minimal delay. Using general programmable interconnect for carries would introduce large delays, severely limiting adder/counter speed.
Question 56 of 60 · PALs and their applications · Hard
What fundamentally distinguishes a PAL from a PLA in terms of programmable array structure, and how does it affect product-term sharing?
Not quite. Try another option.
Answer: A PAL has a programmable AND array with a fixed OR array, so product terms cannot be shared across outputs
In a PAL only the AND array is programmable; the OR array is fixed with a set number of product terms hard-wired to each output. Because each product term connects to only one OR gate, terms cannot be shared between outputs (unlike a PLA).
Question 57 of 60 · PALs and their applications · Hard
A PAL device dedicates 4 product terms to each OR output. A required function is . What problem arises and what is the standard solution?
Not quite. Try another option.
Answer: The function needs 5 product terms but only 4 are available; factor the function or use an output fed back as an input
The SOP has 5 product terms exceeding the 4-term OR limit. Solutions include minimizing/factoring the expression, or cascading by feeding one PAL output back into the AND array to build a larger sum.
Question 58 of 60 · PALs and their applications · Hard
When implementing a function on a PAL whose complement has fewer product terms than , and the PAL provides programmable output inversion, what is the best approach?
Not quite. Try another option.
Answer: Implement in the AND-OR array and invert the output to obtain
If requires fewer product terms, implement within the limited OR-gate fan-in and use the PAL's programmable output polarity (inverter) to produce . This is a standard technique to fit functions within product-term limits.
Question 59 of 60 · Read-only memory · Hard
A ROM-based lookup table is used to compute for a 4-bit input . What is the minimum ROM size (words × bits) needed to store all outputs without truncation?
Not quite. Try another option.
Answer:
A 4-bit input has possible values (words). The maximum output is , requiring bits. Thus the ROM must be .
Question 60 of 60 · Read/Write memory- SRAM and DRAM · Hard
Comparing SRAM and DRAM for the same storage capacity on identical process technology, which statement correctly captures the density-vs-speed trade-off?
Not quite. Try another option.
Answer: DRAM (1 transistor + 1 capacitor per cell) offers higher density but slower access and needs refresh; SRAM (6 transistors) is faster but less dense
A DRAM cell (1T1C) is far smaller than a 6T SRAM cell, giving higher density and lower cost per bit, but DRAM requires periodic refresh and has slower access. SRAM holds data statically, is faster, but occupies more area.
That's unit 6
Answer a few questions and your score shows up here.
Nearly through. Did unit 6 of ECE213 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 6 of ECE213 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.