ECE 545
Digital System Design with VHDL

Fall 2021

Time:

Monday, 7:20-10:00 PM
Music Theater Building, room 1002

Instructor:

Kris Gaj

Email:

kgaj@gmu.edu

Office hours:

By appointment. Preferably using Zoom. Please send an e-mail request or a 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. During the conference call, please make sure to have your camera on and an ability to share your screen.



TA:

Sathwika Bavikadi

Office hours:

Monday, Thursday, 5:20-7:20 PM, ENGR 3208 or by Zoom

Email: 

sbavikad@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/23/2021
  2. Digital Logic Refresher - Combinational Logic.    08/30/2021
  3. Digital Logic Refresher - Sequential Logic.    09/13/2021
  4. RTL Design Methodology - Part A.    09/20/2021
  5. RTL Design Methodology - Part B.    09/27/2021
  6. Project Topic Choice. VHDL Fundamentals - Part 1.   10/04/2021
  7. VHDL Fundamentals - Part 2. Testbenches.    10/12/2021
  8. VHDL Description of Basic Combinational-Circuit Building Blocks.    10/18/2021
  9. VHDL Description of Basic Sequential-Circuit Building Blocks. Timing Analysis. Poor Design Practices.    10/25/2021
  10. Midterm Exam. 11/01/2021
  11. Modeling of Circuits with Regular Structure.    11/08/2021
  12. Designing Controllers using Algorithmic State Machine (ASM) charts - Part 1.    11/15/2021
  13. Designing Controllers using Algorithmic State Machine (ASM) charts - Part 2. Project Recommendations. Timing Analysis.    11/22/2021
  14. Midterm Exam Review. Timing Analysis Exercise. Verification and Result Generation. VHDL-2008. Follow-up Courses.   11/29/2021
  15. Final Exam.    12/13/2021

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

GMU ATHENa: Post-Quantum Cryptography

Detailed Block Diagrams

Examples of GMU Designs - LWC Candidates

Examples of GMU Designs - PQC Building Blocks

Examples of GMU Designs - Hash Functions

Project Recommendations

Using Vivado for Synthesis, Implementation, and Timing Analysis

Project Deliverables

Reduced Complexity Block Diagrams

Examples of 5-port Wrappers

 

Resources regarding Gaisler's coding style based on the use of records:

Presentation by Rishub Nagpal

Ascon-Hash example by Rishub Nagpal

"A Structured VHDL Design Method" by Jiri Gaisler, CTH / Gaisler Research (slides)

"A structured VHDL design method" by Jiri Gaisler, in Fault-tolerant Microprocessors for Space Applications (paper)

 

Homework

Please submit all solutions using the Blackboard section ECE-545-001 (Fall 2021).

Homework 6, due Wednesday, December 15, 11:59 PM

Homework 5, due Thursday, December 2, 11:59 PM

Homework 4, only for students from the Homework Track, due Tuesday, November 23, 12:00 NOON + Testbenches [testbench_examples.zip]

Homework 3, due Sunday, October 10, 11:59 PM

Homework 2, due Wednesday, September 22, 11:59 PM

Homework 1, due Sunday, September 12, 11:59 PM

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


Viewgraphs

Follow-Up Courses.

Lecture 14 - VHDL-2008 : see Piazza under Resourced => Resources => Lecture Notes

Project Deliverables

Project: Design Verification and Result Generation.

Lecture 13 - Timing Analysis. [pdf-1, pdf-2, pdf-6]

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

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

Lecture 10 - Modeling of Circuits with Regular Structure. [pdf-1, pdf-2, pdf-6]

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

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

Recommended LWC Project Schedule. [pdf-1, pdf-2]

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

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

Project Topic Choice. [pdf-1, pdf-2]

Lecture 5: RTL Design Methodology - Part B. [pdf-1, pdf-6]

Lecture 4: RTL Design Methodology - Part A. [pdf-1, pdf-6]

Lecture 3: Digital Logic Refresher. Part B - Sequential Logic Building Blocks. Part C - Combinational Logic Building Blocks - cont. [pdf-1, pdf-6]

Lecture 2: 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]

 

Viewgraphs will be posted gradually here.

 

Reference Materials

FPGA Tools

Xilinx Vivado Installation Instructions

ModelSim-Intel FPGA Installation and Integration with Vivado Guide

 

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 2020  Fall 2019  Fall 2018  Fall 2017  Fall 2015 

ECE 448:   Spring 2021  Spring 2020  Spring 2019  Spring 2018  Spring 2016 

 

Practice and Past Exams

2021:

Final Exam 2021

Solutions to the Final Exam 2021

Midterm Exam 2021

Solutions to the Midterm Exam 2021

 

2020:

Final Exam 2020

Solutions to the Final Exam 2020 - Problem 1, Task 2

Midterm Exam 2020

Solutions to the Midterm Exam 2020

 

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