mirror of https://github.com/openXC7/prjxray.git
roi_harness: small project option
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
This commit is contained in:
parent
31013a3e43
commit
51e7a537ce
|
|
@ -1,8 +0,0 @@
|
||||||
`ifndef DIN_N
|
|
||||||
`define DIN_N 8
|
|
||||||
`endif
|
|
||||||
|
|
||||||
`ifndef DOUT_N
|
|
||||||
`define DOUT_N 8
|
|
||||||
`endif
|
|
||||||
|
|
||||||
|
|
@ -1,5 +1,30 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# 12x8 CLBs
|
||||||
|
if [ $SMALL = Y ] ; then
|
||||||
|
echo "Design: small"
|
||||||
|
export DIN_N=2
|
||||||
|
export DOUT_N=2
|
||||||
|
export XRAY_ROI=SLICE_X12Y100:SLICE_X27Y111
|
||||||
|
# 50x8 CLBs
|
||||||
|
else
|
||||||
|
echo "Design: large"
|
||||||
|
export DIN_N=8
|
||||||
|
export DOUT_N=8
|
||||||
|
export XRAY_ROI=SLICE_X12Y100:SLICE_X27Y149
|
||||||
|
fi
|
||||||
|
|
||||||
|
cat >defines.v <<EOF
|
||||||
|
\`ifndef DIN_N
|
||||||
|
\`define DIN_N $DIN_N
|
||||||
|
\`endif
|
||||||
|
|
||||||
|
\`ifndef DOUT_N
|
||||||
|
\`define DOUT_N $DOUT_N
|
||||||
|
\`endif
|
||||||
|
EOF
|
||||||
|
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
rm -f out_last
|
rm -f out_last
|
||||||
vivado -mode batch -source runme.tcl
|
vivado -mode batch -source runme.tcl
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
# Your ROI should at least have a SLICEL on the left
|
# Your ROI should at least have a SLICEL on the left
|
||||||
|
|
||||||
# Number of package inputs going to ROI
|
# Number of package inputs going to ROI
|
||||||
set DIN_N 8
|
set DIN_N "$::env(DIN_N)"
|
||||||
# Number of ROI outputs going to package
|
# Number of ROI outputs going to package
|
||||||
set DOUT_N 8
|
set DOUT_N "$::env(DOUT_N)"
|
||||||
# How many rows between pins
|
# How many rows between pins
|
||||||
# Reduces routing pressure
|
# Reduces routing pressure
|
||||||
set PITCH 3
|
set PITCH 3
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue