Keith Rothman
32b9da0d97
Handle A7/K7/Z7 differences gracefully.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 22:30:53 -08:00
Keith Rothman
da08dfb99f
Add back INT propagation.
...
All INT tiles are now populated for artix7 and the INT propagation
sanity checks output of fuzzers to ensure consistency.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 16:17:31 -08:00
Keith Rothman
0bc3d9097b
Add INT_INTERFACE filtering.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-27 07:04:09 -08:00
Keith Rothman
1fb3516435
Fix show only missing and sort tiles on verbose.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-24 11:45:24 -08:00
Keith Rothman
e696339059
Add filtering to tilegrid report and options for reporting output.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-24 11:40:36 -08:00
Keith Rothman
d49897d45d
make format
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-24 09:57:45 -08:00
Keith Rothman
136618b29d
Add tilegrid report utility.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-24 09:55:13 -08:00
Keith Rothman
980ce529d8
Run make format.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-23 22:24:20 -08:00
litghost
c595847739
Merge pull request #552 from litghost/add_check_json_utility
...
Add utility to compare JSON from two database's.
2019-01-23 17:37:58 -08:00
Keith Rothman
782d2c4ced
Convert shell script to python script.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-23 13:09:19 -08:00
Keith Rothman
d5f51cc1b2
Convert shell script to python script.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-23 13:03:12 -08:00
Keith Rothman
0fbeb0dc32
Add utility for diffing segbits from two databases.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-18 10:26:39 -08:00
Keith Rothman
5817e5932c
Rename script.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-18 10:10:14 -08:00
Keith Rothman
cbaffc8a5d
Add utility to compare JSON from two database's.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-18 10:08:38 -08:00
litghost
1e2f1c6ae1
Merge pull request #533 from antmicro/05x-piplist
...
Generate piplist once
2019-01-17 12:16:09 -08:00
Karol Gugala
ea29a0ca5a
utils: environment: generate empty db files if missing
...
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-16 17:39:03 +01:00
Alessandro Comodi
b5f7243f39
utils/environment.sh: added fuzzers dir to env variables
...
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-16 12:13:49 +01:00
litghost
219fc2cba3
Merge pull request #490 from litghost/add_bit2fasm
...
Add utility to convert from bit to FASM in one program.
2019-01-11 13:53:57 -08:00
Keith Rothman
2ba905130a
Remove old bit2fasm files.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-11 13:13:05 -08:00
Tim 'mithro' Ansell
22fe886d44
Make Python code testable.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-10 19:54:59 -08:00
Keith Rothman
85ff7fe55c
Run make format.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-10 17:04:05 -08:00
Keith Rothman
26c1c2f226
Add utility to convert from bit to FASM in one program.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-01-10 17:02:45 -08:00
Karol Gugala
6c6e90db84
fuzzers: 05x: do not use symbolic link to int_generate.py
...
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-10 14:36:36 +01:00
Karol Gugala
e6eb0db9f9
utils: top_generate: generate setseed.vh for all targets
...
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-09 23:16:22 +01:00
Karol Gugala
5ea696b632
utils: pass flages to generate.py
...
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-01-09 23:16:22 +01:00
John McMaster
010a2eb5da
segprint: --bit-only
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-09 18:36:18 +01:00
Tim 'mithro' Ansell
3b13f8734f
Fix indenting in mergedb.py
...
Fixes #467 .
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-08 18:23:25 -08:00
John McMaster
955759020d
segprint: fix -b flag, working on tilegrid directly
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-08 19:05:39 +01:00
John McMaster
d0d6778826
mergedb: proper merge script
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-08 15:49:35 +01:00
John McMaster
1f431903e2
groupmask utility
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-08 15:49:30 +01:00
John McMaster
06347fdd3a
addrwidth utility
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-08 11:44:24 +01:00
John McMaster
069f9f5ff4
Merge pull request #445 from antmicro/443_broken_segprint
...
utils: segprint: Fix issue #443 with segprint -b
2019-01-07 23:23:03 +01:00
Tomasz Michalak
f0f7661fbb
utils: segprint: Fix issue #443 with segprint -b
...
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-01-07 18:09:43 +01:00
John McMaster
80e140b278
top_generate.sh => top_generate.mk
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-07 17:38:35 +01:00
John McMaster
d7efa3bc81
vivado: assert expected version
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2019-01-06 17:24:23 +01:00
Felix Held
0d6e327229
introduce vivado wrapper
...
This fixes the problem that when sourcing the vivado settings file the
library search path is modified resulting in non-vivado binaries not working
due to being dynamically linked against the vivado libraries instead of the
system ones.
Signed-off-by: Felix Held <felix-github@felixheld.de>
2018-12-28 19:05:49 +01:00
Tim 'mithro' Ansell
1b48dfd1aa
Fixes #403 .
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-12-27 12:02:33 +01:00
John McMaster
b8840ae9ff
rempips: try a few times to solve on failures
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-19 15:43:04 -08:00
John McMaster
c68ee2f004
Merge pull request #364 from mcmasterg/dbfixup_fix
...
Dbfixup fix
2018-12-19 15:22:19 -08:00
John McMaster
b979eafae1
dbfixup: drop bad entries instead of asserting when strict=0
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-19 15:14:56 -08:00
John McMaster
f084026ed9
genheader: set FUZDIR instead of per project
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-18 17:40:25 -08:00
John McMaster
535769ad04
utils: chmod +x *.py
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-18 13:29:22 -08:00
Tim 'mithro' Ansell
8d0983aedd
Source Python environment in settings.sh
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-12-17 19:13:45 -08:00
John McMaster
7acefbb2bb
dbfixup: fix zero enums
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-17 18:14:08 -08:00
John McMaster
c4f49106b7
Merge pull request #328 from mithro/master
...
JSON improvements
2018-12-17 18:13:30 -08:00
John McMaster
bce9837aee
mergedb: liob33 support
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-17 17:54:30 -08:00
Tim 'mithro' Ansell
8d3e95cd1a
Move xjson / xyaml to utils instead of prjxray.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-12-17 17:03:19 -08:00
Tim 'mithro' Ansell
23c435aa6e
Improve `make format`.
...
* Use `yapf` from environment if it exists.
* Better way to generate exclude.
* Make TCL formatting work.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2018-12-13 18:31:10 -08:00
John McMaster
962dcc78d0
parsedb: more verbose on duplicate bits
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-11 11:55:51 -08:00
John McMaster
20db34836f
genheader: export SPECDIR
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-10 16:42:06 -08:00
John McMaster
77c5261130
checkdb: print in standard address format
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-10 14:58:14 -08:00
John McMaster
96ee4ac449
checkdb: check tile overlap
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-10 14:58:14 -08:00
John McMaster
5060dae1be
checkdb: check all .db files
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-10 14:57:58 -08:00
John McMaster
34464f80f6
parsedb: better help
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-10 14:56:23 -08:00
John McMaster
04053f4d31
mergedb.sh: verify consistency earlier
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-10 14:56:23 -08:00
John McMaster
2bb5677d44
parsedb: merge in dbcheck
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-10 14:56:06 -08:00
John McMaster
3dd449e430
Merge pull request #290 from mcmasterg/dbfixup_msg
...
dbfixup: more verbose bit index message
2018-12-05 18:27:45 -08:00
John McMaster
5e8a50fe37
dbfixup: more verbose bit index message
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-05 17:51:41 -08:00
John McMaster
f38309230e
reformat.tcl: move to third party
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-05 17:01:00 -08:00
John McMaster
54dcdf1f2e
tcl: reformat existing code
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-05 16:52:56 -08:00
John McMaster
c7aacd521b
tcl: reformat tool
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-05 16:52:56 -08:00
John McMaster
9971c143bd
route_via: loop check
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-05 16:08:24 -08:00
John McMaster
a77f7bd12e
tilegrid: generate products in parallel
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-03 12:00:56 -08:00
John McMaster
b07ea0a3a1
rempips: build dir
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-28 13:50:07 -08:00
John McMaster
bef4a1184d
dbfixup: quick hacks to make 050 happy
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-14 18:09:04 -08:00
John McMaster
a3980ff738
dbfixup: handle always mode
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-14 17:37:50 -08:00
John McMaster
c1069aa1c0
parsedb: support "always" mode
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-14 17:37:50 -08:00
John McMaster
5ecf3a3f45
parsedb: ignore mask lines
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-14 17:37:50 -08:00
John McMaster
8753ac3b67
mergedb: more aggressively delete temp files
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-14 17:37:50 -08:00
John McMaster
eb7c1cc589
parsedb: more verbose duplicate tag message
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-14 17:37:30 -08:00
John McMaster
72dc4ec27b
Merge pull request #256 from mcmasterg/dbfixup_update_masks
...
dbfixup: missing arg on --clb-int
2018-11-13 15:01:47 -08:00
John McMaster
5d1396e667
dbfixup: missing arg on --clb-int
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-13 14:33:13 -08:00
John McMaster
c22995bf6c
environment.sh: fix PYTHONPATH
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-13 14:05:55 -08:00
John McMaster
d31c5af8ce
dbfixup: bits frozenset => set
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-12 15:47:14 -08:00
John McMaster
59603f069b
mergedb: use parsedb to validate merges
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-12 15:44:13 -08:00
John McMaster
7f95ce3996
parsedb: tool to validate database
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-12 15:44:13 -08:00
John McMaster
5c3083d1a4
dbfixup: move parse_db_line() to util
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-12 15:44:13 -08:00
John McMaster
4516a00665
--db_root => --db-root
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-12 14:37:01 -08:00
John McMaster
bcaf5c207d
dbfixup: more verbose const assertion
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-12 10:57:46 -08:00
John McMaster
dbf2c3b4b2
dbfixup: const0 support
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-07 20:04:54 -08:00
John McMaster
e43e433550
dbfixup: zero_range() only on clb-int, assert on zero db size mismatch
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-07 17:30:03 -08:00
John McMaster
8f172bccf2
dbfixup: apply patches per project instead of globally
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-07 14:28:31 -08:00
John McMaster
b6ba7e96a6
dbfixup: patch local files instead of central db
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-07 14:28:31 -08:00
John McMaster
a790148ed0
dbfixup: generic file load args
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-07 14:28:31 -08:00
John McMaster
d713c1e306
dbfixup: functions, comments, argparse
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-07 14:28:31 -08:00
John McMaster
3220cdc1ee
dbfixup: db_root arg
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-07 14:28:31 -08:00
John McMaster
aefe1a9534
segprint: ignore hint pips
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-06 12:07:29 -08:00
John McMaster
334f28a9a4
segprint: decode bits shared by overlapping tiles
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-11-06 12:05:23 -08:00
Keith Rothman
de5c8a44a3
Pass configuration from top of utility, rather than implicit variables.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-11-01 16:18:32 -07:00
John McMaster
b44e9dd49f
segprint: use prjxray.db lib
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-31 18:54:05 -07:00
John McMaster
5532adac5b
segprint: grid => tiles, segments
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-31 18:53:59 -07:00
litghost
26b95fb46e
Merge pull request #205 from litghost/larger_roi
...
Expand ROI to all of CMT X0Y2.
2018-10-30 17:16:43 -05:00
Keith Rothman
d0c1efbfc2
Fix fasm_assembler for partial tile usage.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-30 11:08:24 -07:00
John McMaster
8171030058
segprint: move load_bitdata into lib
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-30 10:47:33 -07:00
John McMaster
6d24fdbaff
bram-config: baseline workflow
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-24 17:38:32 -07:00
John McMaster
8a68fe70c2
Merge pull request #193 from mcmasterg/genheader_seedn
...
genheader.sh: export SEEDN when deterministic seed is required
2018-10-24 17:25:07 -07:00
John McMaster
c7004ed41b
genheader.sh: export SEEDN when deterministic seed is required
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-24 17:20:13 -07:00
John McMaster
57b000529c
utils: consistently mark +x
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-24 17:15:17 -07:00
Keith Rothman
d1799deb86
Make 005-tilegrid emit entire part, and have 074-dump_all not overwrite 005-tilegrid.
...
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-24 07:10:16 -07:00
John McMaster
d1bf397787
blockwidth: shrink minor address print
...
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-23 19:54:45 -07:00