add STA to datasheet

This commit is contained in:
Matt Venn
2023-04-04 18:56:30 +02:00
parent f2ffaa5637
commit 8c45603e3a
2 changed files with 119 additions and 1 deletions
+6 -1
View File
@@ -25,7 +25,7 @@ class Docs():
ruby = os.path.join(self.script_dir, 'caravel_template', 'dump_pic.rb')
klayoutrc = os.path.join(self.script_dir, 'caravel_template', 'klayoutrc')
lyp = os.path.join(self.script_dir, 'caravel_template', 'caravel.lyp')
cmd = f'klayout -l {lyp} gds/user_project_wrapper.gds -r {ruby} -c {klayoutrc}'
cmd = f'klayout -l {lyp} gds/user_project_wrapper.gds* -r {ruby} -c {klayoutrc}'
logging.info(cmd)
os.system(cmd)
@@ -53,6 +53,9 @@ class Docs():
with open(os.path.join(self.script_dir, 'docs', 'VERIFICATION.md')) as fh:
doc_verification = fh.read()
with open(os.path.join(self.script_dir, 'docs', 'STA.md')) as fh:
doc_sta = fh.read()
with open(os.path.join(self.script_dir, 'docs', 'CREDITS.md')) as fh:
doc_credits = fh.read()
@@ -89,6 +92,8 @@ class Docs():
fh.write("\n\pagebreak\n")
fh.write(doc_verification)
fh.write("\n\pagebreak\n")
fh.write(doc_sta)
fh.write("\n\pagebreak\n")
fh.write(doc_credits)
logging.info(f'wrote markdown to {self.args.dump_markdown}')