English
Language : 

AMD-766 Datasheet, PDF (19/96 Pages) Advanced Micro Devices – Peripheral Bus Controller
23167B – March 2001
Preliminary Information
AMD-766TM Peripheral Bus Controller Data Sheet
PIRQ_POLA = C3A54[EDGEPIA] & PIRQA#
| ~C3A54[EDGEPIA] & (~PIRQA# | SERINTA | (C1A08[8] & IRQ14) | (C1A08[10] & IRQ15) );
PIRQ_POLB = C3A54[EDGEPIB] & PIRQB#
| ~C3A54[EDGEPIB] & (~PIRQB# | SERINTB);
PIRQ_POLC = C3A54[EDGEPIC] & PIRQC#
| ~C3A54[EDGEPIC] & (~PIRQC# | SERINTC);
PIRQ_POLD = C3A54[EDGEPID] & PIRQD#
| ~C3A54[EDGEPID] & (~PIRQD# | SERINTD);
PCI_IRQx = PIRQ_POLA & (C3A56[3:0] == 4’hx) | PIRQ_POLB & (C3A56[7:4] == 4’hx)
| PIRQ_POLC & (C3A56[11:8] == 4’hx) | PIRQ_POLD & (C3A56[15:12] == 4’hx);
PNP_IRQx = PNPIRQ2 & (C3A44[11:8] == 4’hx) | PNPIRQ1 & (C3A44[7:4] == 4’hx)
| PNPIRQ0 & (C3A44[3:0] == 4’hx);
SCI_IRQx = SCI_IRQ & (C3A42[3:0] == 4’hx) & ~C0A4B[SCI2IOA];
TCO_IRQx = TCO_IRQ & (C3A44[2:0] == IRQ[11,10,or 9]) & C3A44[3]; // only applies to IRQs[11:9]
KIRQ1
KIRQ12
= EKIRQ1 & SERIRQ1; // to the USB keyboard emulation logic
= EKIRQ12 & SERIRQ12; // to the USB keyboard emulation logic
USB_IRQ1 = ~ExternalIRQEn & KIRQ1
// signal names from USB OHCI spec
| EmulationEnable & IRQEn & OutputFull & ~AuxOutputFull;
USB_IRQ12 = ~ExternalIRQEn & KIRQ12
// signal names from USB OHCI spec
| EmulationEnable & IRQEn & OutputFull & AuxOutputFull;
ISA_IRQx
= ~(IRQx & SERIRQx ) & // ISA_IRQ[15, 14, 12, 1] not included; these eqns are below
~( (C3A56[3:0] == 4’hx) | (C3A56[7:4] == 4’hx) | (C3A56[11:8] == 4’hx)
| (C3A56[15:12] == 4’hx) | (C3A44[11:8] == 4’hx) | (C3A44[7:4] == 4’hx)
| (C3A44[3:0] == 4’hx) | (C3A42[3:0] == 4’hx);
ISA_IRQ1
= ~(USB_IRQ1) &
~( (C3A56[3:0] == 4’h1) | (C3A56[7:4] == 4’h1) | (C3A56[11:8] == 4’h1)
| (C3A56[15:12] == 4’h1) | (C3A44[11:8] == 4’h1) | (C3A44[7:4] == 4’h1)
| (C3A44[3:0] == 4’h1) | (C3A42[3:0] == 4’h1);
ISA_IRQ12 = ~({C3A46[IRQ12_SEL] == 2’b00) ? IRQ12 : USB_IRQ12) &
~( (C3A56[3:0] == 4’hC) | (C3A56[7:4] == 4’hC) | (C3A56[11:8] == 4’hC)
| (C3A56[15:12] == 4’hC) | (C3A44[11:8] == 4’hC) | (C3A44[7:4] == 4’hC)
| (C3A44[3:0] == 4’hC) | (C3A42[3:0] == 4’hC);
ISA_IRQ14 = ~(IRQ14 & SERIRQ14 ) &
~( (C3A56[3:0] == 4’hE) | (C3A56[7:4] == 4’hE) | (C3A56[11:8] == 4’hE)
| (C3A56[15:12] == 4’hE) | (C3A44[11:8] == 4’hE) | (C3A44[7:4] == 4’hE)
| (C3A44[3:0] == 4’hE) | (C3A42[3:0] == 4’hE) | C1A08[8]);
ISA_IRQ15 = ~(IRQ15 & SERIRQ15 ) &
~( (C3A56[3:0] == 4’hF) | (C3A56[7:4] == 4’hF) | (C3A56[11:8] == 4’hF)
| (C3A56[15:12] == 4’hF) | (C3A44[11:8] == 4’hF) | (C3A44[7:4] == 4’hF)
| (C3A44[3:0] == 4’hF) | (C3A42[3:0] == 4’hF) | C1A08[10]);
PIC_IRQx = ~(ISA_IRQx | PCI_IRQx | PNP_IRQx | SCI_IRQx | TCO_IRQ);
Where:
x
PIRQ[A,B,C,D]#
SERINT[y]
SERIRQ[x]
USB_IRQ[12,1]
PNPIRQ[2:0]
SCI_IRQ
TCO_IRQ
IRQx
PIC_IRQx
The PIC IRQ number, 1, 3 through 7, 9 through 12, 14, and 15.
The input PCI interrupts (with the polarity of the external signals).
The PCI interrupts captured from the SERIRQ pin (with the same polarity as the SERIRQ pin).
The ISA interrupts captured from the SERIRQ pin (with the same polarity as the SERIRQ pin).
Outputs of the USB keyboard emulation logic from the USB controller.
PNP IRQ pins (with the polarity specified by the associated GPIO register).
Active-high SCI interrupt.
TCO interrupt; PM20[TCOSCI_STS].
External interrupt pin (with the polarity of external signals).
The interrupt signals that go to the PIC.
From the above equations, a few details can be derived:
• When a PCI, PNP, or SCI interrupt is enabled onto a PIC_IRQ, then the ISA and serial IRQ capability for the
IRQ is disabled.
• External IRQs and serial IRQs are designed to be edge triggered.
19