

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!


Autumn Examinations 2011/
Module Code: ELTR
School: Mechanical, Electrical and Process Engineering
Programme Title: Bachelor of Engineering in Electronic Engineering – Year 3
Programme Code: EELXE_7_Y
External Examiner(s): Mr Ian Kennedy, Dr Andrew Donnellan Internal Examiner(s): Mr Patrick Collins
Instructions: Answer ALL questions. Location: B Software: Xilinx ISE 10.
Duration: 3 hours
Sitting: Autumn 2012
Requirements for this examination:
Note to Candidates: Please check the Programme Title and the Module Title to ensure that you have received the correct examination paper. If in doubt please contact an Invigilator.
Note : For this exam you must create the following directories : C:\StudentUse\ELX3AutumnExam\Q C:\StudentUse\ELX3AutumnExam\Q All your work for Q1 must be saved to the Q1 directory and all your work for Q must be saved to the Q2 directory. At the end of the exam the supervisor will be taking a copy of your work and all the files must be in the relevant directory.
Note : Do not use any names which begin with a number ( e.g. an entity called ‘ 2to1mux’ will cause problems , use ‘ twoto1mux’ instead ). Also, do not have any spaces in any file names or directory names ( e.g. ‘ two to 1 mux.vhd’ will cause a problem but ‘ two_to_1_mux.vhd’ will not ).
Q1. (a) A parity checker is used to check if a 4-bit input signal has odd parity ( i.e. an odd numbers of 1’s in the input signal ). The input signal is a four-bit bus : Inp( downto 0). The truth table is :
Inp( 3 ) Inp( 2 ) Inp(1) Inp(0) OddOut 1 0 0 0 1 (^1 0 0 1) 0 1 0 1 0 0 1 0 1 1 1 1 1 0 0 0 1 1 0 1 1 (^1 1 1 0) 1 1 1 1 1 0
Implement the circuit in VHDL. Simulate it’s operation to prove that it works as expected.
(b) Use the circuit from part (a) as a component to implement an 8-bit parity checker. This requires the use of two 4-bit parity checkers and some extra logic to process the output of the 4-bit parity circuits. The truth table is :
One 4-bit checker OddOut signal.
Second 4-bit checker OddOut signal.
8 - bit checker output ODD (1) ODD (1) NOT ODD (0) ODD (1) NOT ODD (0)^ ODD (1) NOT ODD (0) ODD (1)^ ODD (1) NOT ODD (0) NOT ODD (0) NOT ODD (0)
Implement the circuit in VHDL. Simulate it’s operation to prove that it works as expected.
[50%]