Presentation is loading. Please wait.

Presentation is loading. Please wait.

Address Decoders Lecture L6.10 Section 6.3. MOUSE Layout PROM 2716 RAM 6810 MPU 6802 PIA 6821 Address Bus (16 lines) Data Bus (8 lines) To outside world.

Similar presentations


Presentation on theme: "Address Decoders Lecture L6.10 Section 6.3. MOUSE Layout PROM 2716 RAM 6810 MPU 6802 PIA 6821 Address Bus (16 lines) Data Bus (8 lines) To outside world."— Presentation transcript:

1 Address Decoders Lecture L6.10 Section 6.3

2 MOUSE Layout PROM 2716 RAM 6810 MPU 6802 PIA 6821 Address Bus (16 lines) Data Bus (8 lines) To outside world cs Address Decoder PIA RAM2 PROM

3 MOUSE Memory Map RAM1 (internal)0000-007F RAM20080-00FF PROMB800-BFFF PIA8000-8003 Device Hex Address

4 System layout work sheet A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 RAM1 0 0 0 0 0 0 0 0 0 X X X X X X X 0000-007F RAM2 0 0 0 0 0 0 0 0 1 X X X X X X X 0080-00FF PROM 1 0 1 1 1 X X X X X X X X X X X B800-BFFF PIA 1 0 0 0 0 0 0 0 0 0 0 0 0 0 X X 8000-8003

5 System layout work sheet A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 RAM1 0 0 0 0 0 0 0 0 0 X X X X X X X 0000-007F RAM2 0 0 0 0 0 0 0 0 1 X X X X X X X 0080-00FF PROM 1 0 1 1 1 X X X X X X X X X X X B800-BFFF PIA 1 0 0 0 0 0 0 0 0 0 0 0 0 0 X X 8000-8003 Don’t cares PIA 8000-807FUse A7-A15 as inputs to address decoder

6 MODULE addecode TITLE 'Address Decoder' DECLARATIONS " INPUT PINS " A15,A14,A13,A12,A11,A10,A9,A8,A7 pin; " OUTPUT PINS " RAM1,RAM2,PROM,PIA pin istype 'com'; H,L,X = 1,0,.X.; Address = [A15,A14,A13,A12,A11,A10,A9,A8,A7,X,X,X,X,X,X,X]; EQUATIONS RAM1 = (Address <= ^h007F); RAM2 = (Address >= ^h0080) & (Address <= ^h00FF); PROM = (Address >= ^hB800) & (Address <= ^hBFFF); PIA = (Address >= ^h8000) & (Address <= ^h807F); addecode.abl

7 test_vectors (Address -> [RAM1,RAM2,PROM,PIA]) ^h0000 -> [ H, L, L, L ]; ^h004A -> [ H, L, L, L ]; ^h0080 -> [ L, H, L, L ]; ^h00DF -> [ L, H, L, L ]; ^hB800 -> [ L, L, H, L ]; ^hBDF0 -> [ L, L, H, L ]; ^h8000 -> [ L, L, L, H ]; ^h8002 -> [ L, L, L, H ]; end addecode.abl (cont.)


Download ppt "Address Decoders Lecture L6.10 Section 6.3. MOUSE Layout PROM 2716 RAM 6810 MPU 6802 PIA 6821 Address Bus (16 lines) Data Bus (8 lines) To outside world."

Similar presentations


Ads by Google