24
Chapter 3. Hardware
;----------------------------------- Boolean Equation Segment ------
EQUATIONS
IF (MON_ON) THEN ; Monitor switched on
BEGIN
A16_ROM = LED
IF (MAP[1..0] = #b11) THEN
BEGIN
RD_RAM = PSEN + /A[16] ; 8051 Mode
A16_RAM = 0;
END
ELSE
BEGIN
RD_RAM = PSEN
A16_RAM = A[16]
END
IF (MON_RUN) THEN
BEGIN
MON_RUN = /RST
IF (MAP[1..0] = #b11) THEN ; 8051 Mode ?
BEGIN
CS_RAM = /(A[15] * A[14] * A[13]) ; Address 0 - dfff
END
ELSE
BEGIN
CS_RAM = /(A[17] * A[16] * A[15] * A[14] * A[13]) ; Address 0 - 3dfff
END
CS_ROM = A[17] * A[16] * A[15] * A[14] * ; Address 3e800 - 3efff
A[13] * /A[12] * A[11] +
A[17] * A[16] * A[15] * A[14] * ; Address 3f000 - 3ffff
A[13] * A[12]
END
ELSE
BEGIN
CS_ROM = 1 ; ROM always enabled
CS_RAM = 0 ; RAM always disabled
IF (A[17..10] = #b11111010) THEN ; Address 3e800 - 3ebff
BEGIN
MON_RUN = PSEN * /RST
END
ELSE
BEGIN
MON_RUN = 0
END
END
END
ELSE ; Monitor switched off
BEGIN
CASE (MAP[1..0])
BEGIN
0: BEGIN
CS_RAM =/(A[17] * A[16]) ; RAM 00000 - 2ffff
CS_ROM = A[17] * A[16] * /CS_UART * /CS_USER ; ROM 30000 - 3dfff
A16_ROM = A[16]
A16_RAM = A[16]
RD_RAM = PSEN
END
1: BEGIN
CS_RAM = /A[17] ; RAM 00000 - 1ffff
CS_ROM = A[17] * /CS_UART * /CS_USER ; ROM 20000 - 3dfff
A16_ROM = A[16]
A16_RAM = A[16]
RD_RAM = PSEN
END
2: BEGIN
CS_RAM = /A[17] * /A[16] * /A[15] ; RAM 0000 - 07FFF
CS_ROM = /CS_RAM * /CS_UART * /CS_USER ; ROM 00000 - 3ffff
Summary of Contents for MCB251
Page 6: ...vi Contents...
Page 18: ...12 Chapter 2 Setup...
Page 24: ...18 Chapter 3 Hardware Schematics...
Page 25: ...MCB251 Evaluation Board User s Guide 19...
Page 26: ...20 Chapter 3 Hardware...
Page 27: ...MCB251 Evaluation Board User s Guide 21...