mirror of
https://github.com/chipsalliance/f4pga-examples.git
synced 2025-01-03 03:43:38 -05:00
Merge pull request #34 from antmicro/update-xc7-packages
xc7: update install package and VTR version
This commit is contained in:
commit
6550c5ddeb
6 changed files with 23 additions and 20 deletions
|
@ -37,7 +37,7 @@ bash conda_installer.sh -b -p $INSTALL_DIR/conda && rm conda_installer.sh
|
||||||
source "$INSTALL_DIR/conda/etc/profile.d/conda.sh"
|
source "$INSTALL_DIR/conda/etc/profile.d/conda.sh"
|
||||||
conda env create -f examples/xc7/environment.yml
|
conda env create -f examples/xc7/environment.yml
|
||||||
conda activate xc7
|
conda activate xc7
|
||||||
wget -qO- https://storage.googleapis.com/symbiflow-arch-defs/artifacts/prod/foss-fpga-tools/symbiflow-arch-defs/continuous/install/4/20200416-002215/symbiflow-arch-defs-install-a321d9d9.tar.xz | tar -xJ -C $INSTALL_DIR
|
wget -qO- https://storage.googleapis.com/symbiflow-arch-defs/artifacts/prod/foss-fpga-tools/symbiflow-arch-defs/presubmit/install/477/20200714-082108/symbiflow-arch-defs-install-8eb88e76.tar.xz | tar -xJ --one-top-level=$INSTALL_DIR/install
|
||||||
conda deactivate
|
conda deactivate
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
12
examples/xc7/counter_test/Makefile
vendored
12
examples/xc7/counter_test/Makefile
vendored
|
@ -21,22 +21,22 @@ ${BUILDDIR}:
|
||||||
mkdir ${BUILDDIR}
|
mkdir ${BUILDDIR}
|
||||||
|
|
||||||
${BUILDDIR}/${TOP}.eblif: | ${BUILDDIR}
|
${BUILDDIR}/${TOP}.eblif: | ${BUILDDIR}
|
||||||
cd ${BUILDDIR} && synth -t ${TOP} -v ${VERILOG} -d ${BITSTREAM_DEVICE} -p ${PARTNAME}
|
cd ${BUILDDIR} && symbiflow_synth -t ${TOP} -v ${VERILOG} -d ${BITSTREAM_DEVICE} -p ${PARTNAME}
|
||||||
|
|
||||||
${BUILDDIR}/${TOP}.net: ${BUILDDIR}/${TOP}.eblif
|
${BUILDDIR}/${TOP}.net: ${BUILDDIR}/${TOP}.eblif
|
||||||
cd ${BUILDDIR} && pack -e ${TOP}.eblif -d ${DEVICE} -s ${SDC}
|
cd ${BUILDDIR} && symbiflow_pack -e ${TOP}.eblif -d ${DEVICE} -s ${SDC}
|
||||||
|
|
||||||
${BUILDDIR}/${TOP}.place: ${BUILDDIR}/${TOP}.net
|
${BUILDDIR}/${TOP}.place: ${BUILDDIR}/${TOP}.net
|
||||||
cd ${BUILDDIR} && place -e ${TOP}.eblif -d ${DEVICE} -p ${PCF} -n ${TOP}.net -P ${PARTNAME} -s ${SDC} 2>&1 > /dev/null
|
cd ${BUILDDIR} && symbiflow_place -e ${TOP}.eblif -d ${DEVICE} -p ${PCF} -n ${TOP}.net -P ${PARTNAME} -s ${SDC} 2>&1 > /dev/null
|
||||||
|
|
||||||
${BUILDDIR}/${TOP}.route: ${BUILDDIR}/${TOP}.place
|
${BUILDDIR}/${TOP}.route: ${BUILDDIR}/${TOP}.place
|
||||||
cd ${BUILDDIR} && route -e ${TOP}.eblif -d ${DEVICE} -s ${SDC} 2>&1 > /dev/null
|
cd ${BUILDDIR} && symbiflow_route -e ${TOP}.eblif -d ${DEVICE} -s ${SDC} 2>&1 > /dev/null
|
||||||
|
|
||||||
${BUILDDIR}/${TOP}.fasm: ${BUILDDIR}/${TOP}.route
|
${BUILDDIR}/${TOP}.fasm: ${BUILDDIR}/${TOP}.route
|
||||||
cd ${BUILDDIR} && write_fasm -e ${TOP}.eblif -d ${DEVICE}
|
cd ${BUILDDIR} && symbiflow_write_fasm -e ${TOP}.eblif -d ${DEVICE}
|
||||||
|
|
||||||
${BUILDDIR}/${TOP}.bit: ${BUILDDIR}/${TOP}.fasm
|
${BUILDDIR}/${TOP}.bit: ${BUILDDIR}/${TOP}.fasm
|
||||||
cd ${BUILDDIR} && write_bitstream -d ${BITSTREAM_DEVICE} -f ${TOP}.fasm -p ${PARTNAME} -b ${TOP}.bit
|
cd ${BUILDDIR} && symbiflow_write_bitstream -d ${BITSTREAM_DEVICE} -f ${TOP}.fasm -p ${PARTNAME} -b ${TOP}.bit
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf ${BUILDDIR}
|
rm -rf ${BUILDDIR}
|
||||||
|
|
4
examples/xc7/environment.yml
vendored
4
examples/xc7/environment.yml
vendored
|
@ -4,7 +4,9 @@ channels:
|
||||||
dependencies:
|
dependencies:
|
||||||
- symbiflow::symbiflow-yosys=0.8_3925_g6bccd35a
|
- symbiflow::symbiflow-yosys=0.8_3925_g6bccd35a
|
||||||
- symbiflow::symbiflow-yosys-plugins=1.0.0.7_0032_g104f4fc
|
- symbiflow::symbiflow-yosys-plugins=1.0.0.7_0032_g104f4fc
|
||||||
- symbiflow::symbiflow-vtr=8.0.0.rc2_3575_g253f75b6d
|
- symbiflow::symbiflow-vtr=8.0.0.rc2_4003_g8980e4621
|
||||||
|
- symbiflow::prjxray-tools
|
||||||
|
- symbiflow::prjxray-db
|
||||||
- make
|
- make
|
||||||
- lxml
|
- lxml
|
||||||
- simplejson
|
- simplejson
|
||||||
|
|
12
examples/xc7/linux_litex_demo/Makefile
vendored
12
examples/xc7/linux_litex_demo/Makefile
vendored
|
@ -21,22 +21,22 @@ ${BUILDDIR}:
|
||||||
ln -s ${MEM_INIT} ${BUILDDIR}
|
ln -s ${MEM_INIT} ${BUILDDIR}
|
||||||
|
|
||||||
${BUILDDIR}/${TOP}.eblif: | ${BUILDDIR}
|
${BUILDDIR}/${TOP}.eblif: | ${BUILDDIR}
|
||||||
cd ${BUILDDIR} && synth -t ${TOP} -v ${VERILOG} -d ${BITSTREAM_DEVICE} -p ${PARTNAME} -x ${XDC} 2>&1 > /dev/null
|
cd ${BUILDDIR} && symbiflow_synth -t ${TOP} -v ${VERILOG} -d ${BITSTREAM_DEVICE} -p ${PARTNAME} -x ${XDC} 2>&1 > /dev/null
|
||||||
|
|
||||||
${BUILDDIR}/${TOP}.net: ${BUILDDIR}/${TOP}.eblif
|
${BUILDDIR}/${TOP}.net: ${BUILDDIR}/${TOP}.eblif
|
||||||
cd ${BUILDDIR} && pack -e ${TOP}.eblif -d ${DEVICE} -s ${SDC} 2>&1 > /dev/null
|
cd ${BUILDDIR} && symbiflow_pack -e ${TOP}.eblif -d ${DEVICE} -s ${SDC} 2>&1 > /dev/null
|
||||||
|
|
||||||
${BUILDDIR}/${TOP}.place: ${BUILDDIR}/${TOP}.net
|
${BUILDDIR}/${TOP}.place: ${BUILDDIR}/${TOP}.net
|
||||||
cd ${BUILDDIR} && place -e ${TOP}.eblif -d ${DEVICE} -p ${PCF} -n ${TOP}.net -P ${PARTNAME} -s ${SDC} 2>&1 > /dev/null
|
cd ${BUILDDIR} && symbiflow_place -e ${TOP}.eblif -d ${DEVICE} -p ${PCF} -n ${TOP}.net -P ${PARTNAME} -s ${SDC} 2>&1 > /dev/null
|
||||||
|
|
||||||
${BUILDDIR}/${TOP}.route: ${BUILDDIR}/${TOP}.place
|
${BUILDDIR}/${TOP}.route: ${BUILDDIR}/${TOP}.place
|
||||||
cd ${BUILDDIR} && route -e ${TOP}.eblif -d ${DEVICE} -s ${SDC} 2>&1 > /dev/null
|
cd ${BUILDDIR} && symbiflow_route -e ${TOP}.eblif -d ${DEVICE} -s ${SDC} 2>&1 > /dev/null
|
||||||
|
|
||||||
${BUILDDIR}/${TOP}.fasm: ${BUILDDIR}/${TOP}.route
|
${BUILDDIR}/${TOP}.fasm: ${BUILDDIR}/${TOP}.route
|
||||||
cd ${BUILDDIR} && write_fasm -e ${TOP}.eblif -d ${DEVICE}
|
cd ${BUILDDIR} && symbiflow_write_fasm -e ${TOP}.eblif -d ${DEVICE}
|
||||||
|
|
||||||
${BUILDDIR}/${TOP}.bit: ${BUILDDIR}/${TOP}.fasm
|
${BUILDDIR}/${TOP}.bit: ${BUILDDIR}/${TOP}.fasm
|
||||||
cd ${BUILDDIR} && write_bitstream -d ${BITSTREAM_DEVICE} -f ${TOP}.fasm -p ${PARTNAME} -b ${TOP}.bit
|
cd ${BUILDDIR} && symbiflow_write_bitstream -d ${BITSTREAM_DEVICE} -f ${TOP}.fasm -p ${PARTNAME} -b ${TOP}.bit
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf ${BUILDDIR}
|
rm -rf ${BUILDDIR}
|
||||||
|
|
12
examples/xc7/picosoc_demo/Makefile
vendored
12
examples/xc7/picosoc_demo/Makefile
vendored
|
@ -19,22 +19,22 @@ ${BUILDDIR}:
|
||||||
mkdir ${BUILDDIR}
|
mkdir ${BUILDDIR}
|
||||||
|
|
||||||
${BUILDDIR}/${TOP}.eblif: | ${BUILDDIR}
|
${BUILDDIR}/${TOP}.eblif: | ${BUILDDIR}
|
||||||
cd ${BUILDDIR} && synth -t ${TOP} -v ${VERILOG} -d ${BITSTREAM_DEVICE} -p ${PARTNAME} 2>&1 > /dev/null
|
cd ${BUILDDIR} && symbiflow_synth -t ${TOP} -v ${VERILOG} -d ${BITSTREAM_DEVICE} -p ${PARTNAME} 2>&1 > /dev/null
|
||||||
|
|
||||||
${BUILDDIR}/${TOP}.net: ${BUILDDIR}/${TOP}.eblif
|
${BUILDDIR}/${TOP}.net: ${BUILDDIR}/${TOP}.eblif
|
||||||
cd ${BUILDDIR} && pack -e ${TOP}.eblif -d ${DEVICE} -s ${SDC} 2>&1 > /dev/null
|
cd ${BUILDDIR} && symbiflow_pack -e ${TOP}.eblif -d ${DEVICE} -s ${SDC} 2>&1 > /dev/null
|
||||||
|
|
||||||
${BUILDDIR}/${TOP}.place: ${BUILDDIR}/${TOP}.net
|
${BUILDDIR}/${TOP}.place: ${BUILDDIR}/${TOP}.net
|
||||||
cd ${BUILDDIR} && place -e ${TOP}.eblif -d ${DEVICE} -p ${PCF} -n ${TOP}.net -P ${PARTNAME} -s ${SDC} 2>&1 > /dev/null
|
cd ${BUILDDIR} && symbiflow_place -e ${TOP}.eblif -d ${DEVICE} -p ${PCF} -n ${TOP}.net -P ${PARTNAME} -s ${SDC} 2>&1 > /dev/null
|
||||||
|
|
||||||
${BUILDDIR}/${TOP}.route: ${BUILDDIR}/${TOP}.place
|
${BUILDDIR}/${TOP}.route: ${BUILDDIR}/${TOP}.place
|
||||||
cd ${BUILDDIR} && route -e ${TOP}.eblif -d ${DEVICE} -s ${SDC} 2>&1 > /dev/null
|
cd ${BUILDDIR} && symbiflow_route -e ${TOP}.eblif -d ${DEVICE} -s ${SDC} 2>&1 > /dev/null
|
||||||
|
|
||||||
${BUILDDIR}/${TOP}.fasm: ${BUILDDIR}/${TOP}.route
|
${BUILDDIR}/${TOP}.fasm: ${BUILDDIR}/${TOP}.route
|
||||||
cd ${BUILDDIR} && write_fasm -e ${TOP}.eblif -d ${DEVICE}
|
cd ${BUILDDIR} && symbiflow_write_fasm -e ${TOP}.eblif -d ${DEVICE}
|
||||||
|
|
||||||
${BUILDDIR}/${TOP}.bit: ${BUILDDIR}/${TOP}.fasm
|
${BUILDDIR}/${TOP}.bit: ${BUILDDIR}/${TOP}.fasm
|
||||||
cd ${BUILDDIR} && write_bitstream -d ${BITSTREAM_DEVICE} -f ${TOP}.fasm -p ${PARTNAME} -b ${TOP}.bit
|
cd ${BUILDDIR} && symbiflow_write_bitstream -d ${BITSTREAM_DEVICE} -f ${TOP}.fasm -p ${PARTNAME} -b ${TOP}.bit
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf ${BUILDDIR}
|
rm -rf ${BUILDDIR}
|
||||||
|
|
1
examples/xc7/requirements.txt
vendored
1
examples/xc7/requirements.txt
vendored
|
@ -1,2 +1,3 @@
|
||||||
python-constraint
|
python-constraint
|
||||||
git+https://github.com/symbiflow/fasm
|
git+https://github.com/symbiflow/fasm
|
||||||
|
git+https://github.com/symbiflow/xc-fasm
|
||||||
|
|
Loading…
Reference in a new issue