GATE / CS ARCHIVE

GATE CSE 2000 / QUESTION 10(c)

Generating the peripheral read strobe

Computer Organization & Architecture · Input/Output, DMA & Interrupts · Full GATE CSE 2000 paper

GATE 2000, Q10(c) Descriptive
Report issue

Input/Output, DMA & Interrupts

Question 10(c), GATE 2000: The printed 8085 instruction is IN 09H at memory 3050H, with table [3050H]=DAH, [3051H]=09H. In the intended ten-T-state IN trace, opcode fetch uses T1–T4, operand memory read T5–T7, and I/O read T8–TA. Box A is opcode data on AD₇…AD₀, box D is low address for operand fetch, box B is operand data, and box C is high address A₁₅…A₈ during I/O read. The figure initially shows high address 30H and low address 50H.

Task: Which signals are combined to tell the peripheral to put data on the bus?
Question 10(c), GATE 2000: The printed 8085 instruction is IN 09H at memory 3050H, with table [3050H]=DAH, [3051H]=09H. In the intended ten-T-state IN trace, opcode fetch uses T1–T4, operand memory read T5–T7, and I/O read T8–TA. Box A is opcode data on AD₇…AD₀, box D is low address for operand fetch, box B is operand data, and box C is high address A₁₅…A₈ during I/O read. The figure initially shows high address 30H and low address 50H.

Task: Which signals are combined to tell the peripheral to put data on the bus?
Tap to enlarge
Shared context

The printed 8085 instruction is IN 09H at memory 3050H, with table [3050H]=DAH, [3051H]=09H. In the intended ten-T-state IN trace, opcode fetch uses T1–T4, operand memory read T5–T7, and I/O read T8–TA. Box A is opcode data on AD₇…AD₀, box D is low address for operand fetch, box B is operand data, and box C is high address A₁₅…A₈ during I/O read. The figure initially shows high address 30H and low address 50H.

Answer & solution

Answer: Combine IO/M and RD̅; active-low IOR̅=¬(IO/M)∨RD̅, gated with the decoded port select. (no official key was published)

1. IO/M=1 identifies an I/O cycle, while RD̅=0 requests a read. A peripheral may drive the bus only when both conditions hold.

2. The active-high read condition is (IO/M) AND NOT(RD̅). Complementing gives the usual active-low I/O-read strobe IOR̅=NOT(IO/M) OR RD̅.

3. Truth table in order (IO/M,RD̅)=(0,0),(0,1),(1,0),(1,1) gives IOR̅=1,1,0,1. Thus a memory read does not activate the peripheral.

4. The individual device must also be selected by decoding port 09H; for active-high select S, its active-low enable is NOT S OR IOR̅. The requested common bus-control signals are IO/M and RD̅, with address decoding selecting which peripheral responds.

Original paper, page 7