

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Fall 2007 Team Project Assignment # Total: 100 pts. (35% of course grade) Due 6:00pm, Tuesday, October 23, 2007
Design memory ports and associated control circuits for a board named VME64x_BIU that is interfaced to the synchronous External Bus of the Freescale MPC563 Embedded Processor (5V I/O tolerant). A functional block diagram of the board is given on the next page. The MPC clock rate is 66 MHz. The schematic diagram should include the following:
Address Range (in hex) Devices
5000 0000 โ 50FF FFFF Dual Port SDRAM (32-bit port, 16Mbytes) 6000 0000 โ 601F FFFF Flash EPROM (32-bit port, 2Mbytes) 6020 0000 โ 6021 FFFF VME64x Bus Data (32-bit port, 128Kbytes) 6022 0000 โ 6023 FFFF VME64x Bus Address Latch (32-bit port) 6024 0000 โ 6025 FFFF VME64x Bus Addr. Mod. Latch (6-bit port) 6026 0000 โ 6027 FFFF VME64x Interrupt Request (8-bit port) 6028 0000 โ 6029 FFFF VME64x Interrupt Status (8-bit port) 602A 0000 โ 602B FFFF Reserved (32-bit port)
using burst transfers only. Commands to be implemented for the SDRAM include Initialization (when signal PWRUP# is asserted), Load Mode Register, Command Inhibit, NOP, Active, Read, Write, Auto Precharge, and Auto Refresh (distributed). Only the Read commands should be implemented for the Flash memory block (no programming is required).
Draw a timing diagram to show the signals you have devised with respect to the MPC563-66 bus signals. The 133MHz clock of your state machine should be included as a reference. In addition, do a critical timing analysis for both memory chips. Along with the critical timing analysis, the timing diagram should prove the correctness of your design concept.
Use the Mentor Graphics HDL tools (HDL Designer, ModelSim, and LeonardoSpectrum) to enter, compile and simulate (with detailed timing) your CPLD design files, and plot a schematic diagram of your circuits. On the schematic, all nets must have labels and all devices must have distinct names- such as Uxx, where xx is a number, e.g., U00, etc.
Your Project Report should include the sections as follows: Introduction, Design, and Conclusion.
The Data Sheets (or just pointers to them) for the Freescale MPC563-66, the Micron MT48LC32M8A2TG-6A SDRAM, the Intel 28F320J3 Flash and the XC2C512XLFG324-7 CPLD chip by Xilinx, respectively, are given on the Class Web Page. The ECE 355 Class Web Page includes a Tutorial on using the MG tools. Further materials can be found on the Xilinx Home Page, and on the other related manufacturers' Web Pages.
Both 32-bit memory ports should support dynamic bus sizing (i. e., byte, half-word, and word data), however, each data type is required to be properly aligned. You may assume that the VME64x Bus Port supports only aligned 32-bit transfers. If these condition are not met, or a write attempt is made to the Flash area the selected memory module should respond by asserting the TEA* signal.
With respect to Address Types, no Reservation Cycles and โShowโ Cycles are supported (refer to Table 9-8 on Page 9-40 of the MPC561/563 Manual). You may assume that the MPC External Bus Operates in Pre-Discharge Mode (3.3V โ 5V signals are tolerated). You may also assume that the number of MPC External Bus Burst cycles is limited to four.