ECE 545
Digital System Design with VHDL

Fall 2020

Time:

Monday, 7:20-10:00 PM
Online, in synchronous mode, using Blackboard Collaborate Ultra.
In order to join, please go to myMason, log in to Blackboard (Mason Bb Login), choose the course Master - ECE-545-001 / ECE-499-003 (Fall 2020), and click on Collaborate Ultra in the left menu.
Please also see Blackboard Collaborate: Quick Start Guide for Students.

Instructor:

Kris Gaj

Email:

kgaj@gmu.edu

Office hours:

Using Zoom. Please send an e-mail request or private Piazza request, including your availability in the form of a list of days and time slots suitable for you. I will select one particular day and starting time of the meeting, and I will send you the corresponding Zoom link.



TA:

Javad Bahrami

Office hours:

Tuesday 12:00-2:00 PM and Thursday 12:00-2:00 PM


Using Zoom (please send an e-mail request, including the period of time suitable for you)

Email: 

jbahrami@gmu.edu


Course Syllabus

Please submit all your homework and project reports using Blackboard by going to http://mymason.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. Chu, RTL 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

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/24/2020
  2. Digital Logic Refresher - Combinational Logic.   08/31/2020
  3. Digital Logic Refresher - Sequential Logic.   09/14/2020
  4. VHDL Fundamentals.   09/21/2020
  5. Dataflow Modeling in VHDL. VHDL Description of Basic Combinational-Circuit Building Blocks   09/28/2020
  6. VHDL Description of Basic Sequential-Circuit Building Blocks. Testbenches.   10/05/2020
  7. RTL Design Methodology - Part 1.   10/12/2020
  8. RTL Design Methodology - Part 2.   10/19/2020
  9. RTL Design Methodology - Part 3. Benchmarking Framework.   10/26/2020
  10. Modeling of Circuits with a Regular Structure.   11/02/2020
  11. Midterm Exam.   11/09/2020
  12. Design of Controllers - Part 1.   11/16/2020
  13. Design of Controllers - Part 2.   11/23/2020
  14. Timing Analysis. VHDL-2008.   11/30/2020
  15. Final Exam   12/14/2020

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.

GMU ATHENa: Lightweight Cryptography

A Comprehensive Framework for Fair and Efficient Benchmarking of Hardware Implementations of Lightweight Cryptography

Block Diagrams

Examples of GMU Designs - Authenticated Ciphers

Examples of GMU Designs - Hash Functions

Project Recommendations

Using Vivado for Synthesis, Implementation, and Timing Analysis

Project Deliverables (tentative)

Reduced Complexity Block Diagrams

Examples of 5-port Wrappers


Homework

Please submit all solutions using the Blackboard section ECE-545-001 / ECE-499-003 (Fall 2020). Please make sure that you are submitting an assignment for ECE 545 (and not for ECE 499).

Homework 3, originally due Sunday, October 11, 11:59pm, extended to Saturday, October 17, 2020, 11:59pm + testbench_examples.zip

Homework 2, due Sunday, September 27, 11:59pm

Homework 1, due Sunday, September 13, 11:59pm

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


Viewgraphs for ECE 545 and ECE 499-003

Follow-Up Courses.

Lecture 12 - Timing Analysis. [pdf-1, pdf-6]

Lecture 11 - Design of Controllers - Part 2. [pdf-1, pdf-6]

Lecture 10 - Design of Controllers - Part 1. [pdf-1, pdf-6]

Lecture 9 - Modeling of Circuits with a Regular Structure. [pdf-1, pdf-6]

Lecture 8C - RTL Design Methodology Part 3. Transition from the Pseudocode & Interface to a Corresponding Block Diagram. [pdf-1, pdf-6]

Lecture 8B - RTL Design Methodology Part 2. Transition from the Pseudocode & Interface to a Corresponding Block Diagram. [pdf-1, pdf-6]

Lecture 8A - RTL Design Methodology Part 1. Transition from the Pseudocode & Interface to a Corresponding Block Diagram. [pdf-1, pdf-6]

Lecture 7 - Simple Testbenches. [pdf-1, pdf-6]

Lecture 6 - VHDL Description of Basic Sequential-Circuit Building Blocks. [pdf-1, pdf-6]

Lecture 5 - VHDL Description of Basic Combinational-Circuit Building Blocks. [pdf-1, pdf-6]

Lecture 4 - Dataflow Modeling in VHDL. [pdf-1, pdf-6]

Lecture 3 - VHDL Fundamentals. [pdf-1, pdf-6]

Lecture 2B: Digital Logic Refresher. Part B - Combinational & Sequential Logic Building Blocks. [pdf-1, pdf-6]

Lecture 2A: Digital Logic Refresher. Part A - Combinational Logic Building Blocks. [pdf-1, pdf-6]

Lecture 1: Organization of the Course. Introduction to FPGA Technology. Project. [pdf-1, pdf-6]
(ECE 499-003 students can skip slides 87-117 about the Project)

 

Viewgraphs will be posted gradually here.

 

Reference Material

FPGA Tools

Xilinx Vivado Installation Instructions

 

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

 

Recommended Block Diagram Editors

 

Past Course Web Pages

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

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

 

Practice and Past Exams

2019:

Final Exam 2019

Midterm Exam 2019

Solutions to the Midterm Exam 2019

 

2018:

Final Exam 2018

Solutions to the Final Exam 2018:

 

Midterm Exam 2018

Solutions to the 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:

Final Exam 2012

Best Student Solution to the Final Exam 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


2011:

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


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

2010:

Final Exam 2010

Best Student Solution to Final Exam 2010

Midterm Exam 2010

2009:

Final Exam 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