Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Digital Design with Verilog: Zero to Hero
2 students

Digital Design with Verilog: Zero to Hero

Learn Verilog for RTL design: data types, operators, combinational logic, sequential logic and state machines
Created byVikas Sachdeva
Last updated 2/2022
English
English [Auto],

What you'll learn

  • Learn basic and advanced concepts in Verilog
  • Learn digital design basics to get started with digital design
  • Example designs with complete code explanations (FSM, barrel shifter, counters, flops, sync-async resets)
  • Understand how to write testbenches

Course content

4 sections • 34 lectures • 7h 37m total length
  • Bitwise and Equality Operators17:58

    Explore bitwise and equality operators for per-bit operations on buses, including not, and, or, xor, nor, masking, forcing zero, pattern matching, and design considerations for synthesis and simulation.

  • Introduction to RTL Design and Verilog7:05

    Why hardware is designed at the register-transfer level and where Verilog fits in the chip design flow. You will see how RTL code becomes real silicon and what hardware description languages let you do that schematics cannot.

  • Verilog Basics: Modules, Ports and Keywords11:53

    The building blocks of every Verilog design: modules, input and output ports, buses and the core keywords. You will learn how a design is divided into modules and how to read and write a simple module.

  • Behavioral Modeling with Always Blocks19:02

    Describe hardware behaviour with always blocks, sensitivity lists, if and case statements. You will see why behavioral code reads close to natural language and how it maps to logic.

  • Dataflow Modeling: Designing a Half Adder9:10

    Use continuous assign statements to build a half adder in dataflow style, deriving the sum and carry equations and seeing the gates synthesis creates from them.

  • Concurrent vs Sequential Execution in Verilog15:00

    Understand what runs in parallel and what runs in order in Verilog, how this differs between simulation and hardware, and how simulation-synthesis mismatches cause real design failures.

  • Full Adder: Dataflow, Behavioral and Structural Styles15:23

    Build a full adder three ways: dataflow equations, a behavioral always block and a structural design that instantiates two half adders. Learn module instantiation and port connection conventions.

  • Writing Your First Testbench10:19

    Write a testbench that drives inputs, applies delays and checks outputs against expected values. You will learn which constructs are for simulation only and how to read the resulting waveforms.

  • Four-Valued Logic: 0, 1, X and Z11:05

    What 0, 1, X and Z mean in Verilog, how they model real hardware such as tri-state buffers and unknown power-up values, and the difference between wire and reg.

  • Number Representation in Verilog13:22

    Size, base and value in Verilog literals, how unsized and mismatched numbers are extended, and how to represent negative numbers with two's complement.

  • Bitwise and Arithmetic Operators19:07

    Bitwise AND, OR, XOR, NAND and NOR on buses, masking and extracting bits, and arithmetic operators with the bit widths needed to capture carry and borrow.

  • Equality, Logical, Reduction and Shift Operators20:58

    Logical vs case equality and how X values affect them, logical and reduction operators, and logical vs arithmetic shifts, with notes on what is synthesizable.

  • Concatenation, Replication and Conditional Operators11:33

    Join and replicate buses with concatenation, build sign extension, and write compact multiplexing logic with the conditional operator. Includes how operators behave when X or Z is present.

  • Tasks, Functions and a 4-Bit Adder14:00

    Reuse code with tasks and functions, understand the differences between them, and build a 4-bit adder from smaller blocks with a self-checking test.

Requirements

  • Digital design basics and fundamentals of VLSI

Description

Verilog is the most widely used language for describing digital hardware. This course teaches Verilog the way a designer uses it: every construct is tied to the hardware it creates, so you learn to think in circuits, not just code.

You will go from data types and operators to combinational logic, sequential design and complex state machines, with practical design examples throughout.

What you will learn

  • Verilog data types and operators, including bitwise and equality operators

  • Modeling combinational logic: muxes, decoders, encoders and arithmetic

  • Sequential design: flip-flops, resets, registers and counters

  • Complex sequential logic and finite state machines

  • Writing synthesizable RTL and avoiding common coding mistakes

Practise with free hands-on labs

Write Verilog, run Icarus Verilog and see waveforms in the vlsideepdive Verilog labs: 47 self-checking labs from half adders to FIFOs and FSMs, plus logic design labs for the fundamentals. The labs run in your browser with no installs or licenses, each comes with a quiz, and the link is in your welcome message.

Who this course is for

  • ECE and EEE students

  • VLSI and FPGA beginners

  • Anyone preparing for RTL design interviews

About the instructor

Vikas Sachdeva has spent close to 20 years in EDA and chip design. He managed the timing constraints and mode-merging products at Fishtail Design Automation, holds a US patent in clock domain crossing verification, and speaks and chairs sessions at DAC and DVCon. He runs vlsideepdive, which offers free VLSI courses and hands-on labs.

Who this course is for:

  • College ECE graduates, People looking to enter into semiconductor digital design, ASIC and FPGA freshers, Professionals planning to change field to digital design