HØGSKOLEN I SØR-TRØNDELAG Avdeling for teknologi
|
|
- Brenda Warren
- 6 years ago
- Views:
Transcription
1 HØGSKOLEN I SØR-TRØNDELAG Avdeling for teknologi Language: English Exam date: 3. December 2014 Duration: Subject code: Subject name: Class: 5 hours TELE2010 3EE Credits: 10 Subject teacher: (navn og telefonnr på eksamensdagen) Bjørn B. Larsen, Kontaktperson(adm.) (fylles ut ved behov kun ved kursemner) Helpers: Oppgavesettet består av: (antall oppgaver og antall sider inkl. forside) Calculator type B 4 tasks on 13 pages Appendix: (antall sider) Comment: Students who sit the examination time out may retain the assignment text. NB! Read through the entire exam before ning work, and dispose time. If something is unclear in the problem set, you should make your own assumptions and explain this in your answer. Good luck!
2 Examination set TELE December 2014 Page 2 of 15 Task 1 (50 %) This is a multiple-choice task: For each question, you must check for the option that you think is right. If you select not to answer tick the box for "I don t know." Correct answer gives 2 points, wrong answer gives -1 point "I don t know" gives 0 points. Unanswered questions give -1 point. Hedge is allowed. Use the table on the last page. Separate it from the task set and submit it as part of your answers. NB! There are two tables: One to the teacher and one for you. If there is a discrepancy between the contents of the tables, the submitted teacher copy is deemed the wanted responses. Questions about VHDL code concern only the code that is shown. It is assumed that the necessary types and signal / variable is defined correctly. 1. What is correct? A) A tracking AD-converter does not need an output register to keep the value between two conversions. B) A successive approach AD-converter gives the result serially. C) A sub-ranging flash AD-converter has half the number of comparators compared to an ordinary flash AD-converter. D) I don t know 2. What is correct for a variable in VHDL? A) A variable is sued to send a value from one process to another process. B) A variable gets its new value immediately. C) A variable gets its value one delta after the final change in the time queue. D) I don t know 3. What is correct when simulating a variable in VHDL? A) A variable is evaluated when the variables it depends on changes their values. B) If many different values are assigned to a variable at the same time, the simulator will select the final assignment as the new value. C) A variable does not have a time queue.
3 Examination set TELE December 2014 Page 3 of What is correct when synthesizing a VHDL variable? A) The synthesizer will insert a latch if a signal is used before the variables it depends on changes their values. B) The synthesizer will swap the definition sequence such that the signal value is correct if the signal is used before the variables it depends on have been assigned new values. C) If a variable is assigned many different values at the same time instant, the synthesizer will let the first assignment be the new value. 5. What is correct when synthesizing a VHDL signal? A) If a signal is not completely defined on all states the synthesizer will remove the signal. B) If a signal is not completely defined on all states the synthesizer will remove the gate that was supposed to drive the signal. C) If a signal is not completely defined on all the states, the synthesizer will infer a latch that shall remember the signal value. 6. What is this VHDL-code modelling? A) A two-bit counter. B) An AND-gate. C) Divide by two. oppg_1_6: process (q_i) is case (q_in) is when "00" => O <= '0'; when "01" => O <= '0' when "10" => O <= '0' when "11" => O <= '1' when others => O <= '0' end case; end process; 7. What is this code modelling? A) A circular shift register with swapped signal values. B) This has no function at all. C) A parallel register with swapped signal values. oppg_1_7: process (clk) is if rising_edge(clk) then q(msb downto 0) <= q(0 to msb); end process; 8. What is correct when simulating a VHDL variable? A) A variable is used for intermediate values. B) A global variable is used to make the internal values inside a function or a process available to other processes when it has the same name in the processes. C) A variable may be assigned a time queue and behave as a signal if that is appropriate.
4 Examination set TELE December 2014 Page 4 of What is this code modelling? A) Evaluates s_41 = 2(s_ ). B) Evaluates s_41 = 2(previous value of s_ ). C) Nothing. oppg_1_9: process (s_42) is variable v_9: integer range 0 to 127; -- v_9 := s_ ; -- s_41 <= v_9 * 2; -- end process; 10. You are designing a four-bit register that shall make random test vectors when the control signal test is '1'. The register shall not change its value when test is '0'. The register shall trigger on positive edge of the clock signal. Which code does this? A) Oppg_1_10_A: process (clk) if rising_edge(clk) then if test = '1' then q <= q(0) & q(3 downto 1); end process Oppg_1_10_A; B) Oppg_1_10_B: process (clk) if rising_edge(clk) then if test = '1' then q <= q(1) xor q(0) & q(3 downto 1); end process Oppg_1_10_B; C) Oppg_1_10_C: process (clk) if rising_edge(clk) then if test = '1' then q <= q(0) & q(3 downto 1); else q <= i; end process Oppg_1_10_C;
5 Examination set TELE December 2014 Page 5 of You shall design a D-register with asynchronous SET and RESET, that is active high ('1'). RESET has higher priority than SET. The register shall trigger on falling edge of the clocksignal. Which code does this? A) Oppg_1_11_A: PROCESS (a, b, c) BEGIN IF a = '1' THEN q <= '1'; ELSIF b = '1' THEN q <= '0'; ELSIF falling_edge(c) THEN q <= d; END IF; END PROCESS Oppg_1_11_A; B) Oppg_1_11_B: PROCESS (a, b, c) BEGIN IF a = '1' THEN q <= '0'; ELSIF b = '1' THEN q <= '1'; ELSIF falling_edge(c) THEN q <= d; END IF; END PROCESS Oppg_1_11_B; C) Oppg_1_11_C: PROCESS (a, b, c) BEGIN IF falling_edge(c) THEN IF a = '1' THEN q <= '1'; ELSIF b = '1' THEN q <= '0'; ELSE q <= d; END IF; END IF; END PROCESS Oppg_1_11_C; 12. How is the D-algorithm for test-generation? A) The D-path through a sequential circuit must pass a register. B) A fault on the D-path must be propagated to an output or a register to be detected. C) Faults on the D-path must be collected in a signature register and shifted from that. 13. What does the single fault hypothesis tell us? A) The circuit has one or none faults. B) We generate a test for one fault on each vector. C) We may detect all faults present in a circuit if it is not too large.
6 Examination set TELE December 2014 Page 6 of One of the transistors in a logic gate has a fault such that it is always OFF. What do you know about such faults? A) The fault is untestable. B) The fault may be detected by measuring the quiescent current on some test vectors. C) The fault may be detected by two vectors in a sequence. 15. Which statement is correct? A) A circuit with redundancy need not to be tested, because it will always provide the correct answer. B) A circuit with redundancy may sometimes avoid spikes on the output. C) A circuit with redundancy is more effective than one without. 16. What is the smallest number of test vectors for a complete test of an XOR-gate? A) 2 B) 3 C) What is the maximum number of different vectors from an N-bit LFSR (Pseudo random generator)? A) 2 N + 1 B) 2 N C) 2 N Which statement is wrong? A) A signature test may mask multiple faults. B) A signature test will usually not detect more than 50 % of the faults in a circuit. C) A signature test may be enhanced by setting a new star-vector during the test. D) I don t know 19. Which statement is incorrect for a filter in a signal path that shall operate in real time? A) A filter in an FPGA may be utilised for higher sampling frequencies than what is possible in a Digital Signal Processor (DSP). B) A filter in an FPGA will give the same result as on an a DSP. C) A digital filter in an FPGA may have vertical edges (unlimited number of poles). D) I don t know
7 Examination set TELE December 2014 Page 7 of 15 Task 2 (20 %) You are designing a state machine (FSM) that can be used to de-bounce the signal from a switch and provide a stable signal which is one clock period long. The input signal must be active for at least one clock period. If the input is shorter than a clock period it is regarded a transient and there shall be no pulse from the pulse shaper. The figure below shows two examples of input signals from a switch (s) and the corresponding outputs (out). s 1 + ut 1 Clk_2_Hz s 2 ut 2 PulsFormer s ut clk s1 is the signal from an ideal de-bounced switch, while s2 is an example of what a real signal may look like. ut1 and ut2 are the related outputs. We need a pulse that is exactly one clock period long. The FSM in this figure solves the task. 1 START TILSTAND ut s VENT 0 1 GLITCH PULS 1
8 Examination set TELE December 2014 Page 8 of 15 Your entity is like this: library ieee; use ieee.std_logic_1164.all; entity PulseShaper is -- Defines inputs and outputs: port( s, clk : in std_logic ; out : out std_logic ); end PulseShaper; A) Make a block diagram for the FSM with necessary functions and internal signals. Almost anything that resembles this. You may have one or two combinatorial blocks. s Clk current_state combinatorial state_register next_state PulseShaper out Signal names must be included. The VHDL code in part B and C must resemble this schematic diagram. The same number of combinatorial processes, the same names B) Give the VHDL-code that defines the necessary types and signals for the FSM. -- First the type for the states. Wait is named wait_s to avoid conflict with the -- reserved word wait. type states is (start, glitch, pulse, wait_s); -- Defines the signals that are used for current_state and next_state. signal current_state, next_state : states;
9 Examination set TELE December 2014 Page 9 of 15 C) Write the VHDL-code for the architecture of the FSM. The type and signals where defined in part B. You do not need them here, but as this was not specified, you are allowed to include everything. Remember comments to make the code readable! The schematic is with one combinational block, hence the VHDL-code should also be with one combinational process state_register: process (clock) if rising_edge(clock) then current_state <= next_state; end process state_register; -- The combinatorial process: combinational : process (s, current_state) case (current_state) is when start => -- In start out is 0, -- and we jump to glitch if s = 0, else we stay in start. out <= '0'; if (s = '0') then next_state <= glitch ; else next_state <= start ; when glitch => out <= '0'; if (s = '0') then next_state <= pulse ; else next_state <= start ; when pulse => out <= '1'; if (s = '0') then next_state <= wait_s ; else next_state <= start ; when wait_s => out <= '0'; if (s = '0') then next_state <= wait_s;
10 Examination set TELE December 2014 Page 10 of 15 else next_state <= start ; when others => -- Standard ending. -- The FSM is in an illegal state, and we set the output to the safe value, --- and we let next_state be start out <= '0'; next_state <= start ; end case; end process combinational; end architecture rtl ;
11 Examination set TELE December 2014 Page 11 of 15 Task 3 (20 %) The names in the circuit are fault locations for modelled faults. A) Use the D-algorithm to generate a test for F-Stuck-at-0 (SA0). One test vector is sufficient. Copy the schematic to your paper and show and justify how you solve it. Identify the faults on the D-path that are detected by the test. Identify the faults that are not on the D-path but still are detected by this test. A = 1 B1 & F D 1 H D 1 & Q D B = 1 C = 0 E = 1 B2 & G G1= 0 G2 I 1 J Insert D at F. D is defined as 1 for a fault-free signal, and 0 for a signal with a fault. In this case Stuck-at-0. To have F=1 requires AB = 11. Then we propagate D towards the output and set the necessary conditions. This implies that G1 and G must be 0 (for a NOR-gate), and J must be 1 (AND-gate). Finally these requirements are propagated towards the inputs. We need G1=0, which implies that G=0 and BC=10, because B has already been evaluated to 1. G=0 causes I=1 which causes J=1, and the last requirement is satisfied. E may be 0 or 1. The two valid test-vectors are: ABCE = 1100 ABCE = 1101 For both tests, the expected value output is Q = 1. Detected faults on the D-path are:
12 Examination set TELE December 2014 Page 12 of 15 F SA0, H SA0, Q SA0. Detected faults along the D-path are given for the vector ABCE = J SA0, E SA0, A SA0, B1 SA0. B) Generate a test for a delay-fault from A to Q. Explain how it functions. We need to do this test in two steps. We initialize the test by setting the inputs such that a change in A will propagate to Q. Then A is changed and the value on Q is measured. The test input is applied by a register with a separate clock. The output is latched in a register with a separate clock at a time equal to the required maximum delay. The task did not specify if we should test for slow-to-rise or slow-to-fall. Any good solution will be accepted. We may use the vector from part A as the initial vector. We have already shown that this vector detects A SA0. Then the two vectors needed to test the propagation delay are: ABCE = 1101 and The output Q will change from 1 to 0. C) The circuit shall be modified for scan-test. How can you do this? Give a sequence where you utilise scan to apply a test vector and to catch the result and read it. To have F=1 requires AB = 11.
13 Examination set TELE December 2014 Page 13 of 15 Task 4 (10 %) A) Specify and give the definition of the measures used to specify the accuracy (or inaccuracy) to an analogue / digital converter. Linearity. How well the output-voltage fits a straight line. Differential linearity. The difference between to neighbouring steps. Conversion time Conversion rate (MSPS) B) Explain shortly how a dual-ramp A/D-converter operates. _ +
14 Examination set TELE December 2014 Page 14 of 15 C) What is a glitch with D/A-converters? Specify how glitches may appear and how they may be removed ("a de-glitcher"). A glitch is a transient on the output when more than one bit changes its value at the same time. A de-glitcher should be a sample-and-hold circuit, although it might also be a low-pass filter. V inn
15 Kandidatnummer: Eksamen i emne TELE2010 Side av 3. December 2014 Digital systemkonstruksjon Studentens kopi Submittal paper for Task 1. Student copy If there are any discrepancies between the marks on the Teacher copy and the Student copy, the Teacher copy is regarded the intended answer. You may keep this table as your copy. Fill in candidate number and page number. Oppgave a b c d 1 A 2 B 3 C 4 A 5 C 6 B updated 7 C 8 A 9 A 10 B 11 B 12 B 13 A 14 C 15 B 16 B Oppdatert C 18 B 19 C Side 15 av 15
Sequential Logic - Module 5
Sequential Logic Module 5 Jim Duckworth, WPI 1 Latches and Flip-Flops Implemented by using signals in IF statements that are not completely specified Necessary latches or registers are inferred by the
More informationLecture 12 VHDL Synthesis
CPE 487: Digital System Design Spring 2018 Lecture 12 VHDL Synthesis Bryan Ackland Department of Electrical and Computer Engineering Stevens Institute of Technology Hoboken, NJ 07030 1 What is Synthesis?
More informationSchedule. ECE U530 Digital Hardware Synthesis. Rest of Semester. Midterm Question 1a
ECE U530 Digital Hardware Synthesis Prof. Miriam Leeser mel@coe.neu.edu November 8, 2006 Midterm Average: 70 Lecture 16: Midterm Solutions Homework 6: Calculator Handshaking HW 6: Due Wednesday, November
More informationVHDL: RTL Synthesis Basics. 1 of 59
VHDL: RTL Synthesis Basics 1 of 59 Goals To learn the basics of RTL synthesis. To be able to synthesize a digital system, given its VHDL model. To be able to relate VHDL code to its synthesized output.
More informationAssignment. Last time. Last time. ECE 4514 Digital Design II. Back to the big picture. Back to the big picture
Assignment Last time Project 4: Using synthesis tools Synplify Pro and Webpack Due 11/11 ning of class Generics Used to parameterize models E.g., Delay, bit width Configurations Configuration specification
More informationTwo HDLs used today VHDL. Why VHDL? Introduction to Structured VLSI Design
Two HDLs used today Introduction to Structured VLSI Design VHDL I VHDL and Verilog Syntax and ``appearance'' of the two languages are very different Capabilities and scopes are quite similar Both are industrial
More informationVHDL. VHDL History. Why VHDL? Introduction to Structured VLSI Design. Very High Speed Integrated Circuit (VHSIC) Hardware Description Language
VHDL Introduction to Structured VLSI Design VHDL I Very High Speed Integrated Circuit (VHSIC) Hardware Description Language Joachim Rodrigues A Technology Independent, Standard Hardware description Language
More informationECE 448 Lecture 4. Sequential-Circuit Building Blocks. Mixing Description Styles
ECE 448 Lecture 4 Sequential-Circuit Building Blocks Mixing Description Styles George Mason University Reading Required P. Chu, FPGA Prototyping by VHDL Examples Chapter 4, Regular Sequential Circuit Recommended
More informationLuleå University of Technology Kurskod SMD152 Datum Skrivtid
Luleå University of Technology Kurskod SMD152 Datum 2003-10-24 Skrivtid 9.00 13.00 1 Manual synthesis (10 p, 2 p each) Here you are given five different VHDL models. Your task is to draw the schematics
More informationVHDL Modeling Behavior from Synthesis Perspective -Part B - EL 310 Erkay Savaş Sabancı University
VHDL Modeling Behavior from Synthesis Perspective -Part B - EL 310 Erkay Savaş Sabancı University 1 The Wait Statement Syntax wait until condition; Different forms wait until(clk event and clk = 1 ); wait
More informationWritten exam for IE1204/5 Digital Design Thursday 29/
Written exam for IE1204/5 Digital Design Thursday 29/10 2015 9.00-13.00 General Information Examiner: Ingo Sander. Teacher: William Sandqvist phone 08-7904487 Exam text does not have to be returned when
More informationSequential Statement
Sequential Statement Sequential Logic Output depends not only on current input values but also on previous input values. Are building blocks of; Counters Shift registers Memories Flip flops are basic sequential
More informationIT T35 Digital system desigm y - ii /s - iii
UNIT - V Introduction to Verilog Hardware Description Language Introduction HDL for combinational circuits Sequential circuits Registers and counters HDL description for binary multiplier. 5.1 INTRODUCTION
More informationDESCRIPTION OF DIGITAL CIRCUITS USING VHDL
DESCRIPTION OF DIGITAL CIRCUITS USING VHDL Combinatinal circuits Sequential circuits Design organization. Generic design Iterative operations Authors: Luis Entrena Arrontes, Celia López, Mario García,
More informationControl and Datapath 8
Control and Datapath 8 Engineering attempts to develop design methods that break a problem up into separate steps to simplify the design and increase the likelihood of a correct solution. Digital system
More informationHardware Description Languages. Modeling Complex Systems
Hardware Description Languages Modeling Complex Systems 1 Outline (Raising the Abstraction Level) The Process Statement if-then, if-then-else, if-then-elsif, case, while, for Sensitivity list Signals vs.
More informationDIGITAL LOGIC DESIGN VHDL Coding for FPGAs Unit 3
DIGITAL LOGIC DESIGN VHDL Coding for FPGAs Unit 3 BEHAVIORAL DESCRIPTION Asynchronous processes (decoder, mux, encoder, etc): if-else, case, for-loop. Arithmetic expressions inside asynchronous processes.
More informationInferring Storage Elements
Inferring Storage Elements In our designs, we usually use flip-flops as our storage elements. Sometimes we use latches, but not often. Latches are smaller in size, but create special, often difficult situations
More informationECE 545 Lecture 6. Behavioral Modeling of Sequential-Circuit Building Blocks. George Mason University
ECE 545 Lecture 6 Behavioral Modeling of Sequential-Circuit Building Blocks George Mason University Required reading P. Chu, RTL Hardware Design using VHDL Chapter 5.1, VHDL Process Chapter 8, Sequential
More informationVHDL simulation and synthesis
VHDL simulation and synthesis How we treat VHDL in this course You will not become an expert in VHDL after taking this course The goal is that you should learn how VHDL can be used for simulation and synthesis
More informationSequential Circuit Design: Principle
Sequential Circuit Design: Principle Chapter 8 1 Outline 1. Overview on sequential circuits 2. Synchronous circuits 3. Danger of synthesizing async circuit 4. Inference of basic memory elements 5. Simple
More informationNanosistemų programavimo kalbos 5 paskaita. Sekvencinių schemų projektavimas
Nanosistemų programavimo kalbos 5 paskaita Sekvencinių schemų projektavimas Terminai Combinational circuit kombinacinė schema (be atminties elementų) Sequential circuit nuosekli (trigerinė, sekvencinė)
More informationLecture 4: Modeling in VHDL (Continued ) EE 3610 Digital Systems
EE 3610: Digital Systems 1 Lecture 4: Modeling in VHDL (Continued ) Sequential Statements Use Process process (sensitivity list) variable/constant declarations Sequential Statements end process; 2 Sequential
More informationEITF35: Introduction to Structured VLSI Design
EITF35: Introduction to Structured VLSI Design Part 1.2.2: VHDL-1 Liang Liu liang.liu@eit.lth.se 1 Outline VHDL Background Basic VHDL Component An example FSM Design with VHDL Simulation & TestBench 2
More informationDIGITAL LOGIC WITH VHDL (Fall 2013) Unit 6
DIGITAL LOGIC WITH VHDL (Fall 2013) Unit 6 FINITE STATE MACHINES (FSMs) Moore Machines Mealy Machines FINITE STATE MACHINES (FSMs) Classification: Moore Machine: Outputs depend only on the current state
More informationThe University of Alabama in Huntsville ECE Department CPE Midterm Exam Solution Spring 2016
The University of Alabama in Huntsville ECE Department CPE 526 01 Midterm Exam Solution Spring 2016 1. (15 points) Write a VHDL function that accepts a std_logic_vector of arbitrary length and an integer
More informationDIGITAL LOGIC WITH VHDL (Fall 2013) Unit 3
DIGITAL LOGIC WITH VHDL (Fall 2013) Unit 3 BEHAVIORAL DESCRIPTION Asynchronous processes (decoder, mux, encoder, etc): if-else, case, for-loop. BEHAVIORAL DESCRIPTION (OR SEQUENTIAL) In this design style,
More informationSummary of FPGA & VHDL
FYS4220/9220 Summary of FPGA & VHDL Lecture #6 Jan Kenneth Bekkeng, University of Oslo - Department of Physics 16.11.2011 Curriculum (VHDL & FPGA part) Curriculum (Syllabus) defined by: Lectures Lecture6:
More informationCOE 405, Term 062. Design & Modeling of Digital Systems. HW# 1 Solution. Due date: Wednesday, March. 14
COE 405, Term 062 Design & Modeling of Digital Systems HW# 1 Solution Due date: Wednesday, March. 14 Q.1. Consider the 4-bit carry-look-ahead adder (CLA) block shown below: A 3 -A 0 B 3 -B 0 C 3 4-bit
More informationCSE 260 Introduction to Digital Logic and Computer Design. Exam 1. Your name 2/13/2014
CSE 260 Introduction to Digital Logic and Computer Design Jonathan Turner Exam 1 Your name 2/13/2014 1. (10 points) Draw a logic diagram that implements the expression A(B+C)(C +D)(B+D ) directly (do not
More informationDesign Problem 3 Solutions
CSE 260 Digital Computers: Organization and Logical Design Jon Turner Design Problem 3 Solutions In this problem, you are to design, simulate and implement a sequential pattern spotter, using VHDL. This
More informationIn our case Dr. Johnson is setting the best practices
VHDL Best Practices Best Practices??? Best practices are often defined by company, toolset or device In our case Dr. Johnson is setting the best practices These rules are for Class/Lab purposes. Industry
More informationEITF35: Introduction to Structured VLSI Design
EITF35: Introduction to Structured VLSI Design Part 2.2.2: VHDL-3 Liang Liu liang.liu@eit.lth.se 1 Outline Inference of Basic Storage Element Some Design Examples DFF with enable Counter Coding Style:
More informationNote: Closed book no notes or other material allowed, no calculators or other electronic devices.
ECE 574: Modeling and Synthesis of Digital Systems using Verilog and VHDL Fall 2017 Exam Review Note: Closed book no notes or other material allowed, no calculators or other electronic devices. One page
More informationa, b sum module add32 sum vector bus sum[31:0] sum[0] sum[31]. sum[7:0] sum sum overflow module add32_carry assign
I hope you have completed Part 1 of the Experiment. This lecture leads you to Part 2 of the experiment and hopefully helps you with your progress to Part 2. It covers a number of topics: 1. How do we specify
More informationEITF35: Introduction to Structured VLSI Design
EITF35: Introduction to Structured VLSI Design Part 2.2.2: VHDL-3 Liang Liu liang.liu@eit.lth.se 1 Outline Inference of Basic Storage Element Some Design Examples DFF with enable Counter Coding Style:
More informationDIGITAL LOGIC DESIGN VHDL Coding for FPGAs Unit 6
DIGITAL LOGIC DESIGN VHDL Coding for FPGAs Unit 6 FINITE STATE MACHINES (FSMs) Moore Machines Mealy Machines Algorithmic State Machine (ASM) charts FINITE STATE MACHINES (FSMs) Classification: Moore Machine:
More informationCS/EE Homework 7 Solutions
CS/EE 260 - Homework 7 Solutions 4/2/2001 1. (20 points) A 4 bit twisted ring counter is a sequential circuit which produces the following sequence of output values: 0000, 1000, 1100, 1110, 1111, 0111,
More informationLABORATORY MANUAL VLSI DESIGN LAB EE-330-F
LABORATORY MANUAL VLSI DESIGN LAB EE-330-F (VI th Semester) Prepared By: Vikrant Verma B. Tech. (ECE), M. Tech. (ECE) Department of Electrical & Electronics Engineering BRCM College of Engineering & Technology
More informationLab 3. Advanced VHDL
Lab 3 Advanced VHDL Lab 3 Advanced VHDL This lab will demonstrate many advanced VHDL techniques and how they can be used to your advantage to create efficient VHDL code. Topics include operator balancing,
More informationMASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences
MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Sciences Introductory Digital Systems Lab (6.111) uiz - Spring 2004 Prof. Anantha Chandrakasan Student Name: Problem
More informationFSM Components. FSM Description. HDL Coding Methods. Chapter 7: HDL Coding Techniques
FSM Components XST features: Specific inference capabilities for synchronous Finite State Machine (FSM) components. Built-in FSM encoding strategies to accommodate your optimization goals. You may also
More informationThe University of Alabama in Huntsville ECE Department CPE Midterm Exam Solution March 2, 2006
The University of Alabama in Huntsville ECE Department CPE 526 01 Midterm Exam Solution March 2, 2006 1. (15 points) A barrel shifter is a shift register in which the data can be shifted either by one
More informationLecture 9. VHDL, part IV. Hierarchical and parameterized design. Section 1 HIERARCHICAL DESIGN
Lecture 9 VHDL, part IV Hierarchical and parameterized design Section 1 HIERARCHICAL DESIGN 2 1 Dealing with Large Digital System Design 1. Apply hierarchy to the design At the highest level use larger
More informationECE 156B Fault Model and Fault Simulation
ECE 156B Fault Model and Fault Simulation Lecture 6 ECE 156B 1 What is a fault A fault is a hypothesis of what may go wrong in the manufacturing process In fact, a fault model is not trying to model the
More informationCSE 260 Digital Computers: Organization and Logical Design. Exam 2. Jon Turner 3/28/2012
CSE 260 Digital Computers: Organization and Logical Design Exam 2 Jon Turner 3/28/2012 1. (15 points). Draw a diagram for a circuit that implements the VHDL module shown below. Your diagram may include
More informationEE 459/500 HDL Based Digital Design with Programmable Logic. Lecture 6 Combinational and sequential circuits
EE 459/5 HL Based igital esign with Programmable Logic Lecture 6 ombinational and sequential circuits Read before class: hapter 2 from textbook Overview ombinational circuits Multiplexer, decoders, encoders,
More informationMidterm Exam Thursday, October 24, :00--2:15PM (75 minutes)
Last (family) name: Answer Key First (given) name: Student I.D. #: Department of Electrical and Computer Engineering University of Wisconsin - Madison ECE 551 Digital System Design and Synthesis Midterm
More informationVHDL And Synthesis Review
VHDL And Synthesis Review VHDL In Detail Things that we will look at: Port and Types Arithmetic Operators Design styles for Synthesis VHDL Ports Four Different Types of Ports in: signal values are read-only
More informationSEQUENTIAL STATEMENTS
SEQUENTIAL STATEMENTS Sequential Statements Allow to describe the behavior of a circuit as a sequence of related events Can be used to model, simulate and synthesize: Combinational logic circuits Sequential
More informationELCT 501: Digital System Design
ELCT 501: Digital System Lecture 4: CAD tools (Continued) Dr. Mohamed Abd El Ghany, Basic VHDL Concept Via an Example Problem: write VHDL code for 1-bit adder 4-bit adder 2 1-bit adder Inputs: A (1 bit)
More informationUsing ModelSim to Simulate Logic Circuits in VHDL Designs. 1 Introduction. For Quartus II 13.0
Using ModelSim to Simulate Logic Circuits in VHDL Designs For Quartus II 13.0 1 Introduction This tutorial is a basic introduction to ModelSim, a Mentor Graphics simulation tool for logic circuits. We
More informationIn the previous lecture, we examined how to analyse a FSM using state table, state diagram and waveforms. In this lecture we will learn how to design
1 In the previous lecture, we examined how to analyse a FSM using state table, state diagram and waveforms. In this lecture we will learn how to design a fininte state machine in order to produce the desired
More informationIn the previous lecture, we examined how to analyse a FSM using state table, state diagram and waveforms. In this lecture we will learn how to design
In the previous lecture, we examined how to analyse a FSM using state table, state diagram and waveforms. In this lecture we will learn how to design a fininte state machine in order to produce the desired
More informationThe University of Alabama in Huntsville ECE Department CPE Final Exam Solution Spring 2004
The University of Alabama in Huntsville ECE Department CPE 526 01 Final Exam Solution Spring 2004 1. (15 points) An old Thunderbird car has three left and three right tail lights, which flash in unique
More informationSynthesis from VHDL. Krzysztof Kuchcinski Department of Computer Science Lund Institute of Technology Sweden
Synthesis from VHDL Krzysztof Kuchcinski Krzysztof.Kuchcinski@cs.lth.se Department of Computer Science Lund Institute of Technology Sweden March 23, 2006 Kris Kuchcinski (LTH) Synthesis from VHDL March
More informationEL 310 Hardware Description Languages Midterm
EL 3 Hardware Description Languages Midterm 2 3 4 5 Total Name: ID : Notes: ) Please answer the questions in the provided space after each question. 2) Duration is minutes 3) Closed books and closed notes.
More informationLuleå University of Technology Kurskod SMD098 Datum Skrivtid
Luleå University of Technology Kurskod SMD098 Datum 2001-12-17 Skrivtid 14.00 18.00 Tentamen i Beräkningstrukturer Antal uppgifter: 6 Max poäng: 35 Lärare: Jonas Thor Telefon: 2549 Tillåtna hjälpmedel:
More informationECE Digital Design Laboratory. Lecture 3 Finite State Machines!
ECE 4401 - Digital Design Laboratory Lecture 3 Finite State Machines! 1!!!! Synchronous Sequential Circuits!!! Synchronous sequential logic circuits are realized using combinational logic and storage elements
More informationSequential Circuit Design: Principle
Sequential Circuit Design: Principle Chapter 8 1 Outline 1. Overview on sequential circuits 2. Synchronous circuits 3. Danger of synthesizing asynchronous circuit 4. Inference of basic memory elements
More informationTKT-1212 Digitaalijärjestelmien toteutus. Lecture 7: VHDL Testbenches Ari Kulmala, Erno Salminen 2008
TKT-1212 Digitaalijärjestelmien toteutus Lecture 7: VHDL Testbenches Ari Kulmala, Erno Salminen 2008 Contents Purpose of test benches Structure of simple test bench Side note about delay modeling in VHDL
More informationContents. Chapter 9 Datapaths Page 1 of 28
Chapter 9 Datapaths Page of 2 Contents Contents... 9 Datapaths... 2 9. General Datapath... 3 9.2 Using a General Datapath... 5 9.3 Timing Issues... 7 9.4 A More Complex General Datapath... 9 9.5 VHDL for
More information7 PROGRAMMING THE FPGA Simon Bevan
7 PROGRAMMING THE FPGA Simon Bevan 7.1 VHDL The FPGA chip can be programmed using a language called VHDL. VHDL is a hardware description language for describing digital designs. It originated from a government
More informationECE 574: Modeling and Synthesis of Digital Systems using Verilog and VHDL. Fall 2017 Final Exam (6.00 to 8.30pm) Verilog SOLUTIONS
ECE 574: Modeling and Synthesis of Digital Systems using Verilog and VHDL Fall 2017 Final Exam (6.00 to 8.30pm) Verilog SOLUTIONS Note: Closed book no notes or other material allowed apart from the one
More informationVHDL in 1h. Martin Schöberl
VHDL in 1h Martin Schöberl VHDL /= C, Java, Think in hardware All constructs run concurrent Different from software programming Forget the simulation explanation VHDL is complex We use only a small subset
More informationGraduate Institute of Electronics Engineering, NTU. Lecturer: Chihhao Chao Date:
Design of Datapath Controllers and Sequential Logic Lecturer: Date: 2009.03.18 ACCESS IC LAB Sequential Circuit Model & Timing Parameters ACCESS IC LAB Combinational Logic Review Combinational logic circuits
More informationEEL 4783: Hardware/Software Co-design with FPGAs
EEL 4783: Hardware/Software Co-design with FPGAs Lecture 9: Short Introduction to VHDL* Prof. Mingjie Lin * Beased on notes of Turfts lecture 1 What does HDL stand for? HDL is short for Hardware Description
More informationDigital Design Using Verilog EE Final Examination
Name Digital Design Using Verilog EE 4702-1 Final Examination 8 May 2000, 7:30 9:30 CDT Alias Problem 1 Problem 2 Problem 3 Problem 4 Problem 5 Exam Total (100 pts) Good Luck! Problem 1: The modules below
More informationLecture 32: SystemVerilog
Lecture 32: SystemVerilog Outline SystemVerilog module adder(input logic [31:0] a, input logic [31:0] b, output logic [31:0] y); assign y = a + b; Note that the inputs and outputs are 32-bit busses. 17:
More informationIn this lecture, we will go beyond the basic Verilog syntax and examine how flipflops and other clocked circuits are specified.
1 In this lecture, we will go beyond the basic Verilog syntax and examine how flipflops and other clocked circuits are specified. I will also introduce the idea of a testbench as part of a design specification.
More informationOutline. CPE/EE 422/522 Advanced Logic Design L05. Review: General Model of Moore Sequential Machine. Review: Mealy Sequential Networks.
Outline CPE/EE 422/522 Advanced Logic Design L05 Electrical and Computer Engineering University of Alabama in Huntsville What we know Combinational Networks Sequential Networks: Basic Building Blocks,
More information[VARIABLE declaration] BEGIN. sequential statements
PROCESS statement (contains sequential statements) Simple signal assignment statement
More informationECEU530. Schedule. ECE U530 Digital Hardware Synthesis. Datapath for the Calculator (HW 5) HW 5 Datapath Entity
ECE U530 Digital Hardware Synthesis Prof. Miriam Leeser mel@coe.neu.edu November 6, 2006 Classes November 6 and 8 are in 429 Dana! Lecture 15: Homework 5: Datapath How to write a testbench for synchronous
More informationModeling Synchronous Logic Circuits. Debdeep Mukhopadhyay IIT Madras
Modeling Synchronous Logic Circuits Debdeep Mukhopadhyay IIT Madras Basic Sequential Circuits A combinational circuit produces output solely depending on the current input. But a sequential circuit remembers
More informationControl Unit: Binary Multiplier. Arturo Díaz-Pérez Departamento de Computación Laboratorio de Tecnologías de Información CINVESTAV-IPN
Control Unit: Binary Multiplier Arturo Díaz-Pérez Departamento de Computación Laboratorio de Tecnologías de Información CINVESTAV-IPN Example: Binary Multiplier Two versions Hardwired control Microprogrammed
More informationEECE 353: Digital Systems Design Lecture 10: Datapath Circuits
EECE 353: Digital Systems Design Lecture 10: Datapath Circuits Cristian Grecu grecuc@ece.ubc.ca Course web site: http://courses.ece.ubc.ca/353 Introduction to lecture 10 Large digital systems are more
More informationIntroduction to VHDL #3
ECE 322 Digital Design with VHDL Introduction to VHDL #3 Lecture 7 & 8 VHDL Modeling Styles VHDL Modeling Styles Dataflow Concurrent statements Structural Components and interconnects Behavioral (sequential)
More informationPart 4: VHDL for sequential circuits. Introduction to Modeling and Verification of Digital Systems. Memory elements. Sequential circuits
M1 Informatique / MOSIG Introduction to Modeling and erification of Digital Systems Part 4: HDL for sequential circuits Laurence PIERRE http://users-tima.imag.fr/amfors/lpierre/m1arc 2017/2018 81 Sequential
More informationContents. Chapter 3 Combinational Circuits Page 1 of 34
Chapter 3 Combinational Circuits Page of 34 Contents Contents... 3 Combinational Circuits... 2 3. Analysis of Combinational Circuits... 2 3.. Using a Truth Table... 2 3..2 Using a Boolean unction... 4
More informationRecommended Design Techniques for ECE241 Project Franjo Plavec Department of Electrical and Computer Engineering University of Toronto
Recommed Design Techniques for ECE241 Project Franjo Plavec Department of Electrical and Computer Engineering University of Toronto DISCLAIMER: The information contained in this document does NOT contain
More informationWritten Re-exam with solutions for IE1204/5 Digital Design Friday 10/
Written Re-exam with solutions for IE24/5 Digital Design Friday /4 25 8.-2. General Information Examiner: Teacher: Ingo Sander. Kista, William Sandvist, phone 8-79 44 87 / Fredrik Jonsson. Exam text does
More informationToday. Comments about assignment Max 1/T (skew = 0) Max clock skew? Comments about assignment 3 ASICs and Programmable logic Others courses
Today Comments about assignment 3-43 Comments about assignment 3 ASICs and Programmable logic Others courses octor Per should show up in the end of the lecture Mealy machines can not be coded in a single
More informationWriting VHDL for RTL Synthesis
Writing VHDL for RTL Synthesis Stephen A. Edwards, Columbia University December 21, 2009 The name VHDL is representative of the language itself: it is a two-level acronym that stands for VHSIC Hardware
More informationSynthesizable Verilog
Synthesizable Verilog Courtesy of Dr. Edwards@Columbia, and Dr. Franzon@NCSU http://csce.uark.edu +1 (479) 575-6043 yrpeng@uark.edu Design Methodology Structure and Function (Behavior) of a Design HDL
More informationLaboratory Memory Components
Laboratory 3 3. Memory Components 3.1 Objectives Design, implement and test Register File Read only Memories ROMs Random Access Memories RAMs Familiarize the students with Xilinx ISE WebPack Xilinx Synthesis
More informationEENG 2910 Project III: Digital System Design. Due: 04/30/2014. Team Members: University of North Texas Department of Electrical Engineering
EENG 2910 Project III: Digital System Design Due: 04/30/2014 Team Members: University of North Texas Department of Electrical Engineering Table of Content i Contents Abstract...3 Introduction...3 Report...4
More informationEECS150 - Digital Design Lecture 20 - Finite State Machines Revisited
EECS150 - Digital Design Lecture 20 - Finite State Machines Revisited April 2, 2009 John Wawrzynek Spring 2009 EECS150 - Lec20-fsm Page 1 Finite State Machines (FSMs) FSM circuits are a type of sequential
More informationIn this lecture, we will focus on two very important digital building blocks: counters which can either count events or keep time information, and
In this lecture, we will focus on two very important digital building blocks: counters which can either count events or keep time information, and shift registers, which is most useful in conversion between
More informationHDL. Hardware Description Languages extensively used for:
HDL Hardware Description Languages extensively used for: Describing (digital) hardware (formal documentation) Simulating it Verifying it Synthesizing it (first step of modern design flow) 2 main options:
More informationCounters. Counter Types. Variations. Modulo Gray Code BCD (Decimal) Decade Ring Johnson (twisted ring) LFSR
CE 1911 Counters Counter Types Modulo Gray Code BC (ecimal) ecade Ring Johnson (twisted ring) LFSR Variations Asynchronous / Synchronous Up/own Loadable 2 tj Modulo-n (n = a power of 2) Asynchronous Count
More informationLecture 3: Modeling in VHDL. EE 3610 Digital Systems
EE 3610: Digital Systems 1 Lecture 3: Modeling in VHDL VHDL: Overview 2 VHDL VHSIC Hardware Description Language VHSIC=Very High Speed Integrated Circuit Programming language for modelling of hardware
More informationWriting Circuit Descriptions 8
8 Writing Circuit Descriptions 8 You can write many logically equivalent descriptions in Verilog to describe a circuit design. However, some descriptions are more efficient than others in terms of the
More informationVHDL 2 Combinational Logic Circuits. Reference: Roth/John Text: Chapter 2
VHDL 2 Combinational Logic Circuits Reference: Roth/John Text: Chapter 2 Combinational logic -- Behavior can be specified as concurrent signal assignments -- These model concurrent operation of hardware
More informationState Machine Descriptions
State Machine Descriptions Can be modelled using many different coding styles Style guidelines available for Moore or Mealy type machines Several encoding schemes for state variables used in FSM descriptions
More informationSection 001. Read this before starting!
Points missed: Student's Name: Total score: / points East Tennessee State University Department of Computer and Information Sciences CSCI 25 (Tarnoff) Computer Organization TEST 2 for Fall Semester, 25
More informationDebouncing a Switch. A Design Example. Page 1
Debouncing a Switch A Design Example Page 1 Background and Motivation Page 2 When you throw a switch (button or two-pole switch) It often bounces Page 3 Another switch switch after inversion Page 4 Yet
More informationSpiral 1 / Unit 4 Verilog HDL. Digital Circuit Design Steps. Digital Circuit Design OVERVIEW. Mark Redekopp. Description. Verification.
1-4.1 1-4.2 Spiral 1 / Unit 4 Verilog HDL Mark Redekopp OVERVIEW 1-4.3 1-4.4 Digital Circuit Design Steps Digital Circuit Design Description Design and computer-entry of circuit Verification Input Stimulus
More informationMark Redekopp, All rights reserved. EE 352 Unit 8. HW Constructs
EE 352 Unit 8 HW Constructs Logic Circuits Combinational logic Perform a specific function (mapping of 2 n input combinations to desired output combinations) No internal state or feedback Given a set of
More informationA bird s eye view on VHDL!
Advanced Topics on Heterogeneous System Architectures A bird s eye view on VHDL Politecnico di Milano Conference Room, Bld 20 19 November, 2015 Antonio R. Miele Marco D. Santambrogio Politecnico di Milano
More information8 Register, Multiplexer and
8 Register, Multiplexer and Three-State Inference HDL Compiler can infer Registers (latches and flip flops) Multiplexers Three state gates This chapter discusses methods of inferring different types of
More information