ersn
Newbie level 4
- Joined
- May 19, 2013
- Messages
- 5
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,327
Verilog Command Line Interface
In this project, you will learn how to use Xilinx FPGA card, 32 input switches and four 7‐
segment displays as a command line interface unit, and incorporate a command line
structure so that several commands can be given to the interface and then the results
can be seen from the seven segments displays.
You will use 32 input switches as a keyboard and the 7‐segment displays as a line‐screen
where the inputs should be seen, very much like a DOS or UNIX interface. Your keyboard
design should have the following letters, numbers and symbols:
A B C D E F H I J L P S U
0 1 2 3 4 5 6 7 8 9 0
‐ *
ENTER (when pressed, the function should be executed)
Hint: You may want to reserve one of the switches so that you can use it to switch between
numerical and alphabetical/symbolic keys.
The seven segment display should be able to display the line that is currently being written/to
be executed. There should only be up to 4 characters on the seven segment displays at any
time, in no part of this project you are required to deal with anything more than 4 characters.
Your design should be able implement all of the functions outlined.
Add: Add two numbers. 2 parameters are used, as the numbers to be added.
ADD 4 2 = 6
Subtract: Subtract the second number from the first. 2 parameters are used as numbers.
SU 4 2 = 2
Concatenate: Add two letters & words together. Two parameters are enough.
CAE AB DC = ABDC
I have such a project assignment but I do not know where to start how the inputs are defined. Could you recommend me something?
In this project, you will learn how to use Xilinx FPGA card, 32 input switches and four 7‐
segment displays as a command line interface unit, and incorporate a command line
structure so that several commands can be given to the interface and then the results
can be seen from the seven segments displays.
You will use 32 input switches as a keyboard and the 7‐segment displays as a line‐screen
where the inputs should be seen, very much like a DOS or UNIX interface. Your keyboard
design should have the following letters, numbers and symbols:
A B C D E F H I J L P S U
0 1 2 3 4 5 6 7 8 9 0
‐ *
ENTER (when pressed, the function should be executed)
Hint: You may want to reserve one of the switches so that you can use it to switch between
numerical and alphabetical/symbolic keys.
The seven segment display should be able to display the line that is currently being written/to
be executed. There should only be up to 4 characters on the seven segment displays at any
time, in no part of this project you are required to deal with anything more than 4 characters.
Your design should be able implement all of the functions outlined.
Add: Add two numbers. 2 parameters are used, as the numbers to be added.
ADD 4 2 = 6
Subtract: Subtract the second number from the first. 2 parameters are used as numbers.
SU 4 2 = 2
Concatenate: Add two letters & words together. Two parameters are enough.
CAE AB DC = ABDC
I have such a project assignment but I do not know where to start how the inputs are defined. Could you recommend me something?