Udemy – Learn FPGA Design With VHDL (Intel/Altera)
English | Tutorial | Size: 8.57 GB
Gain a Solid Foundation in VHDL for FPGA Development with Lots of Examples
What you’ll learn
We will cover the VHDL language and syntax with lots of example projects
Relate VHDL code to hardware implementation
Creating FPGA building blocks using VHDL
Creating State Machines using VHDL
Creating complex FPGA designs from scratch
Highlight good design practice & common pitfalls
Writing Test Benches in VHDL
Simulate & debug FPGA Designs using ModelSim
Use the Intel Quartus software to compile and implement projects
Use Quartus To Perform Pin Assignments
Programming FPGAs using the USB Blaster
Using the Quartus Netlist Viewer to view the Hardware Realisation
Making sense of the Quartus Fitter Reports
Quartus Assignment Editor
Quartus Settings, Options & Optimisations
Basic Introduction to Quartus Timing Analyser
Implement a UART project that communicates over RS232 with a PC
Implement a State Machine project
Implement a 4 Digit 7-Segment Display to print a Count value
Implement a Project to Create A PWM output
Implement a Shift Register to Drive LEDs
Implement a Project to cover Switch De-bouncing and Synchronisation
Fundamentals of digital electronics & logic gates
Knowledge of binary and hexadecimal number systems
Course Audience :
This course is aimed at students & engineers who want to get into the field of FPGA development using VHDL. No prior knowledge in VHDL/FPGA is assumed so we will start from the very basics.
Students should have a basic knowledge of digital electronics including logic gates and flip-flops.
Course Summary :
This course covers the VHDL language in detail. In between lectures, we will complete a number of fun projects (please see below) with increasing complexity to consolidate the knowledge we have gained during the course. We will go through how to write Test Benches and we will implement a number of Test Benches to verify the UART project. We cover the Intel Quartus software in detail and also go through how to simulate Test Benches using using ModelSim.
Projects (Implemented and Tested On a Cyclone IV Development Board):
1. Reading a switch input and driving an LED output
2. Simple State Machine which reacts to user input and drives a number of LEDs
3. Synchronising and de-bouncing a Switch Input.
4. Generating a PWM output.
5. Designing a Shift Register.
6. 4 Digit 7-Segment display for counting the number of push button activations
7. UART module & State machine for echoing back characters received from a PC over RS232
Intel Quartus Softare:
1. Creating & Compiling a new project
2. Performing pin assignments.
3. Basic introduction to Quartus IP Catalogue.
4. Using the USB Blaster to program the FPGA via JTAG.
5. Using the Quartus Net List Viewer to explore the hardware realisation of your design.
6. Making sense of Quartus Fitter Reports to better understand resource allocation.
7. Using the Quartus Assignment Editor.
8. Overview of Quartus settings, options and optimisations.
9. Basic introduction to timing analyser, timing constraints and SDC files.
Intel ModelSim Starter Edition Software :
1. Creating a new ModelSim Project.
2. Writing & compiling Test Benches.
3. Running simulations.
4. Using the Waveform viewer to analyse results.
Course Details :
We will start by covering the basics of FPGA hardware. This hardware background is vital and as we learn how to write VHDL, we will also refer back to how our code gets implemented in hardware.
In the second section of the course, we will cover the VHDL language in detail. We will cover all the aspects (Signals & Data types, VHDL Keywords & Operators, Concurrent & Sequential statements, Entity & Architecture, Process Block, Generics, Constants & Variables, Records, Component Instantiation, Procedures & Functions, Packages & Libraries and Type Conversions) that are needed to be able to develop complex and advanced FPGA designs. There will be plenty of simple examples to allow you to learn the VHDL language quickly and enable you to confidently write your own code. We will also look at how most of the VHDL language maps to hardware on the actual device.
With this strong foundation in the language, we will look at how to build fundamental FPGA blocks starting from Tri-State Drivers, Registers, Comparators, Multiplexers, Shift Registers, Serialisers, RAMs & ROMs and Finite State Machines. We will look at how to code all of the above structures and also explore how these are implemented in real hardware in the FPGA.
In the next section, we will look at hierarchical design with VHDL. This design practise is used when creating complex designs having more than one design unit. We will explore this concept from an example to see how design units can be joined together to form a hierarchical design.
In the next section we will explore good FPGA design practise. From my experience most beginners in FPGA design make common mistakes and fall into certain traps. Some of these can lead to issues that are very difficult to debug and fix. The idea behind this section is to make you aware of these common pitfalls and explore ways in which we can circumvent these. We will talk about Latches, Generated Clocks, Clock & Data Gating, Benefits of a Register Rich Design, Benefits of Synchronous Design, Dealing With Asynchronous Inputs, Clock Domain Crossing, Designing for Reuse, Signal Initialisation, Synchronising Reset De-assertion, Routing Clocks & Resets and Using PLLs.
By this stage, we would have covered a lot of the theory and also completed a number of design projects so you should have the knowledge to create your own FPGA designs independently. We will now cover design verification. This section will explore how to write test benches. We will explore aspects of VHDL coding styles for writing test benches. We will discuss how to perform file IO for creating input vectors and to store output results. We will also discuss self-checking test benches to help automate the test process.
In the final section of the course, we will design a UART module controlled by a State machine. We will write VHDL code to implement the UART and state machine from scratch. We will use a hierarchical design approach where we will have a number of design units. We will write test benches for each design unit and perform simulations (using ModelSim) for verification. We will bring all design units together into our top level VHDL module and do a system level simulation. Next, we will explore how to create & configure a project in Intel Quartus to implement our design on our FPGA development board. We will look at how to do the pin assignments and also very briefly look at applying very basic timing constraints to get our design to pass. We will then test the design on real hardware to make sure our design works as intended.