Commit Graph

11 Commits

Author SHA1 Message Date
Tomasz Michalak e8311caea2 Add licensing header to python scripts
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2020-05-26 07:33:12 -07:00
Keith Rothman 222eefcece Use extract_numbers for sort keys to preserve previous DB output.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-18 10:45:22 -08:00
Keith Rothman 89761c1102 Add some sorting to JSON outputs.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-18 06:39:20 -08:00
Keith Rothman 26d8024402 Use sort key for sets.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-18 06:39:20 -08:00
Keith Rothman 822a61e2f6 Do not sort already ordered data.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-18 06:39:20 -08:00
Tim 'mithro' Ansell 18cd6aff1c xjson: Support sets + add doctest.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-02-11 08:42:14 -08:00
Tim 'mithro' Ansell 8b560d0d02 utils: Fix broken sorting of tileconn.json
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-02-10 11:07:56 -08:00
Tim 'mithro' Ansell 3c91c98e03 Fix the sorting stage.
- Rework how the json files are sorted (numbers are treated as
   numerics).
 - Sort csv and txt files.
 - Sort segbits.*origin_info.db files.
 - Sort the grid file.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-02-10 08:12:16 -08: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 535769ad04 utils: chmod +x *.py
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
2018-12-18 13:29:22 -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