XESS XStend Manual page 13

Board
Table of Contents

Advertisement

• Set the DIP switches and press the SPARE and RESET pushbuttons. Observe the results on
the LEDs.
The steps for compiling and testing the design using an XS95 combined with an XStend Board
are as follows:
• Synthesize the ABEL code in the EXP1.ABL for an XC95108 CPLD.
• Compile the synthesized netlist using the EXP1_95.UCF constraint file.
• Generate an SVF file for the design.
• 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. Place a shunt on
jumper J11 to keep the XStend codec disabled.
• Download the EXP1.SVF file into the XS95/XStend combination with the command:
XSLOAD EXP1.SVF.
• Set the DIP switches and press the SPARE and RESET pushbuttons. Observe the results on
the LEDs.
Listing 13: ABEL code for testing the XStend LEDs and switches.
001- MODULE EXP1
002- TITLE 'EXP1'
003-
004- // This example shows the settings of the DIP switches using each
005- // of the LED displays as selected by the SPARE and RESET pushbuttons
006-
007- DECLARATIONS
008-
009- OE_ PIN;
010- RST PIN;
011- DIPSW8..DIPSW1 PIN;
012- DIPSW = [DIPSW8..DIPSW1];
013- PUSH_SPARE_ PIN;
014- PUSH_RESET_ PIN;
015- S6..S0 PIN;
016- S = [S6..S0];
017- LS_6..LS_0 PIN;
018- LS_ = [LS_6..LS_0];
019- LDP_ PIN;
020- RS_6..RS_0 PIN;
021- RS_ = [RS_6..RS_0];
022- RDP_ PIN;
023- D_8..D_1 PIN;
024- D_ = [D_8..D_1];
025-
026- EQUATIONS
027-
028- RST = 1;
// keep the uC in the reset state
// output enable for the RAMs
// uC reset
// DIP switch inputs
// SPARE pushbutton input
// RESET pushbutton input
// LED display on XS Board
// left LED display on XStend Board
// decimal point on left LED display
// right LED display on Xstend board
// decimal point on right LED display
// string of LEDs on XStend Board

Advertisement

Table of Contents
loading

Related Products for XESS XStend

Table of Contents