

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The instructions for lab nine of the ece 3550 digital design course, focusing on the microprocessor interface to an i/o chip. It covers signal states, pulse widths, and register operations. Students are required to create schematics and vhdl code for various tasks.
Typology: Lab Reports
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Fall 2008 Prelab Assignment for Lab Nine
The microprocessor interface to the I/O chip is only enabled when the CS* (Chip Select, active-low) signal is at low level. If CS* is at high level then the D7,…, D data bus signals must be in high-impedance state. Signals WR* (write) and RD* (read) cannot be asserted simultaneously (they are mutually exclusive). Signal RDY* should be asserted when CS* and either WR* or RD* are asserted. The data on the D7,…, D0 lines should be captured in the POUT_reg register at the ↑ edge of the WR* signal while CS=0 and A1=A0=0. When generated, signal OUT must have a pulse width of at least 60ns. It is guaranteed that the minimum pulse with for signal INP* is at least 70ns. It is also guaranteed that the data on the P7,…, P0 peripheral data lines is stable when INP* is asserted. Signal INP* can be asserted at any point in time and the data on the PIN7,…, P0 lines should be captured in the PIN_reg register regardless of the status of the signals of the microprocessor interface. Register bit INP_S* is cleared when the low level of signal INP* is sensed by the I/O chip and it set back to high by the ↑ edge of the RD* signal while CS=0 and A1=A0=1. When signal RESET is asserted signal OUT* and register INP_S* should return to high level. The source of the I/O chip’s CLK signal is the 50MHz clock available on the Nexys 2 Board.
The programmer’s model (the microprocessor interface) is as follows:
CS* A1A0 WR* RD* D7… D0 POUT_reg7… 0 OUT* INP*
1 X X X X Z….Z no change 1 X
0 0 0 ↑ 1 data D7….D0 1 X
0 0 1 ↑ 1 X…X 1 no change -ve pulse X
0 1 0 1 0 PIN_reg7…0 no change 1 X
0 1 1 1 0 X…X INP_S* no change 1 X
CS* A1A0 WR* RD* D7… D0 POUT_reg7… 0 OUT* INP*
0 X X 1 1 Z….Z no change 1 X
The D7,…, D0 microprocessor data bus signals should be driven by switches SW7,…, SW0 on your Nexys 2 Board. The status of the D7,…, D0 signals should be displayed on LEDs LD7,…, LD0 on the Nexys 2 Board. Signals RESET, CS, A1, A0, WR, RD and PIN7,…, PIN0 should be generated by switches on your Breadboard. Signals WR* and RD* must be made bounce-free. Signal INP* should be driven by a function generator. Signal OUT* must be visualized on a logic analyzer. Signals POUT7,…, POUT0, PIN7,…, PIN0 and RDY* should be visualized using LEDs on your Breadboard.
Task One
Draw a detailed schematic diagram for Task 1. You should make your own signal assignment with respect to Hirose connector pins. The 50MHz CLK source on the Nexys 2 Board should be fed to one of the GCLKx inputs of the FPGA chip. In your schematic diagram the FPGA and the Nexys 2 Board should be represented by those FPGA pin numbers and Hirose connector pin numbers, respectively, that are being used.
Develop a VHDL source code module and a proper .do file for simulation for Task One.
Task Two
Draw a detailed schematic diagram for Task 2. You should make your own signal assignment with respect to Hirose connector pins.
Develop a VHDL source code module and a proper .do file for simulation for Task Two.
Task Three
Draw a detailed schematic diagram for Task 3. You should make your own signal assignment with respect to Hirose connector pins.
Develop a VHDL source code module and a proper .do file for simulation for Task Three.