FUNCTIONAL DESCRIPTION
MICROSEQUENCER
Interrupt Mask Register (IMR)
The COM20020-5 contains an internal
microsequencer which performs all of the
control operations necessary to carry out the
The COM20020-5 is capable of generating an
interrupt signal when certain status bits become
true. A write to the IMR specifies which status
bits will be enabled to generate an interrupt. The
bit positions in the IMR are in the same position
as their corresponding status bits in the Status
Register and Diagnostic Status Register. A logic
ARCNET protocol.
It consists of a clock
generator, a 544 x 8 ROM, a program counter,
two instruction registers, an instruction decoder,
a
no-op
generator,
jump
logic,
and
reconfiguration logic.
"1" in
corresponding interrupt.
a
particular position enables the
The Status bits
The COM20020-5 derives a 10MHz and a 5MHz
clock from the external crystal. These clocks
provide the rate at which the instructions are
executed within the COM20020-5. The 10MHz
clock is the rate at which the program counter
operates, while the 5MHz clock is the rate at
which the instructions are executed. The
microprogram is stored in the ROM and the
instructions are fetched and then placed into the
instruction registers. One register holds the
opcode, while the other holds the immediate
data. Once the instruction is fetched, it is
decoded by the internal instruction decoder, at
which point the COM20020-5 proceeds to
capable of generating an interrupt include the
Receiver Inhibited bit, New Next ID bit,
Excessive NAK bit, Reconfiguration Timer bit,
and Transmitter Available bit. No other Status
or Diagnostic Status bits can generate an
interrupt.
The five maskable status bits are ANDed with
their respective mask bits, and the results are
ORed to produce the interrupt signal. An RI
or TA interrupt is masked when the
corresponding mask bit is reset to logic "0", but
will reappear when the corresponding mask bit
is set to logic "1" again, unless the interrupt
status condition has been cleared by this time.
A RECON interrupt is cleared when the "Clear
execute the instruction.
When
a
no-op
instruction is encountered, the microsequencer
enters a timed loop and the program counter is
temporarily stopped until the loop is complete.
When a jump instruction is encountered, the
program counter is loaded with the jump
address from the ROM. The COM20020-5
contains an internal reconfiguration timer which
interrupts the microsequencer if it has timed out.
At this point the program counter is cleared and
the MYRECON bit of the Diagnostic Status
Register is set.
Flags" command is issued.
An EXCNAK
interrupt is cleared when the "POR Clear Flags"
command is issued. A New Next ID interrupt is
cleared by reading the New Next ID Register.
The Interrupt Mask Register defaults to the
value 0000 0000 upon either hardware or
software reset.
Data Register
This read/write 8-bit register is used as the
channel through which the data to and from the
RAM passes. The data is placed in or retrieved
from the address location presently specified by
the address pointer. The contents of the Data
INTERNAL REGISTERS
The COM20020-5 contains eight internal
registers.
Tables 1 and 2 illustrate the
COM20020-5 register map. Reserved locations
should not be accessed. All undefined bits
are read as undefined and must be written as
logic "0".
Register are undefined upon hardware reset.
In
case of READ operation, the Data Register is
loaded with the contents of COM20020-5
18