DOC PREVIEW
Toronto ECE 532 - ECE 532S Exam

This preview shows page 1-2-3 out of 8 pages.

Save
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Print First Name Last Name Student Number University of Toronto Faculty of Applied Science and Engineering Test I February 2008 BA 2139 ECE532S Digital Systems Design Examiner Paul Chow 1 There are 4 questions and 8 pages Do all questions The total number of marks is 40 The duration of the test is 50 minutes 2 ALL WORK IS TO BE DONE ON THESE SHEETS Use the back of the pages if you need more space Be sure to indicate clearly if your work continues elsewhere 3 Faculty approved calculators are permitted 4 Closed book No aids permitted 1 10 2 10 3 10 4 10 Total 10 Page 1 of 8 1 Starting with some short answer questions 2 marks a What is an elf file 2 marks b How do you figure out the amount of memory needed for a C program 2 marks c What does the mhs file do in the EDK environment 2 marks d Explain how the behaviour of blocking assign statements differ from nonblocking assign statements during simulation 2 marks e What is the Modelsim command to set the signal named iReset to 1 Page 2 of 8 10 marks 2 With the XUP V2Pro board you are asked to prototype a VOIP voice over Internet Protocol phone You will need to attach 12 bit analogue to digital A D and digital to analogue converters D A to the external pins that are provided These pins connect directly to the FPGA Since this is telephone you will only need to sample the data at 8 KHz You will develop your system with the XUP board connected to a host PC that runs all of the tools you need Draw a block diagram of your proposed system with enough detail so that it could be presented at a design review of your peers where they can provide comments Your diagram must show all of the necessary components including the external chips how the components are connected and how they are implemented indicate clearly whether a component is in FPGA logic an external chip etc To help the reviewers understand the design environment you should include how the prototype is connected to the PC and how it interacts with the tools The following is a list of some of the components that you must show in your diagram but your complete diagram may well include more MicroBlaze processor Ethernet physical layer interface PHY Ethernet controller instruction and data memory using on chip memory instruction and data memory using off chip memory XMD stub gcc A D chip D A chip OPB bus application program the program you write for the application PC UART RS232 interface serial interface on XUP board USB RS232 interface to PC USB programming cable There is more space on the next page to answer this question Page 3 of 8 Question 2 continued Page 4 of 8 3 The C programming language is commonly used as an embedded programming language An environment such as Linux takes care of a lot of magic that you now need to understand when working with an embedded application A C program has three main regions that contain the executable code the uninitialzed variables and the initialized variables 3 marks a When is the C runtime typically called crt s invoked and what does it do 2 marks b What variables are stored in the uninitialized variables region An example declaration will help to illustrate your answer 2 marks c What variables are stored in the initialized variables region An example declaration will help to illustrate your answer Page 5 of 8 3 marks d In your embedded MicroBlaze system you will have a flash memory to store the program and a separate RAM for volatile storage The memories have been arranged so that the RAM starts at address 0 and the flash starts at some high address that is not contiguous with the RAM i e the first flash address is not directly after the last RAM address Assume that the processor can execute the program directly from the flash memory and that a system reset causes the processor to jump to the first address in flash What needs to happen when the processor starts executing instructions after the reset up to the point where the application starts executing at main Page 6 of 8 4 The XUP board comes with DDR SDRAM These memories are 64 bits wide and can run with a 133MHz clock The DDR stands for double data rate which means that data is transferred on both edges of the clock so the effective bandwidth is 128 bits at 133 MHz Assume that you are capturing live video at 30 frames per second with a resolution of 1024 by 768 You will feed these frames through a hardware block that will do some processing of the images and then display the output on a monitor An entire frame must be captured before the hardware processing can begin and the frame cannot be displayed until the hardware processing has completed 2 marks a What is the data rate of the video stream in MegaBytes per second MB s Assume that you need four bytes per pixel although you are really only using three but four just makes the data alignment easier 2 marks b Assume that all of the components communicate using a single 32 bit bus running at 100 MHz Sketch the system that you envision Show a quick estimate that a single bus configuration is unlikely to work Page 7 of 8 4 marks c Sketch a block diagram showing how to build a system using direct connects such as FSLs to implement the required communication Assume that you can use a multi ported memory controller for the DDR that can provide up to eight ports 2 marks d Show that the memory bandwidth available with the DDR memory is more than adequate to support the multiple ports that are required Page 8 of 8


View Full Document

Toronto ECE 532 - ECE 532S Exam

Documents in this Course
Load more
Download ECE 532S Exam
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view ECE 532S Exam and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view ECE 532S Exam and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?