Commit Graph

401 Commits

Author SHA1 Message Date
Rick Altherr 6222be77d3 lib: xc7series: Account for padding between rows in bitstreams
There seem to be 2 frames of padding between rows in a bitstream.  For
single-frame writes, these are parsed as type 0 packets and ignored.
Normal bitstreams use a single FDRI write that apparently includes this
padding and needs to be ignored in the auto-increment handling.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-01-04 15:17:40 -08:00
Rick Altherr 6ba411294e lib: xc7series: verify bitstream variants parse to same configurations
Normal, debug, and per-frame CRC bitstreams differ in the commands used
to write the frame data but should generate equivalent configurations.
Note that this currently fails as something is wrong with normal
bitstream parsing.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-01-04 15:11:00 -08:00
Rick Altherr 0d2c33bf0f lib: xc7series: ostream operator for ConfigurationFrameAddress
Writes a decoded version of the address to the stream.  Handy for logging.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-01-04 15:00:08 -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
Tim Ansell 5a155de8bc
Merge pull request #29 from mcmasterg/rm_exp_lutbuf
Delete abandoned experiment lutbuf
2018-01-03 22:52:47 +01:00
John McMaster 5dca47bc92
Merge branch 'master' into rm_exp_lutbuf 2018-01-03 13:51:39 -08:00
John McMaster ca2c9e74ea Delete abandoned experiment lutbuf
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-03 13:51:13 -08:00
Tim Ansell 8573158258
Merge pull request #28 from mcmasterg/rm_exp_clb_lut5
Delete abandoned experiment clb_lut5
2018-01-03 22:50:19 +01:00
John McMaster bd8a5d8377 Delete abandoned experiment clb_lut5
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-03 13:49:22 -08:00
Clifford Wolf 250050024f
Merge pull request #26 from SymbiFlow/next-clifford
Replace 070-tileconn with a new (hopefully strictly better) implementation
2018-01-01 19:50:25 +01:00
Clifford Wolf 800f4b43c5 Replace 070-tileconn with a new (hopefully strictly better) implementation
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-31 23:30:02 +01:00
Tim Ansell 21fbacdb8a
Merge pull request #24 from SymbiFlow/next-clifford
Get rid of hardcoded slices in some fuzzers
2017-12-26 21:19:57 +01:00
Tim Ansell b92e4c83d3
Merge branch 'master' into next-clifford 2017-12-26 21:16:31 +01:00
Clifford Wolf 682143de97 Get rid of hard-coded tile positions in 071-ppips
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-24 20:41:37 +01:00
Clifford Wolf 9f9c348bfd Add roi_tiles TCL helper function, remove XRAY_HCLK_[LR]
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-24 19:39:23 +01:00
Clifford Wolf fd35afc32c Automate detection of relevant tile types in 070-tileconn
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-24 17:04:40 +01:00
Tim Ansell 45731f7808
Merge pull request #22 from kc8apf/vagrant
Vagrant configuration for easy development setup
2017-12-24 12:34:59 +01:00
Rick Altherr 8fa4b3ce82 Vagrant configuration for easy development setup
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2017-12-23 19:00:24 -08:00
Clifford Wolf deaa3952f4 Add "make run" to 070-tileconn and 071-ppips
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-24 03:28:20 +01:00
Clifford Wolf d4b0e59a52 Add settings.sh parameter for fuzzer HCLK tiles
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-23 22:37:37 +01:00
Clifford Wolf f602ed79d8
Merge pull request #21 from SymbiFlow/next-clifford
Various improvements in PIP fuzzing and htmlgen
2017-12-23 22:31:24 +01:00
Clifford Wolf 672d21e338 Fix fuzzing of "hint" pseudo-pips
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-23 22:01:59 +01:00
Clifford Wolf 5c510f76be Add handling of occational errors to 056-rempips fuzzer
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-23 19:21:23 +01:00
Clifford Wolf 0e7bcfc128 Bugfix in 051-imuxlout fuzzer
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-23 05:39:06 +01:00
Clifford Wolf 0bfb664482 Improve PIP bit colors and labels in htmlgen
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-23 05:39:06 +01:00
Clifford Wolf 6565822657 Add "make run" to all PIP fuzzers
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-23 05:39:06 +01:00
John McMaster 4bb24aa09e
Merge pull request #19 from mcmasterg/minitest_muxf8
clb_muxf8 minitest
2017-12-22 17:53:23 -08:00
John McMaster 21ba9cf34e
Merge branch 'master' into minitest_muxf8 2017-12-22 17:53:14 -08:00
John McMaster 0ba8c006fb
Merge pull request #18 from mcmasterg/clb_n5ffmux_fix
clb_n5ffmux: revert muxf8 hack
2017-12-22 17:52:58 -08:00
John McMaster 329c683116
Merge branch 'master' into clb_n5ffmux_fix 2017-12-22 17:52:51 -08:00
Tim Ansell 159bc3fd96
Merge pull request #20 from mcmasterg/muxf8_doc
Document MUXF8 Vivado compatibility issue
2017-12-23 01:46:18 +01:00
John McMaster bcba8197f2 Document MUXF8 Vivado compatibility issue
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2017-12-22 15:52:40 -08:00
John McMaster 696d88db88 clb_muxf8 minitest
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2017-12-22 15:37:21 -08:00
John McMaster ba08f75749 clb_n5ffmux: revert muxf8 hack
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2017-12-22 15:32:49 -08:00
Clifford Wolf c6caeb17e2
Merge pull request #17 from SymbiFlow/next-clifford
Improvements in fuzzers (some for kintex), and some BRAM/DSP stuff
2017-12-23 00:08:59 +01:00
Clifford Wolf 9556bcb314 Enabled kintex7 in pip fuzzers generate.py
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-22 23:28:39 +01:00
Clifford Wolf 8a34bc3c07 Add README.md files to all PIP fuzzers
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-22 23:28:39 +01:00
Clifford Wolf f1faa6e5f1 Fix minor bug in 005-tilegrid/generate.py
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-22 23:28:39 +01:00
Clifford Wolf d80b037849 Fix number of words in a BRAM/DSP segment
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-22 23:28:39 +01:00
Clifford Wolf 3cfe5dab46 Set tcl.collectionResultDisplayLimit to unlimited in all fuzzers
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-22 23:28:39 +01:00
Clifford Wolf 36e9270371 Add dbfixup update_mask lines for BRAMs and DSPs
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-22 23:28:39 +01:00
Clifford Wolf 305a56b9a2 Fix rendering of BRAM/DSP segment masks in htmlgen.py
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-22 23:28:39 +01:00
John McMaster 20be6f7e69
Merge pull request #16 from mcmasterg/minitest_cleanup
Minitest cleanup
2017-12-22 14:18:20 -08:00
John McMaster 15c348114a minitests: centralize common case, cleanup Makefile/runme.sh relation, delete fuzzer artifacts
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2017-12-22 13:36:58 -08:00
John McMaster f06c03c0af Rename ffcfg => clb_ffcfg to match convention
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2017-12-22 12:48:26 -08:00
John McMaster 543fcc8037 Delete abandoned ROM minitest
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2017-12-22 12:48:17 -08:00
Clifford Wolf f953c3ddbe
Merge pull request #13 from SymbiFlow/next-clifford
Mostly BRAM, DSP, and Kintex stuff
2017-12-22 17:46:00 +01:00
Clifford Wolf b602904ee2 Reduce size of HCLK segments to 26 frames
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-22 17:37:36 +01:00
Clifford Wolf 533bb83f45 Fix dbfixup.py for incomplete databases
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-22 17:28:39 +01:00
Clifford Wolf 206364020c Add tilegrid BRAM and DSP segment support
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2017-12-22 17:24:27 +01:00