University of Saskatchewan Ee 292 Electrical Engineering Laboratory I
July 17, 2026 · 603 KB
A 2010 University of Saskatchewan EE 292 lab handout in which students program look-up tables on an FPGA board to build a state machine for the fox, duck and corn river-crossing puzzle.
Overview
A look-up table is a small memory with a one-bit output that implements a truth table, and it is the basic building block of field programmable gate arrays. This lab for EE 292 at the University of Saskatchewan, revised in March 2010, gives students a closer look at how FPGAs work. Using a DE2 board with an Altera Cyclone II FPGA, students program three look-up tables and develop a state machine for the classic puzzle in which a man must ferry a fox, a duck and a can of corn across a river without leaving the fox with the duck or the duck with the corn. LEDs on a breadboard show which side each is on, and pushbuttons trigger crossings. After completing the next-state logic, students can play the game. The handout covers safety, including static discharge, and explains that splitting the logic into four tables saves memory.
