Question: Write a simple VHDL program for the DE10-lite that does the following: Create a component for the hex displays that takes an eight bit integer

Write a simple VHDL program for the DE10-lite that does the following:

Create a component for the hex displays that takes an eight bit integer as an input and displays it across the displays. You will need to contend with both signed and unsigned integers, and, since you cannot determine the sign from the number itself, a sign signal will also need to be accepted as an input. With eight bit numbers and a possible negative sign you will need to use four hex displays. Assume signed integers are in twos complement.

Use SW7-0 as the binary representation of the number to be displayed. Use SW9 as the sign signal.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!