Commit Graph

109 Commits

Author SHA1 Message Date
Dennis Schmidt 9ea88613c0 Add missing import for cstdint to tools/bits2rbt/header.h
Signed-off-by: Dennis Schmidt <20640295+dlschmidt@users.noreply.github.com>
2024-01-08 14:00:21 +07:00
Hans Baier e929e5519b add support for the kintex high performance banks
Signed-off-by: Hans Baier <hansfbaier@gmail.com>
2024-01-08 14:00:20 +07:00
Robert Winkler 02361a7d41 format: Fix formating in bits2rbt
Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
2020-12-11 13:19:35 +01:00
Tomasz Michalak 1ddda8f79b bits2rbt: Fix compilation error
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2020-12-02 12:03:14 +01:00
Tomasz Michalak e7826ee117 bits2rbt: Comment on some constant properties
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2020-12-01 15:48:12 +01:00
Tomasz Michalak fb607b2cbc bitread: Rename Aux extraction methods
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2020-12-01 15:48:12 +01:00
Tomasz Michalak 426c93cffd bitread: Add AUX support
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2020-12-01 15:48:12 +01:00
Tomasz Michalak 5b7d782737 Add bits2rbt tool
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2020-12-01 15:48:12 +01:00
Tomasz Michalak bb400b4f1e Add licensing header to C++ source and header files
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2020-05-26 07:33:12 -07:00
Alessandro Comodi 60d0ec4372 tools: added INSTALL cmake command
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-05-21 13:58:45 +02:00
Tomasz Michalak b35bf3fe11 bitstream_tools: Add support for Spartan6
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-10-22 09:20:04 +02:00
Tomasz Michalak 3f574743cf Add initial support for UltraScale devices
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-10-21 13:00:50 +02:00
Tomasz Michalak d328a2f576 Add initial support for UltraScalePlus devices
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-10-15 13:45:14 +02:00
Tomasz Michalak 35b7130116 Replace API for Series7
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-10-09 08:45:04 +02:00
Tomasz Michalak bf5475cfa6 xc7patch: refactor to use same xc7series utilities as xc7frames2bit
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-03-19 09:13:29 +01:00
Tomasz Michalak 2aa3c30976 xc7frames2bit: implement tool for xilinx 7-series bitstream generation from frames
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-03-19 09:13:29 +01:00
Alessandro Comodi d02a58e3df segmatch.cpp: if f_in does not exits returns -1
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-02-18 09:59:27 +01:00
Alessandro Comodi 980a9dc64b segmatch: added warning for missing files
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-02-08 11:55:10 +01:00
Alessandro Comodi 8537b9c9a5 gen_part_base_yaml.cc: Added the possibility to read FAR registers
For xc7z boards the Debug bitstream is unavailable. To get the necessary
information we can use the FAR addresses present in the perframecrc
bitstream.
The gen_part_base_yaml tool has been modified to have the possibility to
read the FAR addresses depending on a flag setting.

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2018-12-20 17:06:23 +01:00
Tim 'mithro' Ansell aa35026d4f `make format` all files.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-12-13 18:43:23 -08:00
John McMaster 66f2816146 make format deltas
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-10 17:20:44 -08:00
Keith Rothman b1d97c92d8 Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-11-21 16:16:04 -08:00
Keith Rothman a5fa9fcefd Fix frame_address_decoder using invalid memory.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-11-21 16:13:49 -08:00
Keith Rothman 84ccebce22 make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-11-15 15:28:17 -08:00
Keith Rothman f9481e7c7c Correct sentence.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-11-15 14:05:43 -08:00
Keith Rothman 8da0a38fd7 Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-11-15 14:04:22 -08:00
Keith Rothman 9166a43649 Do not insert non-existant frames.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-11-15 14:01:12 -08:00
John McMaster 5e2164f4b1 Move tools .py files to utils to be consistent
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-17 14:31:59 -07:00
Keith Rothman 4fe294df19 Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-05 09:36:33 -07:00
Keith Rothman f77755ea5d Add TODO to remove hack.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-05 09:34:45 -07:00
Keith Rothman fcac3aa05c Lighter hack.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-05 09:31:45 -07:00
Keith Rothman dba45f30fa Hack thinks to work (for now).
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-05 09:09:38 -07:00
Keith Rothman 8ad5e64f85 Add methods to library.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-09-27 13:17:01 -07:00
Keith Rothman c4a62fb315 Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-09-27 08:53:39 -07:00
Keith Rothman 85e14f81a1 Generate tile types, site types, tilegrid, tileconn for entire part.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-09-26 22:37:33 -07:00
John McMaster cfea717280 make format: update to latest yapf
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-09-17 18:45:47 -07:00
Tim 'mithro' Ansell e5346c308e python: Run latest yapf.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-06-22 15:18:43 -07:00
Clifford Wolf 5b74b282c2 Merge branch 'master' of github.com:SymbiFlow/prjxray into tilegrid-ng 2018-02-14 13:38:39 +01:00
Clifford Wolf 0f67fcf1d2 Make tilegrid["tiles"] the tilegrid top-level object
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-02-06 20:12:50 +01:00
Rick Altherr 3d33f101bc xc7patch: Generate Xilinx BIT header in output bitstream
Xilinx tools generate and expect an additional header to be added to the
bitstream.  This header is the only difference between .bit and .bin
files and is not required by the part in any way.  OpenOCD only supports
reading .bit files so the easiest path to a using FOSS tools from FASM
down is to generate a .bit header in xc7patch's output. To distinguish
xc7patch-generated files from Xilinx-generated files, the source file
field includes a Generator tag indicating that the bitstream was produced by
xc7patch.  Vivado uses the same technique to record the Vivado version
in a Version tag.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 14:34:31 -08:00
Rick Altherr b7d01aa9f6 xc7patch: generate init and final sequences in output bitstream
Bitstreams generated by xc7patch can now be directly loaded into parts
via Vivado's Hardware Manager (bitstream must have .bin suffix) or by
flashing into a boot FLASH.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 14:34:31 -08:00
Rick Altherr 43b70caf03 xc7series: Dynamically allocate config packets when writing bitstreams
ConfigurationPacket assumes that the payload data is owned by someone
else. For frame data, that is generally true.  For initialization and
finalization sequences, those payloads need to be created and managed.
Instead, dynamically allocate packets which allows for using subclasses
of ConfigurationPacket that store the payload with the packet.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 14:34:31 -08:00
Rick Altherr f5099113e6 xc7patch: remove disabled debug code
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 12:40:49 -08:00
Rick Altherr 61b6a9dfe7 xc7patch: use ECC calculation from lib
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 12:39:56 -08:00
John McMaster a7092468f9 simpleroute: pickle to improve performance
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-30 18:15:19 -08:00
John McMaster 8da9f4f572 roi_harness: fix formatting
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-30 14:45:29 -08:00
John McMaster 2a3eebdd9d fasm2frame: dont print nested exception
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-30 14:39:09 -08:00
John McMaster 9849e537a5 simpleroute: better stack overflow message, dont remember previous route
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-30 14:36:02 -08:00
John McMaster 8148cd0d71 simpleroute: enable library function use
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-30 11:26:07 -08:00
John McMaster 9185e152cc fasm2frame: misc cleanup
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-23 18:30:38 -08:00