Alexander Sheldon
04/15/2021, 8:25 PMTim Edwards
04/16/2021, 1:28 AMsky130A.magicrc from the PDK directory (default /usr/share/pdk/sky130A/libs.tech/magic/) to your local directory and rename it .magicrc (or make a symbolic link to it with that name). Then when you start magic, it automatically loads the correct technology and the device generator procedures. The other way is to specify the startup script from the command line; e.g., magic -d OGL -rcfile /usr/share/pdk/sky130A/libs.tech/magic/sky130A.magicrc but that's kind of cumbersome to do every time (although you can make a bash alias for it).Alexander Sheldon
04/16/2021, 1:48 AMTim Edwards
04/16/2021, 2:43 AMTim Edwards
04/16/2021, 2:46 AMgdb not on magic (which is a shell script) but on /usr/local/lib/magic/tcl/magicexec . Use run -- -rcfile /usr/share/pdk/sky130A/libs.tech/magic from the gdb command prompt and run bt after it crashes.Alexander Sheldon
04/16/2021, 3:14 AMAlexander Sheldon
04/16/2021, 3:15 AMAlexander Sheldon
04/16/2021, 3:26 AMAlexander Sheldon
04/16/2021, 3:26 AM