background image

Listing 2:

 Connections between the XStend LEDs and the XS95.

# LEFT LED DIGIT SEGMENT CONNECTIONS (ACTIVE-LOW)
NET LS_0

LOC=P1;

NET LS_1

LOC=P2;

NET LS_2

LOC=P3;

NET LS_3

LOC=P75;

NET LS_4

LOC=P79;

NET LS_5

LOC=P82;

NET LS_6

LOC=P83;

NET LDP_

LOC=P84;

#
# RIGHT LED DIGIT SEGMENT CONNECTIONS (ACTIVE-LOW)
NET RS_0

LOC=P58;

NET RS_1

LOC=P56;

NET RS_2

LOC=P54;

NET RS_3

LOC=P55;

NET RS_4

LOC=P53;

NET RS_5

LOC=P57;

NET RS_6

LOC=P61;

NET RDP_

LOC=P34;

#
# INDIVIDUAL LED CONNECTIONS (ACTIVE-LOW)
NET D_1

LOC=P44;

NET D_2

LOC=P43;

NET D_3

LOC=P41;

NET D_4

LOC=P40;

NET D_5

LOC=P39;

NET D_6

LOC=P37;

NET D_7

LOC=P36;

NET D_8

LOC=P35;

2.3

 

Switches

The XStend has a bank of eight DIP switches and two pushbuttons (labelled SPARE and
RESET) that are accessible from the XS Boards.  (There is a third pushbutton labelled
PROGRAM which is used to initiate the programming of the XS40 Board.  It is not intended to
be a general-purpose input.)

When closed, each DIP switch pulls the connected pin of the XS Board to ground.  When the
DIP switch is open, the pin is pulled high through a 10K

W

resistor.

*

When not being used, the DIP switches should be left in the open configuration so the pins of

the XS Board are not tied to ground and can freely move between logic low and high levels.

When pressed, each pushbutton pulls the connected pin of the XS Board to ground.  Otherwise,
the pin is pulled high through a 10 K

W

 resistor.

