# NOTE: Follow these instructions when you connect your own circuitry to the XS-40 board:
# 
# 1. Do *NOT* connect your own power supply to any of the FPGA Vcc pins
# 2. Connect your circuit's ground to one or more of the FPGA ground pins
# 3. Do not exceed 5V on FPGA inputs (inputs expect 3.3V, but are 5-volt tolerant)
# 4. Realize that the FPGA is a 3.3V device, so a HIGH level output is 3.3V
# 5. You may use the FPGA Vcc pins (3.3V) to power your own circuit, provided your circuit does not
#      require a large amount of current. 
#
# Ground pins: 12, 21, 31, 43, 52, 64, and 76 (must connect one or more of these to your circuit)
#
# Vcc pins: 2, 11, 22, 33, 42, 54, 63, and 74 (only connect to these pins if you are powering your 
# circuit from the XS-40 board and are not using another power supply!)

# INPUTS:
NET i$Clock LOC=P13; # Oscillator
NET i$Invert LOC=P44; # Parallel Port From PC, Data 0
NET i$Enable LOC=P45; # Parallel Port From PC, Data 1
NET i$DataIn<3> LOC=P49; # Parallel Port From PC, Data 5
NET i$DataIn<2> LOC=P48; # Parallel Port From PC, Data 4
NET i$DataIn<1> LOC=P47; # Parallel Port From PC, Data 3
NET i$DataIn<0> LOC=P46; # Parallel Port From PC, Data 2

# OUTPUTS:
NET o$InvertLED LOC=P41; # uncommitted
NET o$EnableLED LOC=P10; # uncommitted
NET o$LeftSevenSeg<6> LOC=P83; # uncommitted
NET o$LeftSevenSeg<5> LOC=P79; # uncommitted
NET o$LeftSevenSeg<4> LOC=P4; # uncommitted
NET o$LeftSevenSeg<3> LOC=P3; # uncommitted
NET o$LeftSevenSeg<2> LOC=P5; # uncommitted
NET o$LeftSevenSeg<1> LOC=P82; # uncommitted
NET o$LeftSevenSeg<0> LOC=P78; # uncommitted
NET o$RightSevenSeg<6> LOC=P60; # uncommitted
NET o$RightSevenSeg<5> LOC=P50; # uncommitted
NET o$RightSevenSeg<4> LOC=P57; # uncommitted
NET o$RightSevenSeg<3> LOC=P59; # uncommitted
NET o$RightSevenSeg<2> LOC=P51; # uncommitted
NET o$RightSevenSeg<1> LOC=P58; # uncommitted
NET o$RightSevenSeg<0> LOC=P56; # uncommitted
NET o$MicroReset LOC=P36; # Micro Reset
NET o$RAMOE LOC=P61; # RAM Output Enable