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
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
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
35b7130116
Replace API for Series7
...
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-10-09 08:45:04 +02:00
Rick Altherr
53d7f1f80b
lib: xc7series: shorten accessor names
...
_address suffix on accessors is unnecessary and somewhat inaccurate.
The returned values are indices rather than frame addresses.
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-01-10 14:28:17 -08:00
Rick Altherr
50d2521b33
Apply clang-format to all C++ files
...
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-01-08 17:14:27 -08:00
Rick Altherr
a4858be23a
lib: accessor to get contents of a memory-mapped file as bytes
...
MemoryMappedFile's data() method returns a void* as it has no idea what
type the contents are. Viewing it as bytes is a very common operation
so add a convience method that wraps the pointer in a Span<uint8_t>.
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-01-04 11:17:59 -08:00
Rick Altherr
28c447c6b2
tools: Rewrite bitread using libprjxray
...
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
Clifford Wolf
339fd235bc
Update tools to correctly handle ECC mask (ECC is only 13 LSB bits in word 50)
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
Clifford Wolf
0efe772467
Fixed bitread FLAGS_o handling
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
Clifford Wolf
92d349bae1
Fix bitread tool handling of Type 1 FDRI writes
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
Rick Altherr
5e42fd5abc
bitread: Replace flag parsing with gflags
...
Some flag-related string parsing is also replaced with methods from
abseil.
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
Clifford Wolf
73c5f22931
Use decimal numbers in bit labels, some other cleanups
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
Clifford Wolf
3c955e6216
Flip "bitread -p" output Y axis
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-10-16 03:11:54 +02:00
Clifford Wolf
9e80cadfcc
Add bitread PGM support
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-10-16 02:35:12 +02:00
Clifford Wolf
18bdd5a1f3
Add XRAY_ROI_FRAMES and "bitread -F"
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-10-14 01:35:02 +02:00
Clifford Wolf
c860a78a86
Fix a bug in bitread when writing the same frame multiple times
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-10-14 01:33:47 +02:00
Clifford Wolf
bbdce157c5
Update picorv32 experiment and bitread.cc
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-10-13 11:21:59 +02:00
Clifford Wolf
3362b92cb1
Add bitread and add SLICEBIT extraction to gridinfo
...
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-07-23 13:57:59 +02:00