Nelson Rodriguez
02/11/2023, 2:53 PMsnap internal but it didn't change it. Does anyone have any idea?Tim Edwards
02/11/2023, 3:25 PM-rcfile switch (e.g., magic -d XR -rcfile /path/to/sky130A.magicrc), which runs (among other things important to the PDK setup) a grid scaling that scales from lambda (an initial grid scaling chosen somewhat arbitrarily) to the minimum manufacturing grid. If you're not using -rcfile (hint: you should), you can scale the grid down with the scalegrid command.Nelson Rodriguez
02/20/2023, 10:08 PMNelson Rodriguez
02/21/2023, 12:38 AMgrid 0.005um 0.005um, I still have to run snap grid because without it I can't work with the smallest dimensions.
Now, let's say I type the above commands and also paint some lines using source command (because they are described in a tcl file) and save all of that. Once I want to open it again, nothing is saved, I have to type one more time the snap grid and source the tcl file with the lines again.
Is there a solution to keep the effect of those commands in my previous work session?Tim Edwards
02/21/2023, 2:36 PMgrid command just draws grid lines. If you want to draw on the fine scale, just use snap internal (what you did is fine, too, just a bit more roundabout).
If you are drawing geometry from the command line (or a script file), the grid and snap are irrelevant as long as you specify units (e.g., box 10um 10um 20um 20um; paint m1)
"save all of that" followed by "nothing is saved" is contradictory. Can you provide an example of something you scripted? (A common misunderstanding is using the save command instead of the writeall command, which could be the issue here.)