Friday, March 1, 2013

The fifth lab day ( The test on the FPGA)

Today, we implement and test the design on the Altera DE1 board. The tests are successful.
Here is a example test.
First figure is the reset mode.

The reset mode
The second figure shows that the customer choose the product with the price of 70 penny. The SW3 is in logic 1.

Choose product of 70p

Then the customer press the pushbutton KEY3 to input 1 pound. The figure shows the result. The 7 segments display shows the change. The red LEDR3 is turned on to represent that the product has been dispensed successfully. And the green LEDG0 and LEDG3 represent one 10p and one 20p respectively.

After the input one pound