![]() |
![]() | |
![]() |
![]() |
The following is a physical and functional description of all components of the new PC-104 compliant Lightweight (LTWT) System Controller board: x23-7028. (The "x" stands for experimental Xilinx FPGA implementation).
The LTWT system controller provides an interface between the ISA bus of the PC-104 motherboard (i.e. The Ampro CoreModule 486) and the ICC Backplane. It will also be the foundation for the new stackthrough ICC bus, which will, in the future, replace the existing ICC backplane. This architecture still allows a 56-pin cable to connect to the ICC backplane.
The following is an address map usage table:
Address (hex) R/W Description 308-309 R/W ICC Data Port 30A-30B R/W ICC Address Port 30C-30D R/W Control Port 30E-30F R Read-back Option (TBI) 310 W Global FPGA Reset 311 W Disarms the Reset circuit and resets CMDENBL, LOWPOWER, and SYSRESET. 312-313 R/W Configuration Port A 314-315 R/W Configuration Port B (Board and Software Rev number) 316 R General purpose Input Port W Power Fail IRQ Enable clear 317 W Output Lamps 318 W Sets CMDENBL to value of D0 319 W TICK 31A R/W Write Program frame to FPGA Read program status (busy/ready) 31B W Re-program FPGA Command (Set PM=H) 31C R Error checking port during configuration
Options:
The controller board contains a Xilinx XC4005A FPGA device that is programmed automatically upon power-up. Depending on the length of the program this could take up to 2.8ms max. (420µs min.). If necessary, the FPGA can also be programmed by the computer by writing the programming strings to address port 31Ah.
The MAIN schematic represents the PC board level schematic. Within it are components that contain further schematics (e.g. BRAINS, GLUE) some of which contain further hierarchy levels within them. The following figure shows a schematic hierarchy tree (in the x23_7028 project unless noted):
Main
This is the main printed circuit board schematic. P1 and P2 represent the PC/104 AT bus connectors. J1 is the PC/DP connector (40 pin according the appended February 8 1995 definition). J2 is the SUBBUS connector (64 pins following the appended February 8 1995 definition). The contents of GLUE and BRAINS will be explained later. The XC17128 (U11) is the Xilinx Serial PROM. It contains the bitstream that will be downloaded onto the FPGA upon power-up or command from the computer. The IRFD020 (Q1) will drive a system reset on command from the RESET_BUTTON signal. This is similar to pressing the Reset button on the computer itself.
A watchdog timer and power monitoring IC resides on board. U10, the Linear technology LTC690 (or equivalent:LTC694, MAX694) will take a watchdog timer input on the WDI pin. This signal must be repeated at intervals of less than 1.6 seconds or a reset signal will be issued on the RESET! line. The INA111 (U12) circuit resolves the isolation problem between the DIGGND and the 28VRET (system power ground), for the power fail option. The 28v power is sampled via a voltage divider so that the INA111 will issue a PFO! (Power Fail Out) as soon as the power starts decays below 20 v. Jumper JP2 serves as a test port for the power fail circuit. Momentarily shorting JP2 should trigger U12, and make U10 issue a PFO.
JP6 and JP7 are IRQ inputs to the BNCIRQ and the SPRIRQ signals respectively. E4 through E7 and JP5 are all spare connections to extra pins on the FPGA. JP5 is connected to the TDO signal which is used in boundary scan functions. JP3 selects the kind of termination power applied on the resistor networks: 1-2: Passive (Default); 2-3: Active termination. JP4 selects the buffering option on EXPINTR!: 1-2: bypass buffer; 1-3:2-4 Buffer EXPINTR!.
All de-coupling capacitors are shown together even though they are placed directly below the devices they de-couple. This board also provides room for de-coupling resistors placed in series between power and the Vcc inputs of all 54HC parts to enhance the power supply de-coupling.
All 54HC640 (U3 through U6) octal bus transceivers and the 54HC244 (U7) can be replaced by 54BCT640's and a 54BCT244 respectively. The 220/330 ohm resistor networks (Z3 through Z7) will be installed only when using BCT bus drivers.
Glue
The Altera EPM5032 provides the glue logic necessary between the FPGA and the AT bus when the FPGA is not in a programmed state.
Note that the error checking operation on address 31Ch is not qualified with IORD! (as it should properly be). This could cause glitching on the DATA0 line while the address is not stable. This can (will) be improved.
XC17128-Serial PROM
The Xilinx XC17128 Serial PROM (or the ATT17128 e²SROM for testing) contains the program to be downloaded onto the FPGA upon power-up or on a re-program from ROM command .
Brains
The AT address bus goes into a composite symbol named Address Decode. The schematic and symbol for this part are named ADDRDEC.
ADDRDEC: Provides all the address decoding for the whole schematic. The signals DIO and IOCS16! (which are complements of each other) are generated when any part of the board is addressed.(300h through 31Fh).
the ANNUNC signal can be accessed by addressing 317h or writing to the high byte of address 316h.
A list of the decoded signals is shown below:
Address (hex) Signal Description 308 or 309 Port_A Enable ICC Data port 30A or 30B Port_B Enable ICC Address Port 30C or 30D Port_C Enable Control Port 30E or 30F Port_C Enable Readback Control Port 310 GSR Global Reset line 311 ARMRESET Disarms the Reset circuit and resets CMDENBL, LOWPOWER, and SYSRESET. 312-313 CPA Configuration Port A 314-315 CPB Configuration Port B (Board and Software Rev number) 316 INPUTPORT General purpose Input Port and Power Fail enable 317 ANNUNC Output Lamps 318 CMDENBLSEL Sets CMDENBL to value of D0 319 TICKSEL TICK 300 through 31F DIO or Enables the I/O buffers for D0 in GLUE IOCS16!
IRQ MNGR: The IRQ Manager curcuit routes the correct interrupt signals to their corresponding interrupt request lines.
2 min. TIMER: A 2 minute timer to provide an output lamp if the computer does not turn on and issue a TICK within two minutes of power-up. The timer is constructed of an 11-bit Linear Feedback Shift Register pseudo-random counter (C11LFSR schematic), to avoid the possibility of spiking on the output.
Signals definitions:
Port C R/W Signal bit 12 R PFO! 11 R EXPRD + EXPWR 10 R LOWPOWER 9 R CMDENBL/! 8 R EXPACK! (current) 6 R EXPACK (at Timeout) 5 R/W ICC_5V / BUF_OE 4 W BUF_OE! Modify Enable 3 W CMDSTRB! Modify Enable 2 W EXPWR 1 W CMDSTRB! 0 W EXPRD
ICCDATA: Internal ICC Data bus. Addressable at 308h-309h.
How do we know if the computer is qualified to issue commands? The system controller board features a fail-safe timer which is capable of resetting the computer in the event of a software or hardware malfunction which interrupts normal operation. The timer is activated by writing to the TICK address (319h). Once the timer is activated, a TICK must be written every second or the board will issue a hardware reset. The CMDENBL signal may be set or reset under software control by writing 1 or 0 (on D0) to address 318h, but it is enabled onto the backplane only when the fail-safe timer is activated. The timer may be deactivated by writing to address 311h. This not only disarms the fail-safe timer but also resets CMDENBL so that it must be explicitly re-enabled if the timer is reactivated.
For diagnostic purposes the CMDENBL/! signal which appears on the ICC backplane may be read on bit 9 of the Control port (PORT_C; address 30Eh)
Control Port Default Signal Purpose Net CPA[2:0] 000 EXPIRQ Experiment IRQ Select CPA3 0 EXPIRQ EXPIRQ Source Select CPA4 0 EXPIRQ BNCIRQ Sense CPA5 0 E12A EXPIRQ Enable CPA[8:6] 101 PFIRQ Power Failure IRQ Select CPA9 0 JP4 PFIRQ Enable CPA[12:10] 110 SPIRQ Spare IRQ Select CPA13 0 Spare IRQ Enable CPA14 1 Auto EXPWR! on ICCDATA Write Enable CPA15 1 Timeout Enable CPB[15:0] 4B01h - Board and LCA software revision number Information. (Format TBA)
NOTE: JP3, JP2 and JP4B have been removed from the board
IRQSEL bit AT IRQ IRQSEL7 IRQ9 IRQSEL6 IRQ3 IRQSEL5 IRQ4 IRQSEL4 IRQ5 IRQSEL3 IRQ6 IRQSEL2 IRQ7 IRQSEL1 IRQ10 IRQSEL0 IRQ11
On power-up, the EPLD (U2) will set PM to the default low level. This will select a Master Serial Mode on the FPGA which will automatically download its contents from the Serial PROM. Once programmed (2.8ms max.), it will begin timing the 2 minutes to make sure the computer comes up. If not, LAMP0 will be asserted, otherwise, TICK will start ticking the Processor Supervisor IC, and arming the ICC command path. The ICC Read and Write commands are asserted in the following manner:
Write Cycle
Read Cycle
A read or write cycle is considered successful if we have an EXPACK! at the end of the routine.
A test suite will be compiled and made standard for all controller
board versions. We intend to read from the ICC Address bus to
find out what version board and software revision exist in the
system. This read operation would actually read the contents of
configuration port B on one of the latest boards.
last updated: Mon Oct 15 10:36:43 2001 | webmaster@huarp.harvard.edu |
Copyright 2000 by the President and Fellows of Harvard College | |
[Home] [People] [More Info] [Research Areas] [Field Missions] [Engineering] |