py4hw Tutorial¶

A crash course on creating hardware using python with py4hw.

For a more structured description of the framework read the py4hw User Guide

Lesson 1 - A simple structural circuit. Full Adder 1 bit

Lesson 2 - A simple behavioral circuit. Behavioural Full Adder

Lesson 3 - A simple generator circuit. Full Adder n bits

Lesson 4 - Improving visual feedback in simulations, a 7 segment display

Lesson 5 - BCD Decoder

Lesson 6 - Sequence Integrator

Lesson 7 - Select Max

Lesson 8 - Modulo Counter

Lesson 9 - VGA Generator

Lesson 10 - FSM.

Lesson 11 - Verification of FSMs. State visualization and coverage (how many states were visited? how many transitions were covered).

Lesson 11 - Custom Stimuli. yield.

Lesson 12 - Assertions.

Lesson 12 - Random testbenches.

In [ ]: