File tree Expand file tree Collapse file tree 4 files changed +7
-132
lines changed
Expand file tree Collapse file tree 4 files changed +7
-132
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ ${XRAY_VIVADO} -mode batch -source ../runme.tcl
6767test -z " $( fgrep CRITICAL vivado.log) "
6868
6969${XRAY_BITREAD} -F $XRAY_ROI_FRAMES -o design.bits -z -y design.bit
70- python3 ${XRAY_DIR} /utils/bit2fasm.py --verbose design.bit > design.fasm
70+ python3 -m xc_fasm.bit2fasm --verbose design.bit > design.fasm
7171python3 ${XRAY_DIR} /utils/fasm2frames.py design.fasm design.frm
7272PYTHONPATH=$PYTHONPATH :$XRAY_DIR /utils python3 ../create_design_json.py \
7373 --design_info_txt design_info.txt \
Original file line number Diff line number Diff line change 22
33This is a minitest for various SRL configurations.
44
5- Uses Yosys to generate EDIF which is then P&R'd by Vivado. The makefile also invokes bit2fasm and segprint
5+ Uses Yosys to generate EDIF which is then P&R'd by Vivado.
6+ The makefile also invokes ` xc_fasm.bit2fasm ` and ` segprint ` .
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66# https://opensource.org/licenses/ISC
77#
88# SPDX-License-Identifier: ISC
9+
910XRAY_ENV_PATH=" ${BASH_SOURCE[0]} "
1011while [ -h " $XRAY_ENV_PATH " ]; do # resolve $XRAY_ENV_PATH until the file is no longer a symlink
1112 XRAY_UTILS_DIR=" $( cd -P " $( dirname " $XRAY_ENV_PATH " ) " && pwd ) "
@@ -23,22 +24,22 @@ if [ -e "${XRAY_DIR}/env/bin/activate" ]; then
2324 source " ${XRAY_DIR} /env/bin/activate"
2425fi
2526
26- # misc
27+ pip3 install https://github.com/chipsalliance/f4pga-xc-fasm/archive/master.zip
28+
2729export XRAY_PART_YAML=" ${XRAY_DATABASE_DIR} /${XRAY_DATABASE} /${XRAY_PART} /part.yaml"
2830source $XRAY_UTILS_DIR /environment.python.sh
2931
3032# Set environment to default output and overwrite localisation settings
3133export LC_ALL=C
3234
33- # tools
3435export XRAY_GENHEADER=" ${XRAY_UTILS_DIR} /genheader.sh"
3536export XRAY_BITREAD=" ${XRAY_TOOLS_DIR} /bitread --part_file ${XRAY_PART_YAML} "
3637export XRAY_MERGEDB=" bash ${XRAY_UTILS_DIR} /mergedb.sh"
3738export XRAY_DBFIXUP=" python3 ${XRAY_UTILS_DIR} /dbfixup.py"
3839export XRAY_MASKMERGE=" bash ${XRAY_UTILS_DIR} /maskmerge.sh"
3940export XRAY_SEGMATCH=" ${XRAY_TOOLS_DIR} /segmatch"
4041export XRAY_SEGPRINT=" python3 ${XRAY_UTILS_DIR} /segprint.py"
41- export XRAY_BIT2FASM=" python3 ${XRAY_UTILS_DIR} /bit2fasm.py "
42+ export XRAY_BIT2FASM=" python3 -m xc_fasm.bit2fasm "
4243export XRAY_FASM2FRAMES=" python3 ${XRAY_UTILS_DIR} /fasm2frames.py"
4344export XRAY_BITTOOL=" ${XRAY_TOOLS_DIR} /bittool"
4445export XRAY_BLOCKWIDTH=" python3 ${XRAY_UTILS_DIR} /blockwidth.py"
You can’t perform that action at this time.
0 commit comments