Commit Graph

135 Commits

Author SHA1 Message Date
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
John McMaster ac7fc054e9 blockwidth: tool to print minor address groups
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-23 19:44:20 -07:00
John McMaster 38c4d3c9ab bram: write to database/*/segbits_bram_*.block_ram.db
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-23 13:23:50 -07:00
John McMaster 20ff9b7752 genheader: clean up variable name
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-23 13:23:50 -07:00
John McMaster a920efa071 genheader.sh: export SEED variable
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-23 13:23:50 -07:00
Keith Rothman c7ff5238f0 Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-22 13:19:22 -07:00
Keith Rothman d9fc687524 Address review comments.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-22 13:09:38 -07:00
Keith Rothman 42addd98a2 Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-22 12:32:42 -07:00
Keith Rothman 1d7738271a Address comments.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-22 12:31:15 -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 e7370d6fdc Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-19 16:19:22 -07:00
Keith Rothman b22001a645 Add tool for outputing canonical prjxray FASM.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-19 14:24:02 -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 6dd9626cfc Move all use of getenv into prjxray.util and behind a function.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-18 21:13:14 -07:00
Keith Rothman 3edbde3fe2 Add FASM library to prjxray path.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2018-10-18 18:26:34 -07:00
John McMaster 16edeffaaf segmaker.py: move to prjxray, class segmaker => Segmaker
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-17 19:03:16 -07:00
John McMaster a931e999b6 segprint: add note
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-17 17:49:01 -07:00
John McMaster 717afdde64 bits2fasm: separate int and segment loading
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-17 17:49:01 -07:00
John McMaster 50c295efb5 misc utils: process_db() w/ load file on or exists, not and
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-17 17:49:01 -07:00
John McMaster d93547ed4b segprint: remove outdated comment
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-17 17:49:01 -07:00
John McMaster 87792c00a8 segprint: remove dead code
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-17 17:49:01 -07:00
John McMaster 483be8e769 bits2fasm: remove some verbose output
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-17 17:49:01 -07:00
John McMaster 697f83c97a fasm2frames env fix
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-17 14:31:59 -07:00
John McMaster d5fd573d30 python3, formatting
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-10-17 14:31:59 -07:00