ECE 545
Digital System Design with VHDL

Fall 2019

Time and location:

Monday, 7:20-10:00 PM, Music Theater Building (formerly Fine Arts Building), room 1002

Instructor:

Kris Gaj

Email:

kgaj@gmu.edu

Office hours:

Monday 6:00-7:00 PM, Wednesday 7:30-8:30 PM, Friday 6:00-7:00 PM, and by appointment

The Engineering Building, room 3225



Please submit all your homework and project reports using Blackboard by going to http://mymasonportal.gmu.edu

Please use Piazza instead of e-mail for asking questions related to this class 


Course Description

Introduces the design of complex digital systems using hardware description languages. Teaches design methodologies which partition a system into a datapath and controller. Focuses on synthesizable RTL VHDL code for digital circuit design using dataflow, structural, and behavioral coding styles. Introduces VHDL simulation and verification, and FPGA synthesis, placement, routing, timing analysis, and performance optimization. Requires semester-long project devoted to the design of a complex digital system implemented on FPGAs. 

Prerequisites: Graduate Standing. No official course prerequisite is required, but an undergraduate background in digital logic design is strongly recommended.


Required Textbooks

Pong P. ChuRTL Hardware Design Using VHDL: Coding for Efficiency, Portability, and Scalability, Wiley-IEEE Press, 2006.


Supplementary Textbooks

Ricardo Jasinski, Effective Coding with VHDL: Principles and Best Practice, 1st Edition, The MIT Press, 2016.

Ryan Kastner, Janarbek Matai, and Stephen Neuendorffer, Parallel Programming for FPGAs: The HLS Book, 2018.

Hubert Kaeslin, Digital Integrated Circuit Design: From VLSI Architectures to CMOS Fabrication, Cambridge University Press; 1st Edition, 2008.

Stephen Brown and Zvonko Vranesic, Fundamentals of Digital Logic with VHDL Design, 3rd Edition, McGraw-Hill, 2008.


Software Packages Used in This Class

  • Xilinx Vivado Design Suite

  • ModelSim Intel FPGA

Full versions of these packages will be available in the Computer Engineering Labs, The Engineering Building, rooms 3208 and 3204.
FREE versions can be installed on your laptops and home workstations.

Course Outline (subject to possible modifications):

  1. Organization of the Course. Introduction to FPGA Technology. Project.  08/26/2019
  2. Digital Logic Refresher - Combinational Logic.   09/09/2019
  3. Digital Logic Refresher - Sequential Logic.   09/16/2019
  4. RTL Design Methodology - Part 1.   09/23/2019
  5. RTLDesign Methodology - Part 2.  09/30/2019
  6. VHDLFundamentals.   10/07/2019
  7. Testbenches. 10/15/2019
  8. Dataflow Modeling in VHDL. VHDL Description of Basic Combinational Building Blocks.   10/21/2019
  9. VHDL Description of Basic Sequential Building Blocks. Poor Design Practices. 10/28/2019
  10. Midterm Exam.  11/04/2019
  11. Modeling of Circuits with Regular Structure. Finite State Machine Refresher.    11/11/2019
  12. Designing Controllers using Algorithmic State Machine (ASM) charts - Part 1.   11/18/2019
  13. Designing Controllers using Algorithmic State Machine (ASM) charts - Part 2. Timing Analysis. Project Recommendations & Deliverables.   11/25/2019
  14. VHDL-2008. Chisel. High-Level Synthesis. Software/Hardware Codesign.   12/02/2019
  15. Final Exam   12/16/2019

Project

This year's project will involve implementing Each group of students will design, implement, and optimize one algorithm assigned to them by the instructor or proposed by themselves. This project will support standardization organizations, such as NIST, in selection of new cryptographic standards.

Project Recommendations

Project Deliverables

Reduced Complexity Block Diagrams

Examples of 5-port Wrappers

Homework

Homework assignments will be posted gradually here, at least 5 days before a given assignment is due.


Viewgraphs

Viewgraphs will be posted gradually here.

 

Reference Material

VHDL

VHDL Instructions: Templates & Examples

OpenCores HDL Modeling Guidelines

The Low Carb VHDL Tutorial - by Bryan Mealy

 

C

Top 10 C Language resources that will turn you into a better programmer

C Tutorial


Block Diagram Editors

Please see a list of recommended editors available on the page: Tools Taught in ECE Classes, and additional materials available on the page: Tutorials and Lab Manuals.


Past Course Web Pages

ECE 545:   Fall 2018  Fall 2017  Fall 2015  Fall 2014  Fall 2013 

ECE 448:   Spring 2019  Spring 2018  Spring 2016  Spring 2015  Spring 2014 

 

Practice and Past Exams

2018:

Final Exam 2018

Solutions to the Final Exam 2018:

Midterm Exam 2018


2017:

Final Exam 2017

Solutions to the Final Exam 2017

Midterm Exam 2017

Solutions to the Midterm Exam 2017


2015:

Final Exam 2015

Midterm Exam 2015


2014:

Final Exam 2014 + Answer Sheet for Problem 3 + Answer Sheet for Problem 4

Solutions to the Final Exam 2014

Midterm Exam 2014 + Fill-in-the-blanks Problem 2


2013:

Final Exam 2013

Best Student Solution to Final Exam 2013

Solutions to the Problems 2A and 2B from the Final Exam 2013

Midterm Exam 2013

Solutions to the Midterm Exam 2013

2012:

Midterm Exam 2012

Solutions to the Midterm Exam 2012:  Task 1, Task 1 (alternative designs for key storage), Task 2, Task 3, Task 5

Source codes for Task 4:  XTEA_pkg.vhd  ROUND.vhd

Final Exam 2012

Best Student Solution to the Final Exam 2012

2011:

Midterm Exam 2011

Solutions to the Midterm Exam 2011:  [PDF, PPT]

Source codes for Task 3:  reg.vhd, ROM_16x4.vhd, main_iterative_loop.vhd

Source Codes for Task 5:  exam_top_tb.vhd


Final Exam 2011

Solutions to the Final Exam 2011:  all deliverables (zip)

Solutions to the Final Exam 2011 (selected deliverables in PDF): 

  block diagram, interface, ASM chart, short report


2010:

Midterm Exam 2010

Final Exam 2010

Best Student Solution to Final Exam 2010


2009:

Midterm Exam 2009

Solutions to the Midterm Exam 2009: Task 1  Task 2  Task 3  Task 4

Midterm Exam 2009: Recommended Reading and Practice Problems


Final Exam 2009


2006:

Midterm Exam 1 from Fall 2006

Midterm Exam 2 from Fall 2006

2005:

Midterm Exam 1 from Fall 2005

Midterm Exam 2 from Fall 2005

2004:

Midterm Exam 1 from Fall 2004

Midterm Exam 2 from Fall 2004