Commit Graph

203 Commits

Author SHA1 Message Date
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