Commit Graph

2073 Commits

Author SHA1 Message Date
John McMaster df125e1b99 roi_harness: add CLK route to output metadata
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-05 13:38:54 -08:00
John McMaster dd8c326dcb roi_harness: write IOB pin names
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-05 13:38:54 -08:00
Clifford Wolf a93800c4d1
Merge pull request #35 from SymbiFlow/makerun
Fixes in fuzzers top-level Makefile, Update README
2018-01-05 22:35:35 +01:00
Clifford Wolf 89854a55e6
Merge branch 'master' into tileconnloops 2018-01-05 22:32:40 +01:00
Clifford Wolf a80b80c63d Fixes in fuzzers top-level Makefile, Update README
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-01-05 22:16:12 +01:00
Rick Altherr 00817c5319
Merge pull request #32 from kc8apf/test_bitreader_across_formats
Ensure parsing of normal, debug, and per-frame CRC bitstreams are equivalent
2018-01-05 09:40:26 -08:00
Rick Altherr 31203aaaa8
Merge branch 'master' into test_bitreader_across_formats 2018-01-05 09:40:19 -08:00
John McMaster f302671920
Merge pull request #33 from mcmasterg/roi_harness
roi_harness: I/O partial reconfiguration test harness
2018-01-05 09:38:04 -08:00
John McMaster 0d31795ef2
Merge branch 'master' into roi_harness 2018-01-05 09:37:54 -08:00
Clifford Wolf 5e66675c12 Add tileconnloops.py script
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-01-05 14:04:32 +01:00
Tim Ansell 7752bd6034
Merge pull request #30 from SymbiFlow/makerun
Add fuzzers "make run"
2018-01-05 10:33:03 +00:00
Clifford Wolf c6e97999b4
Merge branch 'master' into makerun 2018-01-05 11:25:40 +01:00
Clifford Wolf 409f4410c3
Merge pull request #31 from SymbiFlow/tileconn
Add tileconnwire.py utils script
2018-01-05 11:25:23 +01:00
John McMaster e148d2ac14 roi_harness: I/O partial reconfiguration test harness
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-04 18:48:01 -08:00
Rick Altherr 5a664c04ec lib: xc7series: shorten ConfigurationFrameAddress to FrameAddress
Frame addresses are only used in the context of configuration frames.
Remove the prefix to reduce typing that does not improve clarity.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-01-04 15:33:15 -08:00
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
Clifford Wolf 0a9d0aafab Add HCLK wire pair filter to tileconn fuzzer
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-01-04 18:07:01 +01:00
Clifford Wolf 36b16c8e0b Add tileconnwire.py utils script
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-01-04 17:30:36 +01:00
Clifford Wolf a891d1548e Add __pycache__ to 011-ffconfig "make clean"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-01-04 16:58:54 +01:00
Clifford Wolf 77933f7212 Add fuzzers top-level "make clean"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-01-04 16:31:31 +01:00
Clifford Wolf f00f9c27b4 Add top-level fuzzers Makefile
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-01-04 16:07:50 +01:00
Clifford Wolf 6722081899 Update "make run" target in fuzzers that had one for a while
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-01-04 13:55:50 +01:00
Clifford Wolf 6c352f5a30 Add "make run" to fuzzers that did not have it yet
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-01-04 13:49:50 +01: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