Department of Electrical & Electronic Engineering

Electrical & Electronic Eng.         (EEE)        BEng & MEng 2nd Year
Electronic and Information Eng.  (EIE)
          BEng & MEng 2nd Year

E2.1 Digital Electronics 2
(Oct - Dec 2018)

Professor Peter Y. K. Cheung

Aims & Objectives

The aims of the course are: By the end of the course, you should be able to:

This course is supported a 4-week Laboratory Experiment - Experiment VERI starting in the middle of the Autumn term. You will be working in pairs, using the Terasic/Altera's DE1-SoC board with a daughter board extension. Each pair of students can also sign out one board (every two students) from the EEE Stores. Please return the board by the end of the Spring term in 2018.

Lecture Notes

    Lecture 1  Introduction to digital logic (9 Oct - Panopto recording) (notes 2-per page)
    Lecture 2  Introduction to FPGAs (9 Oct - Panopto recording from last year)
(notes 2-per page)
    Lecture 3  Verilog HDL - Part 1 (16 Oct - Panopto recording) (notes 2-per page)
    Lecture 4  Verilog HDL - Part 2 (16 Oct - Panopto recording) (notes 2-per page)
    Lecture 5  Counters and shift registers (23, 25 Oct - Panopto recording pt1 pt2)
(notes 2-per page)
    Lecture 6  Finite State Machines - Part 1 (30 Oct - Panopto recording) (notes 2-per page)

    Lecture 7  Finite State Machines - Part 2 (1 Nov - Panopto recording) (notes 2-per page)
    Lecture 8  Timing constraints (6 Nov - Panopto recording) (notes 2-per page)
    Lecture 9  D-to-A converters (ADI Handbook Chap 3) (8 Nov - Panopto recording) (notes 2-per page)
    Lecture 10  Experiment VERI - an overview (13 Nov - Panopto recording) (notes 2-per page)
    Lecture 11  A-to-C converters (ADC architectures - A tutorial) (15 Nov - Panopto recording) (notes 2-per page)

Tutorial Problem Sheets

Tutorial Problems
Useful Resources

Sheet 1 (solution 1)

R1.1 FPGA and CPLD Architectures: A Tutorial
R1.2 Cyclone V Device Handbook (vol 1)
R1.3 Introduction to Quartus II Software
R1.4 DE1 User's Manual

Sheet 2 (solution 2)
Sheet 3 (solution 3)
Sheet 4 (solution 4)
Sheet 5 (solution 4)

Problem Classes

Problem Class 1
Problem Class 2
Problem Class 3

The Laboratory Experiment (Experiment Webpage HERE)

This course is supported by Experiment VERI - a 4-week experiment in the Laboratory.
Details of this experiment can be found HERE

Past Examination Papers

June 2016 (Paper with solutions)
June 2017 (Paper,Solutions)

Student Online Lecturer Evaulation (SOLE)

Results from last year (PDF)

Other DE1 & Cyclone V Resources

Quartus Prime Software free web-edition (Download page)
Quartus & DE1-SoC Tutorial Page (containing MANY tutorials, probably too many. Be selective!)

Cyclone V Device Handbooks

Vol 1: Device Interface & Integration
Vol 2: Transceivers
Vol 3: Hard Processor System

Useful links

Verilog HDL Quick Reference Card
A very good tutorial on IEEE Logic Symbols
An excellent tutorial on Verilog HDL

Altera's free tutorial on Verilog HDL (interactive video class lasting 45 minutes)
On-line Verilog HDL Quick Reference Guide (free)

This page is maintained by Peter Cheung
Last updated: 15 Novt 2018