The 80386DX CPU had 132 pins:
80386DX and 80386SX pinouts:General architecture:
Of these pins on the DX variant:
32 pins -- data 30 pins -- address 4 pins -- byte enables in 32-bit writes 1 pin -- Read/write 1 pin -- Data/Control 1 pin -- Memory/IO 1 pin -- Bus mastering lock issued by CPU 1 pin -- Bus16 size (16-bit when asserted, normally 32-bit) 1 pin -- Next address (for pipelining) 1 pin -- Address valid signal -- 73 pins -- For basic I/O 3 pins -- Math-coprocessor support 1 pin -- Ready (or Wait, for bus cycles to complete) 2 pins -- Hold and Hold Acknowledge (for bus mastering) 2 pins -- Interrupt and Non-masktable Interrupt -- 8 pins -- General coordination with external peripherals 1 pin -- Reset 1 pin -- Double-pumped clock -- 2 pins -- System inputThe rest of the pins are unused, go to VSS or VCC. This means that for a full 80386 "motherboard" only 83 pins are required to fully support its operation, 67 of which are address, data, and data type, leaving really only 15 pins of complex operation for a state machine.
----- Would anybody be able to help me create this 80386 motherboard using an AMD Am386 CPU, which is a static CPU operating from 0 to 40 MHz? I would like to get it working with a single-step operation for design validation, and then to begin ramping it up.
I figure I'll have an area of ROM which the CPU boots to load, which is a tiny real mode program, which begins computing something that can be exam- ined by the FPGA to test successful operation. And then move on to more complex operations, including a custom microkernel.