Here are the connections from the XS40 and XS95 Boards to the switches on the XStend Board
expressed as UCF constraints (for the UCF syntax and usage tips, check out
http://www.xilinx.com/techdocs/2449.htm):

Содержание XStend

Страница 1: ...and exclusive warranty shall be during the period of warranty specified above and at XESS s option the repair or replacement of the product The foregoing warranty of XESS shall extend to repaired or r...

Страница 2: ...2 9 Daughterboard Connector 12 3 Example Designs for the XStend Board 12 3 1 Using the LEDs and Switches 12 3 2 Using the VGA Interface 16 3 3 Using the PS 2 Keyboard Interface 21 3 4 Using the RAMs...

Страница 3: ...hat the XS40 and XS95 Boards can access through their breadboard interfaces The XStend Board contains resources that extend the range of applications of the XS Boards into three areas The pushbuttons...

Страница 4: ...000XL FPGA with an XC4000E FPGA and remove the J8 jumper to switch the board to 5V operation To use an XS40 Board with the XStend Board insert it into the right most columns of the mounting receptacle...

Страница 5: ...S ACTIVE LOW NET LS_0 LOC P3 NET LS_1 LOC P4 NET LS_2 LOC P5 NET LS_3 LOC P78 NET LS_4 LOC P79 NET LS_5 LOC P82 NET LS_6 LOC P83 NET LDP_ LOC P84 RIGHT LED DIGIT SEGMENT CONNECTIONS ACTIVE LOW NET RS_...

Страница 6: ...and RESET that are accessible from the XS Boards There is a third pushbutton labelled PROGRAM which is used to initiate the programming of the XS40 Board It is not intended to be a general purpose in...

Страница 7: ...CONNECTIONS ACTIVE LOW NET PUSH_SPARE_ LOC P67 NET PUSH_RESET_ LOC P10 2 4 VGA Interface The XStend Board provides the XS Board with an interface to a VGA monitor through connector J5 The XS Board ca...

Страница 8: ...40 and XS95 Boards to the PS 2 interface of the XStend Board expressed as UCF constraints Listing 7 Connections between the XStend PS 2 interface and the XS40 PS 2 KEYBOARD CONNECTIONS NET KB_DATA LOC...

Страница 9: ...AD6 LOC P80 NET AD7 LOC P10 NET A0 LOC P3 LOWER BYTE OF ADDRESS NET A1 LOC P4 NET A2 LOC P5 NET A3 LOC P78 NET A4 LOC P79 NET A5 LOC P82 NET A6 LOC P83 NET A7 LOC P84 NET A8 LOC P59 UPPER BYTE OF ADDR...

Страница 10: ...2 7 Stereo Codec The XStend Board has a stereo codec that accepts two analog input channels from jack J9 digitizes the analog values and sends the digital values to the XS Board as a serial bit stream...

Страница 11: ...K LOC P9 NET LRCK LOC P6 NET SCLK LOC P77 NET SDIN LOC P70 NET CCLK LOC P44 NET CDIN LOC P45 NET CS_ LOC P46 Listing 12 Connections between the XStend codec and the XS95 STEREO CODEC CONNECTIONS NET S...

Страница 12: ...Here are several examples of designs built using the XStend Board coupled with an XS40 or XS95 Board 3 1 Using the LEDs and Switches This example creates a circuit that displays the settings of the DI...

Страница 13: ...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...

Страница 14: ...11 050 051 When only the SPARE pushbutton is pressed the DIP switch settings 052 are shown on the right LED display on the XStend Board 053 ELSE WHEN PUSH_SPARE_ 0 PUSH_RESET_ 1 THEN 054 S B0000000 05...

Страница 15: ...ET LDP_ LOC P84 042 043 RIGHT LED DIGIT SEGMENT CONNECTIONS ACTIVE LOW 044 NET RS_0 LOC P59 045 NET RS_1 LOC P57 046 NET RS_2 LOC P51 047 NET RS_3 LOC P56 048 NET RS_4 LOC P50 049 NET RS_5 LOC P58 050...

Страница 16: ...P82 040 NET LS_6 LOC P83 041 NET LDP_ LOC P84 042 043 RIGHT LED DIGIT SEGMENT CONNECTIONS ACTIVE LOW 044 NET RS_0 LOC P58 045 NET RS_1 LOC P56 046 NET RS_2 LOC P54 047 NET RS_3 LOC P55 048 NET RS_4 LO...

Страница 17: ...compiling and testing the design using an XS95 combined with an XStend Board are as follows Synthesize the ABEL code in the EXP2 ABL for an XC95108 CPLD Compile the synthesized netlist using the EXP2...

Страница 18: ...tate so it doesn t interfere 042 043 hcnt ACLR push_reset_ clear counter on active low reset 044 vcnt ACLR push_reset_ clear counter on active low reset 045 hcnt CLK clk horiz cnt increments on each d...

Страница 19: ...t_ 088 delayed_blank CLK clk 089 delayed_blank video_blank 090 091 color mapper that translates each 4 bit pixel into a 6 bit RGB value 092 when the video signal is blanked the RGB value is forced to...

Страница 20: ...TIONS 039 NET VSYNC_ LOC P67 040 NET HSYNC_ LOC P19 041 NET RED1 LOC P18 042 NET RED0 LOC P23 043 NET GREEN1 LOC P20 044 NET GREEN0 LOC P24 045 NET BLUE1 LOC P26 046 NET BLUE0 LOC P25 047 048 PUSHBUTT...

Страница 21: ...2 interface of the XStend Board and displays it on the LEDs In addition if a scan code for one of the keys 0 9 arrives then the numeral will be displayed on the right LED display of the XStend Board...

Страница 22: ...the command XSLOAD EXP3 SVF Press keys on the keyboard and observe the results on the LED displays Listing 19 ABEL code for testing the XStend PS 2 example 001 MODULE EXP3 002 TITLE EXP3 003 004 DECLA...

Страница 23: ...10000 048 H3D B0101101 049 H3E B0000000 050 H46 B0000100 051 H45 B0001000 052 053 END EXP3 Listing 20 UCF file for PS 2 XStend example with XS40 001 MICROCONTROLLER PINS 002 NET RST LOC P36 ACTIVE HIG...

Страница 24: ...P70 012 NET KB_CLK LOC P26 013 014 RIGHT LED DIGIT SEGMENT CONNECTIONS ACTIVE LOW 015 NET RS_0 LOC P58 016 NET RS_1 LOC P56 017 NET RS_2 LOC P54 018 NET RS_3 LOC P55 019 NET RS_4 LOC P53 020 NET RS_5...

Страница 25: ...how the connections between the XS40 Board and XS95 Board and the resources on the XStend Board respectively Both tables contain the same information but are sorted according to the ordering of the XS...

Страница 26: ...ata line uC muxed address data line P58 40 43 D_2 AD1 P01 LED RAM data line uC muxed address data line P59 41 44 D_1 AD0 P00 LED RAM data line uC muxed address data line P60 42 4 Uncommitted XS95 I O...

Страница 27: ...2 LED RAM data line uC muxed address data line P58 43 40 D_2 AD1 P01 LED RAM data line uC muxed address data line P59 44 41 D_1 AD0 P00 LED RAM data line uC muxed address data line P60 45 36 RST uC re...

Страница 28: ...ing the shunt on this jumper disables the left RAM U5 by pulling its chip select pin high J17 Removing the shunt on this jumper disables the right RAM U6 by pulling its chip select pin high J11 Placin...

Страница 29: ...XStend Bus Connections...

Страница 30: ...XStend RAMs...

Страница 31: ...XStend Analog I O...

Страница 32: ...XStend Stereo Codec...

Страница 33: ...XStend Switches LEDs VGA Interface and PS 2 Interface...

Страница 34: ...XStend Board Layout...

Отзывы: