patrickschulz/openPCells

cannot run example script in README.md

Closed this issue ยท 1 comments

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 โฏ

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.