Hardware Simulator Tutorial

Hardware Simulator Tutorial

Background

The book’s software suite

The Hack computer

Hardware Simulation Tutorial

Hardware Simulation Tutorial

Chip definition (.hdl file)

Chip definition (.hdl file)

Loading a chip

Loading a chip

Exploring the chip logic

Exploring the chip logic

Interactive chip testing

Interactive chip testing

Hardware Simulation Tutorial

Test scripts

Loading a test script

Script controls

Running a script

Running a script

Viewing output and compare files

Viewing output and compare files

Hardware Simulation Tutorial

Built-In chips

Explicit use of built-in chips

Implicit use of built-in chips

Hardware Simulation Tutorial

Clocked (sequential) chips

The D-Flip-Flop (DFF) gate

PowerPoint Presentation

Slide 31

Slide 32

Slide 33

Slide 34

Slide 35

Hardware Simulation Tutorial

Slide 37

Built-in chips with GUI effects

The logic of the GUIDemo chip

Built-in chips with GUI effects

Hardware Simulation Tutorial

System variables

Breakpoints

Test scripts of complex chips

Visual options

Hardware Simulation Tutorial

Hack is a general-purpose 16-bit computer

The Hack chip-set and hardware platform

Aside: H.D. Thoreau about chips, bugs, and close observation: