The following system is used to show digital electronic parts to students.
The block diagram is:
The FPGA design can be found in the HEI SVN.