On Wed, 31 Dec 2008 13:07:00 -0800 (PST), Digi Suji
<
[email protected]> wrote:
>Hi,
>
>I have a chip top which has an 8-bit output "out[7:0]". I am
>implementing it on a BASYS board which uses Xilinx Spartan 3E. I would
>like to see the 8-bit output on the seven segment LED display. How can
>I do this?
>
>Do I need to add any additional Verilog code to do this? Please help.
>
>Thanks,
According to the BASYS reference manual
(
http://www.digilentinc.com/Data/Prod...BASYS_C_rm.pdf) the
board has 8 individual LEDs. The ref manual shows they are connected
to GND, so setting an LED pin HI ('1') will light the LED. So in your
upper level code, connect "out[7:0]" to "leds[7:0]". You will need to
check the UCF file for the exact pin names.
The 7-segment display is multiplexed, which means that for example,
segment A of each digit is connected together, and there is a separate
control/enable pin for each digit. Chances are there is code on the
Digilent web site, or provided with the board, to drive the LED
display.
-Dave Pollum