prjxray/utils
Carlos Venegas Arrabé 19d29f9c84
bit2fasm: close the temporary bits file before bitread writes it
The temporary bits file was created with NamedTemporaryFile() and kept
open while the bitread subprocess wrote to it by name. On Windows that
is a sharing violation (the open handle blocks the child's write), so
bit2fasm always failed there. Create the file with delete=False, close
it immediately, and unlink it via the ExitStack instead.

No behaviour change on POSIX beyond the file being closed while
bitread runs.
2026-07-31 22:47:03 +02:00
..
openocd Add reset config to allow upload to PS region 2020-05-29 09:54:48 -04:00
test_data Update tests to fabric refactoring 2021-01-12 22:36:58 +01:00
.gitignore Add utils .gitignore 2017-12-20 22:46:39 +01:00
__init__.py setup: include utils directory 2020-05-21 13:42:26 +02:00
addrwidth.py Add licensing header to python scripts 2020-05-26 07:33:12 -07:00
bit2fasm.py bit2fasm: close the temporary bits file before bitread writes it 2026-07-31 22:47:03 +02:00
blockwidth.py Add licensing header to python scripts 2020-05-26 07:33:12 -07:00
checkdb.py Add licensing header to python scripts 2020-05-26 07:33:12 -07:00
clean_json5.py Add licensing header to python scripts 2020-05-26 07:33:12 -07:00
cleandb.py Add licensing header to python scripts 2020-05-26 07:33:12 -07:00
cmp.py Add licensing header to python scripts 2020-05-26 07:33:12 -07:00
create_environment.py Makefile: Do not dump the environment during db-prepare 2021-03-26 08:28:54 +01:00
create_timing_worksheet_db.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
dbfixup.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
diff_db_bits.py Add licensing header to python scripts 2020-05-26 07:33:12 -07:00
diff_db_json.py Add licensing header to python scripts 2020-05-26 07:33:12 -07:00
environment.python.sh Clean up python install process. 2020-09-09 09:48:48 -07:00
environment.sh utils/environment.h: Protect against unintentionally wrongly set env var XRAY_VIVADO 2022-08-18 03:21:37 +02:00
fasm2frames.py fasm2frames: default to sys.stdout instead of /dev/stdout 2026-07-31 22:46:51 +02:00
fasm2pips.py Add licensing header to python scripts 2020-05-26 07:33:12 -07:00
fasm_pprint.py Add licensing header to python scripts 2020-05-26 07:33:12 -07:00
find_missing_segbits.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
genheader.sh Add licensing header to bash scripts 2020-05-26 07:33:12 -07:00
group.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
groupmask.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
info_md.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
make_ports.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
makesdf.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
maskmerge.sh Add licensing header to bash scripts 2020-05-26 07:33:12 -07:00
maskview.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
mergedb.py Added a feature name check to mergedb.py 2020-07-29 16:35:27 +02:00
mergedb.sh utils/mergedb.sh: add GTX support 2025-02-13 17:20:08 +07:00
parsedb.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
quick_test.py Add licensing header to python scripts 2020-05-26 07:33:12 -07:00
roi_all.py utils: parallelize all roi parts generation 2022-03-04 11:05:55 +01:00
sdfmerge.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
segprint.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
segview.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
simpleroute.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
sort_db.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
sp6_bitstream_analyzer.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
tcl-reformat.sh Add licensing header to bash scripts 2020-05-26 07:33:12 -07:00
test_fasm2frames.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
tileconnloops.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
tileconnwire.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
tilegrid_report.py Add licensing header to python scripts 2020-05-26 07:33:12 -07:00
top_generate.mk Initial cascade pip fuzzer. 2019-01-30 14:53:05 -08:00
top_generate.sh Add licensing header to bash scripts 2020-05-26 07:33:12 -07:00
update_parts.py Add support for xc7s50 2021-12-13 18:39:27 +08:00
update_parts.tcl utils: Add new tools to roi all parts 2021-03-15 17:37:58 +01:00
update_resources.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
update_resources.tcl run make format-tcl 2021-03-26 13:47:38 +01:00
utils.tcl cells_data: add clock information on ports.json 2021-03-26 13:47:38 +01:00
verify_tile_connections.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
vivado.sh Add licensing header to bash scripts 2020-05-26 07:33:12 -07:00
vtemplate MAKE - Format Trailing Whitespace 2019-10-26 10:04:52 +01:00
write_timing_info.tcl Add license headers to tcl files 2020-05-26 07:33:12 -07:00
xjson.py scripts: use open safe file class 2022-03-17 10:04:19 +01:00
xyaml.py utils: xyaml: Do not use deprecated function 2021-01-12 22:36:58 +01:00