Commit Graph

190 Commits

Author SHA1 Message Date
John McMaster 419130a11a 101-bram-config: READ/WRITE_WIDTH
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-29 15:27:28 -07:00
Keith Rothman ab23cd1d3c Larger ROI.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-29 13:47:24 -07:00
John McMaster 39ddfd8e6b bram minitest: BRAM18 vs BRAM36 correlation test
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-24 17:38:32 -07:00
John McMaster fda33dd39e bram minitest: ignore build dir
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-24 17:38:32 -07:00
John McMaster 10000b3fc7 bram minitest: add config test, fix ROI, assert building w/ recommended part
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-24 17:38:32 -07:00
Tim 'mithro' Ansell 32479630be minitests/roi_harness: Remove hardcoded values in Makefile.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-10-24 16:49:20 -07:00
Tim 'mithro' Ansell 77881252e2 minitests/roi_harness: Add XRAY_PIN values valid for Arty.
Allows generating the fuzzers/001-part-yaml for the Arty part.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-10-24 16:44:17 -07:00
Keith Rothman dd4e6c1666 Directly use grid coordinates from env.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-23 16:10:03 -07:00
Keith Rothman bc65819b79 Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-23 15:16:34 -07:00
Keith Rothman 03aa40d364 Address comments.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-23 15:16:34 -07:00
Keith Rothman c7d145a466 Create design.json that describes roi harness boundry, used for VPR arch def.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-23 15:16:34 -07:00
John McMaster 4b83bd0b62 bram minitest: show interleaving
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-23 13:23:50 -07:00
John McMaster a27486271c bram minitest: clean up makefile
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-23 13:23:50 -07:00
John McMaster 7bae4bbddb bram minitest: build all projects
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-23 13:23:50 -07:00
John McMaster 2838cad2e5 bram minitest: show data coverage clearly
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-23 13:23:50 -07:00
John McMaster f4d81a312d bram: minitest showing config vs data bit offsets
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-23 13:23:50 -07:00
John McMaster 5e659a631e bram: clean up old minitests
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-23 13:23:50 -07:00
John McMaster fad97c9cb6 bram minitest: add more BRAM
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-23 13:23:50 -07:00
John McMaster ba57c749c5 bram_fixed minitest: early BRAM testing
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-23 13:23:50 -07:00
Keith Rothman 204c6246ad Fix comments.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-22 11:20:03 -07:00
Keith Rothman 7eadae4ded Assorted fixes.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-22 09:08:34 -07:00
Keith Rothman 41d9ede26a Working bits2fasm using prjxray and fasm library.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-19 13:54:18 -07:00
Keith Rothman ed584aa8f2 Add ROI annotations and update some missing tilegrid changes.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-05 18:26:24 -07:00
John McMaster 904cefa02b roi_harness: basys3 small ROI. Simplified build dir
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-01 15:53:12 -07:00
John McMaster 51e7a537ce roi_harness: small project option
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-09-26 17:41:23 -07:00
John McMaster 7379977c1d timfuz: reorganize minitest, fixup
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-09-19 11:12:22 -07:00
John McMaster 863bfc53ef timfuz: fix minitest formatting issue
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-09-17 18:53:21 -07:00
John McMaster 03ed7a333b timfuz: move extra files experiment => minitest since not a fuzzer
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-09-17 18:52:26 -07:00
Davide 7e47ae4a51 Fixed Bullet Point Lists in README.md files
Signed-off-by: Davide <davide.toldo@stud.tu-darmstadt.de>
2018-02-18 03:02:33 +01:00
Davide 73b1e27f78 Added tags for headers, subheaders and structured README files a bit
Signed-off-by: Davide <davide.toldo@stud.tu-darmstadt.de>
2018-02-14 12:24:18 +01:00
Davide 46c1eef15b renamed all README.txt files to README.md
Signed-off-by: Davide <davide.toldo@stud.tu-darmstadt.de>
2018-02-13 17:00:04 +01:00
Rick Altherr d5a6726e30 minitests: roi_harness: Remove init/final sequence hacks
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 14:34:31 -08:00
Rick Altherr ad150af4df minitests: partial_reconfig_flow: Remove init/final sequence hacks
Now that xc7series generates proper .bit files, the hacks need to be
removed.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 14:34:31 -08:00
Rick Altherr 6b7af3b168 minitests: partial_reconfig_flow: always save ROI bitstreams
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-02-01 14:34:31 -08:00
John McMaster 1a7e6919f8 partial_reconfig: remove obsolete v2bit script
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-02-01 11:16:52 -08:00
John McMaster c8ad3e219b roi_harness: add README info, chmod +x
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-30 14:50:13 -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 12516c53fb roi_harness: Basys3 LED switch demo
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-30 14:43:18 -08:00
John McMaster 618fbf87c4 roi_harness runme: add missing wire to header
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-30 14:37:10 -08:00
John McMaster c5496632ed fasm2bit: bit argument. remove prog hack
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-30 14:36:43 -08:00
John McMaster c06c2a8a8e roi_harness: add tile wire to metadata
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-30 11:26:14 -08:00
John McMaster 0cea91bc07 roi_harness: dump tile entry/exit nodes
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-30 11:26:07 -08:00
John McMaster cb4b088990 roi_harness utility scripts
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-30 10:48:08 -08:00
John McMaster 941ae551c9 roi_harness: write design.txt into output dir
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-29 15:49:35 -08:00
John McMaster 2f28ad2e51 bassy3 LED demos
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-29 12:04:29 -08:00
Rick Altherr f108805a0f partial_reconfig_flow: Rework to allow any verilog for ROI
Change naming to clarify which files are related to synthesis vs
implementation. Rewrite ROI synthesis and implementation rules as
pattern rules to allow any .v to be used as an ROI design.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-01-25 21:10:05 -08:00
John McMaster c97e74a6d1
Merge branch 'master' into partial_reconfig_flow_readme 2018-01-25 17:33:59 -08:00
John McMaster bb9e8b8dc4 partial_config_flow: fix readme bad commands
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-25 17:22:55 -08:00
John McMaster ba294af889 basys3.sh: use proper script to setup environment
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-25 17:21:59 -08:00
Rick Altherr b6f754dae7 Document how init_sequence and final_sequence offsets were determined.
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-01-22 15:26:17 -08:00
Rick Altherr 554cf549c4 Use .bit and .bin consistently
Xilinx uses .bit for bitstreams that include an additional header that
appears to carry some build information (tool version, date built, etc).
For bitstreams without that header, they use .bin.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-01-22 15:23:48 -08:00
Rick Altherr 425c96c10d minitest: FASM and xc7patch proof of concept using partial reconfig flow
Harness is implemented using Vivado's Partial Reconfiguration flow.  ROI
designs are generated from FASM and patched into the harness to create a
programmable bitstream.

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
2018-01-22 14:15:31 -08:00
John McMaster 2015f4cb62 roi_harness: remove top.v test
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-19 14:09:24 -08:00
John McMaster 5b0a1f7cb5 roi_harness: example clk hack
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-19 14:03:31 -08:00
John McMaster b6ae50b718 roi_harness: preserve contraints between harness and sub-project
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-19 14:03:13 -08:00
John McMaster 4237ed0898 roi_harness: generate .frm file
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-18 20:25:42 -08:00
John McMaster 7ae7b0c16c roi_harness: misc fixes
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-18 20:14:33 -08:00
John McMaster 169a822865 roi_harness: basys3 pins to allow partgen
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-18 20:07:42 -08:00
John McMaster 4657677aad roi_harness: inverted LED/switch example
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-18 19:12:38 -08:00
John McMaster 4b2c424e97 roi_harness: output dir per configuration
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-18 19:07:03 -08:00
John McMaster a39e1bca78 roi_harness: basys3 support, separate top.v into harness and ROI .v files
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-18 18:05:36 -08:00
John McMaster e995034158 fasm2frame FPGA assembler tool. Remove minitest rel path
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-18 10:58:19 -08:00
John McMaster 8c9659f197 minitests: flatten hiearchy
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-17 14:42:08 -08:00
John McMaster 9fed1b05d1
Merge branch 'master' into bram_makefile 2018-01-05 16:06:57 -08:00
John McMaster 35d48380cb bram minitest: fix broken makefile
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-05 16:06:28 -08:00
John McMaster 83cb39d351 roi_harness: support Arty A7 switch, button, LED
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-05 13:38:54 -08:00
John McMaster b662f72bc3 roi_harness: parameter to spread out nets
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-01-05 13:38:54 -08:00
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
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
John McMaster 21ba9cf34e
Merge branch 'master' into minitest_muxf8 2017-12-22 17:53:14 -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
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
John McMaster b52e09af19 bram minitest cleanup
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2017-12-21 16:25:44 -08:00
John McMaster 9d519f99b3 clb_ram minitest delete dead code
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
2017-12-20 23:28:33 +01:00
John McMaster 5c4c5097d4 clb_ram refinements
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
2017-12-20 23:28:33 +01:00
John McMaster 24c80d9a62 my_RAM64X1D_2 rename for consistency
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
John McMaster 29743571b5 clbram fuzzer: misc improvements
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
John McMaster 671b9da2eb clb_ndi1mux minitest: prepare for fuzzer
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
John McMaster 1e39c74306 clb_ram minitest notes
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
John McMaster 259300a7d4 clb_ndi1mux: remove hard coded ROI
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
John McMaster ad2141378e clb_ram: more testing
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
John McMaster 1a22f186e1 remove clb_ram64x1d: was bad ROI
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
John McMaster d2a4cbfd75 clb_ram64x1d minitest
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
John McMaster d7011b845f clb_ram experiment showing bits
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
John McMaster baa9bb0d02 ndimux WIP
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
John McMaster f4b1f32360 clb_ndi1mux minitest
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
John McMaster a2d7149d30 clb_ram: NDI1MUX tests. Need to split out into dedicated test...
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
John McMaster 593d89f36a clb_ram: WIP before cleanup
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
Tim 'mithro' Ansell 72ee3e9bc2 Fixing the README files.
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
John McMaster 5de010f507 WIP BRAM test
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
John McMaster df26f1f2d3 picorv y and v tests
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
John McMaster e90eedd2c7 segprint => XRAY_SEGPRINT misc files
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
John McMaster 53002168fd rom minitest
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
John McMaster dd3424450a clbnoutmux fuzzer
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
John McMaster b800492d69 clbnffmux fuzzer
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00
John McMaster 5ceef14ab5 clb_nffmux: make all FFs work, not just B
Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
2017-12-20 22:46:39 +01:00