cannot run example script in README.md
Closed this issue ยท 1 comments
joonhwan commented
After getting opc
binary using make
, I tried to run following scripts but failed. Am I missing something?
Thanks.
โ ๐ป ./opc --technology opc --export svg --cell basic/mosfet
generics: got NULL layer: generics.other("mosfetmarker1")
if this layer is not needed, set it to {}
stack traceback:
[C]: in field 'other'
cell 'basic/mosfet':230: in field 'layout'
modules/pcell.lua:514: in upvalue '_create_layout_internal'
modules/pcell.lua:547: in field 'create_layout_env'
scripts/create_cell.lua:44: in main chunk
errors while creating cell
๐ ~/prj/openPCells ๎ฐ ๎ master โฏ
โ ๐ป ./opc --technology opc --export svg --cell analog/current_starved_ringoscillator
generics: got NULL layer: generics.other("mosfetmarker1")
if this layer is not needed, set it to {}
stack traceback:
[C]: in field 'other'
cell 'basic/mosfet':230: in field 'layout'
modules/pcell.lua:514: in function <modules/pcell.lua:499>
(...tail calls...)
cell 'basic/cmos':177: in field 'layout'
modules/pcell.lua:514: in function <modules/pcell.lua:499>
(...tail calls...)
cell 'analog/current_starved_ringoscillator':154: in field 'layout'
modules/pcell.lua:514: in upvalue '_create_layout_internal'
modules/pcell.lua:547: in field 'create_layout_env'
scripts/create_cell.lua:44: in main chunk
errors while creating cell
๐ ~/prj/openPCells ๎ฐ ๎ master โฏ
patrickschulz commented
Hi and thanks for this report. You are doing nothing wrong, I've added some marker capabilities to basic/mosfet and forgot to update the technology file. Fixed in c9b10c9.