Quantcast
Channel: Altera Forums
Viewing all articles
Browse latest Browse all 19390

Display two numbers with same switches on DE2

$
0
0
Hi,

I am new to the forum and to VHDL as well.

This is my second exercise on sequential circuits design.
I am using the DE2 board and I should display two 16-bit hexadecimal numbers (A and B): A on HEX7-4 and B on HEX3-0.
Values of A and B are configured via switches SW{15-0}; first the value of A and then the value of B.
To do so, it is asked that the value of A be stored in the circuit.
It is required also to use KEY{0} as an asynchronous reset and KEY{1} as a clock.

I need to understand what I should do first before discussing the code. Am I going to use a register? I understand that I should configure the value of A via switches and press KEY{1} (the clock) to display it, and then do the same for B. Do you agree? But I don't see how to change the display from HEX7-4 to HEX3-0.

Any help is much appreciated :)

Thanks,

Salooh

Viewing all articles
Browse latest Browse all 19390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>