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
John McMaster
04ebcd7b36
minitest mux: clean up naming
...
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
b4e57e2ed5
clb_bffmux 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
4d556f9112
clb_boutmux test. gitignore 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
John McMaster
590ca249db
clb_bused 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
e52d9cb59a
clbncy0 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
aea7788f6a
clb_n5ffmux 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
6a34fe54ce
missing gitignore
...
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
b854c5205c
lutcfg 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
04d18c0add
ncy0 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
1dbf6181e8
lutcfg 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
80fcae8c57
fixedpnr: fix latch INV/INIT polarity
...
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
c5f02a0075
ffcfg: add latch primitives
...
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
6eb44b0c33
fixedpnr: include latches
...
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
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
ddcf339da0
Add eccbits minitests
...
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
1b21d3a064
Add "segprint -b"
...
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
f0ffd4bdcb
Add clkbuf minitests
...
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
John McMaster
afd01f1a57
ffcfg readme
...
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
20e9b80923
fixedpnr: try FF attributes
...
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
2ce1b522e2
fixedpnr: document FF config bit guess
...
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
5fe0d49eb5
ffcfg: comment out broken call
...
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
3c3e1dd10f
ffcfg run.sh +x
...
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
Clifford Wolf
2d7a635085
Hotfix tiles_wires_pips/runme.tcl
...
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
b209cd0e9e
Add tiles_wires_pips minitests
...
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
John McMaster
6f1b2cb3a5
gitignore 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
Clifford Wolf
8e76689a04
Add fixedpnr minitests
...
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
53cdc7d2d2
Update clbconfigs minitest
...
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
a2f4ab2082
minitests: fix tool paths
...
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
Rick Altherr
c815d4b1a5
Set tool and script paths project-wide
...
utils/environment.sh determines its absolute path and then creates
environment variables to each of the prjxray tools. This allows moving
the tools around in the code base without touching every script.
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
Rick Altherr
4f74941fcd
Avoid combined flags in bitread invocations.
...
Combined flags (i.e. -zy) are not universally supported. Switch to
individual flags (-z -y) in existing scripts to prepare for move to
gflags.
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
John McMaster
f19e57b97b
ffcfg 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
Clifford Wolf
04f37f2704
Add README files for minitests
...
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
d06ef084c6
Add clbconfigs minitests
...
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
c8188315f7
Add lvb_long_mux minitest
...
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
2bfd460bca
Add nodes_wires_list minitests
...
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
61c51d6a15
Add segprint.py, use in switchboxes minitest
...
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
1ce90e7f21
Add routing test to switchboxes minitest
...
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
6f88afe92a
Add utils.tcl, minor edits to switchboxes minitests
...
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
2fc2c0274d
Add switchboxes minitests
...
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
35f2c24dd3
Add minitests/carry_cin_cyinit/
...
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