Docsity

Advanced Microprocessor Applications: Memory Port Design for Freescale MPC563 - Prof. Jano, Study Guides, Projects, Research of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 6050 ADVANCED MICROPROCESSOR APPLICATIONS
Fall 2007
Team Project Assignment #1
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 MPC563
clock rate is 66 MHz. The schematic diagram should include the following:
1. Local Bus address, data, and control line buffers (using 3.3V Low voltage Logic chips).
Name the Local Bus signals LB_xx where xx is the normal MPC563 signal name, e.g.
LB_A31,...,LB_A08, etc. Name the internal signals before/after buffering BIU_xx.
2. Address decoder and control logic to select the device being accessed through the
MPC563 Bus and control the flow of data.
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)
3. Micron MT48LC32M8A2TG-6A and Intel StrataFlash 28F320JD3-75 chips are
assigned to implement the SDRAM and the Flash EPROM memory blocks, respectively.
The dual port access to the SDRAM block should be implemented by using TS
Transceivers and Buffers mapped to a CoolRunner XPLA3 Family chip specified below.
The required refresh rate is 64ms for all 8192 rows, and automatic refresh cycles should
be used for the SDRAM chips.
Develop a synchronous state machine to deal with the timing issues of your design. You
may assume that a 133MHz (50 % duty cycle) clock generator (asynchronous with
respect to the MPC563 CPU clock) is available as a timing reference. Any glue logic
should be implemented using Xilinx XC2C512XLFG324-7 (3.3/5V, 270 user I/O pins,
propagation delay is 7ns) chips.
4. In order to simplify the glue logic your design should utilize up to two programmable
chip enable signals of the MPC563 Processor. You should give the contents of the
relevant Memory Controller registers for your approach. You should assume that the
CPU
will access to the Flash memory, the SDRAM, and the VME Bus space, respectively,
pf2

Partial preview of the text

Download Advanced Microprocessor Applications: Memory Port Design for Freescale MPC563 - Prof. Jano and more Study Guides, Projects, Research Electrical and Electronics Engineering in PDF only on Docsity!

ECE 6050 ADVANCED MICROPROCESSOR APPLICATIONS

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:

  1. Local Bus address, data, and control line buffers (using 3.3V Low voltage Logic chips). Name the Local Bus signals LB_xx where xx is the normal MPC563 signal name, e.g. LB_A31,...,LB_A08, etc. Name the internal signals before/after buffering BIU_xx.
  2. Address decoder and control logic to select the device being accessed through the MPC563 Bus and control the flow of data.

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)

  1. Micron MT48LC32M8A2TG-6A and Intel StrataFlash 28F320JD3-75 chips are assigned to implement the SDRAM and the Flash EPROM memory blocks, respectively. The dual port access to the SDRAM block should be implemented by using TS Transceivers and Buffers mapped to a CoolRunner XPLA3 Family chip specified below. The required refresh rate is 64ms for all 8192 rows, and automatic refresh cycles should be used for the SDRAM chips. Develop a synchronous state machine to deal with the timing issues of your design. You may assume that a 133MHz (50 % duty cycle) clock generator (asynchronous with respect to the MPC563 CPU clock) is available as a timing reference. Any glue logic should be implemented using Xilinx XC2C512XLFG324-7 (3.3/5V, 270 user I/O pins, propagation delay is 7ns) chips.
  2. In order to simplify the glue logic your design should utilize up to two programmable chip enable signals of the MPC563 Processor. You should give the contents of the relevant Memory Controller registers for your approach. You should assume that the CPU will access to the Flash memory, the SDRAM, and the VME Bus space, respectively,

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.