mirror of https://github.com/openXC7/prjxray.git
Add UART port to ROI harness.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
parent
6de8155657
commit
4a2a78123d
|
|
@ -34,8 +34,8 @@ if [ "$SMALL" = Y ] ; then
|
||||||
else
|
else
|
||||||
echo "Design: large"
|
echo "Design: large"
|
||||||
export PITCH=2
|
export PITCH=2
|
||||||
export DIN_N=16
|
export DIN_N=17
|
||||||
export DOUT_N=16
|
export DOUT_N=17
|
||||||
export XRAY_ROI=SLICE_X0Y100:SLICE_X35Y149
|
export XRAY_ROI=SLICE_X0Y100:SLICE_X35Y149
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -160,8 +160,13 @@ if {$part eq "xc7a50tfgg484-1"} {
|
||||||
# https://raw.githubusercontent.com/Digilent/digilent-xdc/master/Basys-3-Master.xdc
|
# https://raw.githubusercontent.com/Digilent/digilent-xdc/master/Basys-3-Master.xdc
|
||||||
|
|
||||||
# Slide switches
|
# Slide switches
|
||||||
set sws "V17 V16 W16 W17 W15 V15 W14 W13 V2 T3 T2 R3 W2 U1 T1 R2"
|
set ins "V17 V16 W16 W17 W15 V15 W14 W13 V2 T3 T2 R3 W2 U1 T1 R2"
|
||||||
set leds "U16 E19 U19 V19 W18 U15 U14 V14 V13 V3 W3 U3 P3 N3 P1 L1"
|
set outs "U16 E19 U19 V19 W18 U15 U14 V14 V13 V3 W3 U3 P3 N3 P1 L1"
|
||||||
|
|
||||||
|
# UART
|
||||||
|
lappend ins B18
|
||||||
|
lappend outs A18
|
||||||
|
|
||||||
|
|
||||||
# 100 MHz CLK onboard
|
# 100 MHz CLK onboard
|
||||||
set pin "W5"
|
set pin "W5"
|
||||||
|
|
@ -169,13 +174,13 @@ if {$part eq "xc7a50tfgg484-1"} {
|
||||||
|
|
||||||
# DIN
|
# DIN
|
||||||
for {set i 0} {$i < $DIN_N} {incr i} {
|
for {set i 0} {$i < $DIN_N} {incr i} {
|
||||||
set pin [lindex $sws $i]
|
set pin [lindex $ins $i]
|
||||||
set net2pin(din[$i]) $pin
|
set net2pin(din[$i]) $pin
|
||||||
}
|
}
|
||||||
|
|
||||||
# DOUT
|
# DOUT
|
||||||
for {set i 0} {$i < $DOUT_N} {incr i} {
|
for {set i 0} {$i < $DOUT_N} {incr i} {
|
||||||
set pin [lindex $leds $i]
|
set pin [lindex $outs $i]
|
||||||
set net2pin(dout[$i]) $pin
|
set net2pin(dout[$i]) $pin
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue