Displaying Switch Settings on the XStend Board LEDs
This example creates a circuit that displays the settings of the DIP switches on the LEDs
and LED digits of the XStend and XS Boards. The particular set of LEDs, which is
activated, is selected by the SPARE and RESET pushbuttons. The VHDL code for this
example is shown in
Listing 13
.
The steps for compiling and testing the design using an XS40 combined with an XStend
Board are as follows:
n
Synthesize the VHDL code in the SWTCH40\SWITCHES.VHD file for an XC4005XL
FPGA.
n
Compile the synthesized netlist using the SWTCH40.UCF constraint file (
Listing 14
).
n
Mount an XS40 Board in the XStend Board and attach the downloading cable from
the XS40 to the PC parallel port. Apply 9VDC though jack J9 of the XS40. Place
shunts on jumpers J4, J7, and J8 of the XStend Board to enable the LED displays.
Remove the shunt on jumper J17 to keep the XStend codec serial output from
interfering with the DIP switch logic levels.
n
Download the SWTCH40.BIT file into the XS40/XStend combination with the
command:
XSLOAD SWTCH40.BIT
.
n
Set the DIP switches and press the SPARE and RESET pushbuttons. Observe the
results on the LEDs.
n
The steps for compiling and testing the design using an XS95 combined with an
XStend Board are as follows:
n
Synthesize the VHDL code in the SWTCH95\SWITCHES.VHD file for an XC95108
CPLD.
n
Compile the synthesized netlist using the SWTCH95.UCF constraint file (
Listing 15
).
n
Generate an SVF file for the design.
n
Mount an XS95 Board in the XStend Board and attach the downloading cable from
the XS95 to the PC parallel port. Apply 9VDC though jack J9 of the XS95. Place
shunts on jumpers J4, J7, and J8 of the XStend Board to enable the LED displays.
Chapter
4
Example Designs
Summary of Contents for XStend XS40
Page 17: ...16 Figure 5 Programmer s model of the XS40 XStend Board combination...
Page 18: ...17...
Page 20: ......
Page 31: ......
Page 33: ......
Page 41: ......
Page 58: ...Appendix A XStend Schematics...
Page 59: ...XStend V1 3 XS Board Connectors...
Page 60: ...XStend V1 3 RAM...
Page 61: ......
Page 62: ...XStend V1 3 Stereo Codec...
Page 63: ......