add a readme and neaten tt_tool

This commit is contained in:
Matt Venn
2023-02-22 17:39:37 +01:00
parent 1fe1787514
commit 4294db2f21
2 changed files with 18 additions and 3 deletions
+17
View File
@@ -1,3 +1,20 @@
# Tiny Tapeout tools # Tiny Tapeout tools
Tools used mostly by the Tiny Tapeout github actions Tools used mostly by the Tiny Tapeout github actions
## Documentation
* checks that basic fields are present in the info.yaml
* create a PDF data sheet for this one design
* create SVG and PNG renders of the project's GDS
## Reports
* routing & utilisation
* yosys warnings
* standard cell usage and summary
## Configuration
* creates a little TCL shim that tells OpenLane where the source is and the name of the top module
* makes sure the top module is not called 'top'
+1 -3
View File
@@ -12,9 +12,6 @@ if __name__ == '__main__':
parser.add_argument('--run-dir', help="OpenLane run directory", default='runs/wokwi') # set in the github action yaml parser.add_argument('--run-dir', help="OpenLane run directory", default='runs/wokwi') # set in the github action yaml
parser.add_argument('--debug', help="debug logging", action="store_const", dest="loglevel", const=logging.DEBUG, default=logging.INFO) parser.add_argument('--debug', help="debug logging", action="store_const", dest="loglevel", const=logging.DEBUG, default=logging.INFO)
# tests & checks
parser.add_argument('--check-docs', help="check the documentation part of the yaml", action="store_const", const=True)
# reports & summaries # reports & summaries
parser.add_argument('--create-cell-defs', help="create def file", action="store_const", const=True, default=False) parser.add_argument('--create-cell-defs', help="create def file", action="store_const", const=True, default=False)
parser.add_argument('--print-cell-summary', help="print summary", action="store_const", const=True, default=False) parser.add_argument('--print-cell-summary', help="print summary", action="store_const", const=True, default=False)
@@ -23,6 +20,7 @@ if __name__ == '__main__':
parser.add_argument('--print-warnings', help="print any warnings", action="store_const", const=True) parser.add_argument('--print-warnings', help="print any warnings", action="store_const", const=True)
# documentation # documentation
parser.add_argument('--check-docs', help="check the documentation part of the yaml", action="store_const", const=True)
parser.add_argument('--create-pdf', help="create a single page PDF", action="store_const", const=True) parser.add_argument('--create-pdf', help="create a single page PDF", action="store_const", const=True)
parser.add_argument('--create-svg', help="create a svg of the GDS layout", action="store_const", const=True) parser.add_argument('--create-svg', help="create a svg of the GDS layout", action="store_const", const=True)
parser.add_argument('--create-png', help="create a png of the GDS layout", action="store_const", const=True) parser.add_argument('--create-png', help="create a png of the GDS layout", action="store_const", const=True)