<@U01CCB2GVGA>: SkyWater has a "built-in" ".optio...
# sky130
t
@User: SkyWater has a "built-in" ".option scale 1e-6" in the model files for the process, which means that all dimensions are automatically in units of microns; e.g., "w=1" means a 1 micron width. But magic (like a number of tools) wants to output dimensions with a "u" at the end, and scale things to microns itself. My (definitely somewhat kludgy) workaround for this was to multiply the dimensions up by 1E6 in magic, so that "W=1.0E6u" would then come out to 1 micron. My preferred solution is to get rid of the .option scale in the model files, but that's a lot easier said than done.
m
Tim, how do you get magic to use a specific scale?
I would like to run extract, ext2spice and then the .spice file be directly compatible with the spice models
instead of having to manually (or via script) scale the numbers
m
Hi @Tim Edwards. I am having an error on line 47 while simulating myinverter1.sp(netlist - magic) through ngspice with the help of test bench invtest.sp. defining all inputs and outputs with delays for the inverter.
t
You can't use "wrdata" as ".wrdata". You have to put it inside a ".control ... .endc" block.