Carlos Venegas Arrabé
2ae6fae618
Merge branch 'master' of github.com:cavearr/prjxray into fix/python-win-compat
2026-07-31 23:10:59 +02:00
Carlos Venegas Arrabé
78019690be
lib: Win32 port of the Database segbits enumeration
...
lib/database.cc used glob(3) to enumerate segbits files, which is
unavailable on Windows. Add an #ifdef _WIN32 branch using
FindFirstFileA/FindNextFileA; the POSIX glob path is unchanged.
2026-07-31 23:08:51 +02:00
Carlos Venegas Arrabé
a2c712e588
lib: Win32 port of MemoryMappedFile
...
lib/memory_mapped_file.cc used POSIX open/fstat/mmap, which does not
exist under mingw-w64, blocking a native Windows build of the prjxray
tools. Add an #ifdef _WIN32 branch using
CreateFileA/CreateFileMappingA/MapViewOfFile; the POSIX path is
byte-for-byte unchanged.
One behavioural note: a zero-length file cannot be mapped on Windows,
so that case returns an object with nullptr data and zero size to
preserve the "file exists" contract of InitWithFile.
2026-07-31 23:08:45 +02:00
Carlos Venegas Arrabé
10381074b2
util: make OpenSafeFile work without fcntl (Windows)
...
prjxray/util.py imported fcntl at module level, so merely importing
prjxray (e.g. from fasm2frames) failed on Windows, where fcntl does
not exist. The only user is OpenSafeFile's advisory flock, whose
timeout also relies on SIGALRM — equally POSIX-only.
Guard the import and skip the locking when fcntl is unavailable:
OpenSafeFile degrades to a plain open on Windows, while POSIX
behaviour is unchanged.
2026-07-31 22:47:03 +02:00
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
Carlos Venegas Arrabé
6731005c1e
fasm2frames: default to sys.stdout instead of /dev/stdout
...
The fn_out argument defaulted to the literal path '/dev/stdout', which
does not exist on Windows, so running fasm2frames without an output
file (the common shell-redirect invocation) failed there. Default to
None and fall back to sys.stdout.
2026-07-31 22:46:51 +02:00
Hans Baier
132342f7a2
Merge pull request #4 from trabucayre/bump_gflags_fix_build
...
Bump gflags fix build
2026-03-24 23:02:55 +07:00
Gwenhael Goavec-Merou
b525bf9a3b
third_party/fasm: switch to openxc7 fork to fix build failure
2026-02-25 11:22:08 +01:00
Gwenhael Goavec-Merou
fcd561fb7f
tools/bitread.cc: fix build with recent gcc
2026-02-25 11:01:16 +01:00
Gwenhael Goavec-Merou
c526b25cd9
third_party/gflags: bump to release v2.3.0
2026-02-25 11:00:17 +01:00
Hans Baier
e87c79a156
add XRAY_ROI_TILEGRIDD var in kintex7_325t.sh
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-04-30 10:16:21 +07:00
Hans Baier
de537592c8
Merge remote-tracking branch 'upstream/master'
2025-04-28 04:58:14 +07:00
Karol Gugala
08353c973e
Merge pull request #2523 from openXC7/gtx-support-contrib
...
fix attrs.json for GTX_COMMON and GTX_CHANNEL
2025-04-24 10:05:32 +02:00
Hans Baier
e5b8927c12
fuzzers/041-clk-hrow-pips/Makefile: revert accidentally committed line
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-04-03 04:54:16 +07:00
Hans Baier
5484250349
fix 063-gtx-common-conf/attrs.json
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-04-03 04:52:08 +07:00
Hans Baier
458f8125b4
fix 064-gtx-channel-conf/attrs.json
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-04-02 05:38:24 +07:00
Hans Baier
ce065d470e
Merge remote-tracking branch 'upstream/master'
2025-02-19 13:33:09 +07:00
dependabot[bot]
faf9c774a3
build(deps): bump third_party/abseil-cpp from `3735766` to `cc70e83` ( #2500 )
...
Bumps [third_party/abseil-cpp](https://github.com/abseil/abseil-cpp ) from `3735766` to `cc70e83`.
- [Release notes](https://github.com/abseil/abseil-cpp/releases )
- [Commits](3735766b3b...cc70e832b0 )
---
updated-dependencies:
- dependency-name: third_party/abseil-cpp
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-15 17:43:19 +00:00
dependabot[bot]
5b21572a1f
build(deps): bump third_party/yosys from `3d35f36` to `38f8583` ( #2499 )
...
Bumps [third_party/yosys](https://github.com/YosysHQ/yosys ) from `3d35f36` to `38f8583`.
- [Release notes](https://github.com/YosysHQ/yosys/releases )
- [Commits](3d35f367cf...38f858374c )
---
updated-dependencies:
- dependency-name: third_party/yosys
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-15 17:43:07 +00:00
Karol Gugala
ad8dd81e14
Merge pull request #2494 from openXC7/gtx-support
...
GTX support: Tilegrid fuzzer, GTX_COMMON and GTX_CHANNEL fuzzers
2025-02-15 08:37:05 +01:00
Hans Baier
89774f18a2
fix doc link in README
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-14 08:11:57 +07:00
Hans Baier
c33ec0a26b
063-gtx-common-conf: fix bitfilter to include DRP and remove collisions
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-14 03:38:36 +07:00
Hans Baier
9e486828a7
063-gtx-common-conf: adjust bitfilter to include frame 24/25, and see if we get collisions
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
f42e522731
063-gtx-common-conf: add bitfilter to avoid collisions
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
0a19140cbe
Fix 005-tilegrid/gtx_common
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
ed16a21cae
Bump actions/upload-artifact to v4
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
95eb4f812b
add fuzzers/005-tilegrid/gtx_common
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
86bff48f0c
fuzzers/Makefile: run GTX_CHANNEL fuzzer for kintex
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
59551505e3
utils/mergedb.sh: add GTX support
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
1dc6a620db
fuzzers/064-gtx-channel-conf: fix wrong attrs; fuzzer now works perfectly
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
4dd4533912
fuzzers/064-gtx-channel-conf: IN_USE for GTX has 10 bits and fixup channel tags before processing
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
aaa5544622
fuzzers/064-gtx-channel-conf: re-enable bit filter, to get the IN_USE solution
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
5f7ca79667
fuzzers/064-gtx-channel-conf: double specimens from 20 to 40 to resolve some multi candidates features
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
6c6c528970
fix gtx_channel tilegrid fuzzer
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
e565dae491
064-gtx-channel-conf fuzzer runs and gets first results, many are still missing (zero candidates)
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
51a0b43919
063-gtx-common-conf gives first plausible results
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
26ccc8a038
005-tilegrid/add_tdb.py: add missing gtx_int_interface
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
71c3daaced
prjxray/segmaker.py: add GTX support
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
ce09bfb56e
fuzzers/005-tilegrid/pcie_int_interface/top.py: fix PCIE_INT variable name
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
8d7f18cd7d
fix gtx_channel number of words
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
f1e816f305
add GTX tilegridd fuzzers to tilegrid fuzzer Makefile
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
9e0085136d
005-tilegrid/gtx_int_interface fuzzer works
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Hans Baier
711bff982b
005-tilegrid/gtx_channel fuzzer works
...
Signed-off-by: Hans Baier <foss@hans-baier.de>
2025-02-13 17:20:08 +07:00
Karol Gugala
399bc23fd8
Merge pull request #2498 from f4pga/fix-docs
...
bump readthedocs conf
2025-02-13 09:57:48 +01:00
Karol Gugala
e7efbfa884
bump readthedocs conf
...
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2025-02-13 09:56:38 +01:00
Hans Baier
f0260161db
Merge remote-tracking branch 'upstream/master'
2025-02-07 06:13:30 +07:00
dependabot[bot]
147eafe55e
build(deps): bump third_party/yaml-cpp from `73ef006` to `39f7374` ( #2490 )
...
Bumps [third_party/yaml-cpp](https://github.com/jbeder/yaml-cpp ) from `73ef006` to `39f7374`.
- [Release notes](https://github.com/jbeder/yaml-cpp/releases )
- [Commits](73ef0060aa...39f737443b )
---
updated-dependencies:
- dependency-name: third_party/yaml-cpp
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-25 17:59:44 +00:00
dependabot[bot]
b5fdc16a24
build(deps): bump third_party/yosys from `502c39b` to `3d35f36` ( #2488 )
...
Bumps [third_party/yosys](https://github.com/YosysHQ/yosys ) from `502c39b` to `3d35f36`.
- [Release notes](https://github.com/YosysHQ/yosys/releases )
- [Commits](502c39b875...3d35f367cf )
---
updated-dependencies:
- dependency-name: third_party/yosys
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-25 17:49:53 +00:00
dependabot[bot]
16c5547577
build(deps): bump third_party/cctz from `70c3bd1` to `1f2268a` ( #2489 )
...
Bumps [third_party/cctz](https://github.com/google/cctz ) from `70c3bd1` to `1f2268a`.
- [Release notes](https://github.com/google/cctz/releases )
- [Commits](70c3bd1a22...1f2268a1b6 )
---
updated-dependencies:
- dependency-name: third_party/cctz
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-25 17:48:46 +00:00
dependabot[bot]
b0469657f5
build(deps): bump third_party/googletest from `504ea69` to `2b6b042` ( #2485 )
...
Bumps [third_party/googletest](https://github.com/google/googletest ) from `504ea69` to `2b6b042`.
- [Release notes](https://github.com/google/googletest/releases )
- [Commits](504ea69cf7...2b6b042a77 )
---
updated-dependencies:
- dependency-name: third_party/googletest
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-18 18:01:33 +00:00