Hi All , Anybody has modified MAGIC files related...
# reram
r
Hi All , Anybody has modified MAGIC files related to reram sky130 ? Right now the tool understandably throws out error : Error while reading cell "myComponent_1t1r" (byte position 3918): Unknown layer/datatype in boundary, layer=201 type=20 Thanks
t
Yes. The magic tech file has been completely updated for ReRAM support. However, because the layers and parasitics all change, it was necessary to treat the ReRAM-enabled process as a distinct process variant. So if you now install the PDK from open_pdks, you will get two variants:
sky130A
and
sky130B
. The
sky130B
variant is the one that is compatible with ReRAM.
If you need to migrate existing layout in a .mag file, either change the technology name at the top of the file from
sky130A
to
sky130B
or else use
load ... -force
to load the file and override the technology specified at the top of the file(s).
r
Ohh !!! Thanks great. Let me check. Thanks
Do i have to do git clone the open_pdk again Or make install will take care of sky130B
I am trying with : ./configure --with-sky130-variants=all
but says : configure: WARNING: unrecognized options: --with-sky130-variants
t
What version of open_pdks do you have (text in file VERSION)
The split between A and B and the corresponding configuration option was introduced in open_pdks 1.0.270. You'll probably need to do an update.
Once you have the right version, "--with-sky130-variants=all" is the default, so you don't need to specify it on the configuration command line.
r
let me check
1.0.236 --> seems i have older version
strangely not reflected : ratul619@DESKTOP-VLCF3O8:~/IIT_STUDY/open_pdks$ sudo ./configure checking for a Python interpreter with version >= 3.4... python3 checking for python3... /usr/bin/python3 checking for python3 version... 3.8 checking for python3 platform... linux checking for python3 script directory... ${prefix}/lib/python3.8/site-packages checking for python3 extension module directory... ${exec_prefix}/lib/python3.8/site-packages checking python3 module: distutils... yes checking for a sed that does not truncate output... /usr/bin/sed configure: Found technology directories: sky130 Checking technology sky130... configure: Found tools: klayout magic netgen irsim openlane qflow xschem checking for magic... /usr/local/bin/magic checking for patch... /usr/bin/patch configure: Package 'sky130_ml_xx_hd' will be installed automatically during make. configure: Package 'xschem_sky130' will be installed automatically during make. configure: Package 'sky130_sram_macros' will not be installed. configure: Package 'sky130_osu_t12' will not be installed. configure: Package 'sky130_osu_t15' will not be installed. configure: Package 'sky130_osu_t18' will not be installed. configure: Tools enabled for PDK setup installation: klayout magic netgen irsim openlane qflow xschem find: File system loop detected; '../sources/sky130-pdk/third_party/make-env/test/third_party/make-env' is part of the same file system loop as '../sources/sky130-pdk/third_party/make-env'. configure: creating ./config.status config.status: creating ../Makefile config.status: creating ../sky130/Makefile Build configured successfully ONly sky130A/ is there inside sky130/ dir
i updated to version : 1.0.281
t
Any
sky130A
directory would be left over from a previous build. Do
make veryclean
to get rid of it, and then run
make
from the top, and it will build out both PDK variants.
r
ok trying
done thnx