background image

Table 4:

 Connections between the XS40 Board and XStend Board resources.

XS40 Bus 

(J1,J3,J18)

XS95 Pins (J2)

Power/ GND

DIP Switch

Push-buttons

LEDs

VGA 

Interface

PS/2 Interface

RAMs

Stereo Codec

8051 Uc

PC Parallel 

Port

Oscillator

Function

UW-FPGA 

BOARD Pin

1

77

Uncommitted XS95 I/O pin

2

78 +5V

+5V power source

3

1

LS_0

A0

LED segment; address line

P35

4

2

LS_1

A1

LED segment; address line

P36

5

3

LS_2

A2

LED segment; address line

P29

6

5

DIPSW4

LRCK

P13

DIP switch; codec control; uC I/O

P24

7

6

DIPSW1

LCE_

P10

DIP switch; RAM chip-enable, uC I/O port

P19

8

7

DIPSW2

RCE_

P11

DIP switch; RAM chip-enable, uC I/O port

P20

9

11

DIPSW3

MCLK

P12

DIP switch; codec clock; uC I/O port

P23

10

35

D_8

AD7

P07

LED; RAM data line; uC muxed address/data line 

P61

11

31

Uncommitted XS95 I/O pin

12

69

Uncommitted XS95 I/O pin

13

9

CLK

XS40/95 oscillator output

14

13

PSEN_

uC program storage-enable

15

28

JTAG TDI; DIN

16

30

JTAG TCK; CCLK

17

29

JTAG TMS

18

14

S5

RED1

XS Board LED segment; VGA color signal

19

15

S6

HSYNC_

XS Board LED segment; VGA horiz. sync.

20

17

S3

GREEN1

XS Board LED segment; VGA color signal

21

68

Uncommitted XS95 I/O pin

22

33

Uncommitted XS95 I/O pin

23

18

S4

RED0

XS Board LED segment; VGA color signal

24

19

S2

GREEN0

XS Board LED segment; VGA color signal

25

21

S0

BLUE0

XS Board LED segment; VGA color signal

26

23

S1

BLUE1

XS Board LED segment; VGA color signal

27

32

RD_

uC read line

28

34

RDP_

A15

P27

LED decimal-point; address line; uC I/O port

P41

29

20

ALE_

uC address-latch-enable

30

Serial EEPROM chip-enable

31

12

Uncommitted XS95 I/O pin

32

81

PC_D6

PC parallel port output

33

25

Uncommitted XS95 I/O pin

34

80

PC_D7

PC parallel port output

35

39

D_5

AD4

P04

LED; RAM data line; uC muxed address/data line 

P66

36

45

RST

uC reset line

37

10

RESET_

XTAL1

Pushbutton; uC clock line

P56

38

40

D_4

AD3

P03

LED; RAM data line; uC muxed address/data line 

P57

39

41

D_3

AD2

P02

LED; RAM data 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 pin

43

Unconnected

44

46

CCLK

PC_D0

Codec control line; PC parallel port output

45

47

CDIN

PC_D1

Codec control line; PC parallel port output

46

48

CS_

PC_D2

Codec control line; PC parallel port output

47

50

PC_D3

PC parallel port output

48

51

PC_D4

PC parallel port output

49

52

PC_D5

PC parallel port output

50

53

RS_4

A12

P24

LED segment; address line; uC I/O port

P48

51

54

RS_2

A10

P22

LED segment; address line; uC I/O port

P45

52

49 GND

Power supply ground

53

Unconnected

54

+3.3V

+3.3V/+5V power supply (4000E/4000XL)

55

PROGRAM

XS40 configuration control

P55

56

55

RS_3

A11

P23

LED segment; address line; uC I/O port

P51

57

56

RS_1

A9

P21

LED segment; address line; uC I/O port

P47

58

57

RS_5

A13

P25

LED segment; address line; uC I/O port

P50

59

58

RS_0

A8

P20

LED segment; address line; uC I/O port

P46

60

61

RS_6

A14

P26

LED segment; address line; uC I/O port

P49

61

62

OE_

RAM output-enable

62

63

WR_

P36

RAM write-enable; uC I/O port

63

Unconnected

64

Unconnected

65

65

CE_

XS Board RAM chip-enable

66

66

DIPSW7

SDOUT P16

DIP switch; codec output data; uC I/O port

P27

67

24,67

SPARE_

VSYNC_

P17

Pushbutton; VGA horiz. sync.; uC I/O port

P18

68

26

KB_CLK

P34

PS/2 keyboard clock; uC I/O port

69

70

DIPSW8

KB_DATA

P31

DIP switch; keyboard serial data; uC I/O port

P28

70

71

DIPSW6

SDIN

P15

DIP switch; codec input data; uC I/O port

P26

71

28

JTAG TDI; DIN

72

59

JTAG TDO; DOUT

73

30

JTAG TCK; CCLK

74

74

Uncommitted XS95 I/O pin

75

59

JTAG TDO; DOUT

76

76

Uncommitted XS95 I/O pin

77

72

DIPSW5

SCLK

P14

DIP switch; codec serial clock; uC I/O port

P25

78

75

LS_3

A3

LED segment; address line

P44

79

79

LS_4

A4

LED segment; address line

P38

80

36

D_7

AD6

P06

LED; RAM data line; uC muxed address/data line 

P62

81

37

D_6

AD5

P05

LED; RAM data line; uC muxed address/data line 

P65

82

82

LS_5

A5

LED segment; address line

P40

83

83

LS_6

A6

LED segment; address line

P39

84

84

LDP_

A7

LED decimal-point; address line

P37

Summary of Contents for XStend

Page 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...

Page 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...

Page 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...

Page 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...

Page 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_...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 29: ...XStend Bus Connections...

Page 30: ...XStend RAMs...

Page 31: ...XStend Analog I O...

Page 32: ...XStend Stereo Codec...

Page 33: ...XStend Switches LEDs VGA Interface and PS 2 Interface...

Page 34: ...XStend Board Layout...

Reviews: