Weston Braun
07/13/2022, 3:20 AMsource pmos_waffle_8_gen.tcl
it runs fine. But if I try to launch magic with
magic -T sky130A pmos_waffle_8_gen.tcl
I get some errors. Can anyone advise me on how to get this working?
Processing system .magicrc file
Loading "pmos_waffle_8_gen.tcl" from command line.
Root cell box:
width x height ( llx, lly ), ( urx, ury )
microns: 0.000 x 0.000 ( 0.000, 0.000), ( 0.000, 0.000)
lambda: 0 x 0 ( 0, 0 ), ( 0, 0 )
File temp.mag couldn't be read
No such file or directory
Creating new cell
Error parsing "pmos_waffle_8_gen.tcl": invalid command name "..titlebar.caption"
Using technology "sky130A", version 1.0.310-0-gd7faec2
Main console display active (Tcl8.6.10 / Tk8.6.10)
%
Tim Edwards
07/13/2022, 5:16 PMmagic -dnull -noconsole
to make sure it doesn't expect a window. I assume you are running this in "batch mode", as otherwise you could just do what you did originally, typing the source
command at the command prompt.
There are other possibilities that I can tell you about if the solution above doesn't match your use case.Jorge Marin
07/13/2022, 5:38 PMWeston Braun
07/13/2022, 7:11 PMmagic -T sky130A -dnull pmos_waffle_8_gen.tcl
worked.
My generation is only parameterized in terms of the grid size (not pitch) but I am hoping to split out the waffle fet generation from my project and nicely package it up. Two of the layouts are even tested via tapeout, so it should be pretty useful