AMD Am186TMER Microscope & Magnifier User Manual


 
Table of Contents
vi
CHAPTER 5 CHIP SELECT UNIT
5.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
5.2 Chip Select Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
5.3 Ready and Wait-State Programming. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
5.4 Chip Select Overlap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
5.5 Chip Select Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
5.5.1 Upper Memory Chip Select Register (UMCS, Offset A0h) . . . . . . 5-4
5.5.2 Low Memory Chip Select Register (LMCS, Offset A2h) . . . . . . . . 5-6
5.5.3 Midrange Memory Chip Select Register (MMCS, Offset A6h) . . . 5-8
5.5.4 PCS
and MCS Auxiliary Register (MPCS, Offset A8h) . . . . . . . . 5-10
5.5.5 Peripheral Chip Select Register (PACS, Offset A4h) . . . . . . . . . 5-12
CHAPTER 6 INTERNAL MEMORY
6.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
6.2 Interaction with External RAM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
6.3 Emulator and Debug Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
6.3.1 Internal Memory Disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
6.3.2 Show Read Enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
6.4 Internal Memory Chip Select Register (IMCS, Offset ACh) . . . . . . . . . . . 6-3
CHAPTER 7 REFRESH CONTROL UNIT
7.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
7.1.1 Memory Partition Register (MDRAM, Offset E0h) . . . . . . . . . . . . 7-1
7.1.2 Clock Prescaler Register (CDRAM, Offset E2h) . . . . . . . . . . . . . . 7-2
7.1.3 Enable RCU Register (EDRAM, Offset E4h) . . . . . . . . . . . . . . . . 7-2
CHAPTER 8 INTERRUPT CONTROL UNIT
8.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
8.1.1 Definitions of Interrupt Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
8.1.1.1 Interrupt Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
8.1.1.2 Interrupt Vector Table . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
8.1.1.3 Maskable and Nonmaskable Interrupts. . . . . . . . . . . . . . 8-2
8.1.1.4 Interrupt Enable Flag (IF) . . . . . . . . . . . . . . . . . . . . . . . . 8-2
8.1.1.5 Interrupt Mask Bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
8.1.1.6 Interrupt Priority. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
8.1.1.7 Software Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
8.1.1.8 Software Exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-3
8.1.2 Interrupt Conditions and Sequence. . . . . . . . . . . . . . . . . . . . . . . . 8-4
8.1.2.1 Nonmaskable Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . 8-4
8.1.2.2 Maskable Hardware Interrupts . . . . . . . . . . . . . . . . . . . . 8-4
8.1.2.3 The Interrupt Request . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4
8.1.2.4 Interrupt Servicing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4
8.1.2.5 Returning from the Interrupt . . . . . . . . . . . . . . . . . . . . . . 8-4
8.1.3 Interrupt Priority. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5
8.1.3.1 Nonmaskable Interrupts and Software
Interrupt Priority. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5
8.1.3.2 Maskable Hardware Interrupt Priority . . . . . . . . . . . . . . . 8-5
8.1.4 Software Exceptions, Traps, and NMI. . . . . . . . . . . . . . . . . . . . . . 8-6
8.1.4.1 Divide Error Exception (Interrupt Type 00h) . . . . . . . . . . 8-6
8.1.4.2 Trace Interrupt (Interrupt Type 01h) . . . . . . . . . . . . . . . . 8-6
8.1.4.3 Nonmaskable Interrupt—NMI (Interrupt Type 02h). . . . . 8-6
8.1.4.4 Breakpoint Interrupt (Interrupt Type 03h) . . . . . . . . . . . . 8-7
8.1.4.5 INTO Detected Overflow Exception
(Interrupt Type 04h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-7
8.1.4.6 Array BOUNDS Exception (Interrupt Type 05h) . . . . . . . 8-7
8.1.4.7 Unused Opcode Exception (Interrupt Type 06h). . . . . . . 8-7
8.1.4.8 ESC Opcode Exception (Interrupt Type 07h) . . . . . . . . . 8-7
8.1.5 Interrupt Acknowledge. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8
8.1.6 Interrupt Controller Reset Conditions . . . . . . . . . . . . . . . . . . . . . . 8-9