J
Joel
Guest
I have been trying to convert some skill code into a context. Whenever
I load the context I run into problems working within Cadence.
If I load the context at startup, icfb seg faults when I try to open a
schematic window.
If I delay loading the context until I get into ADE I get the following
message repeatedly whenever I try to work within ADE. For example,
selecting "Netlist and Run" gives the following two lines:
** GC: non-cons/nil in cdr slot of cons cell @ 0x0xce49034
** GC: non-cons/nil in cdr slot of cons cell @ 0x0xce49034
The behaviour seems to be independent of what is in the context. I
will reproduce the shortest path I have to a seg fault:
$ cat mytest.il
;; Simple function
procedure(MyHelloWorld()
printf("Hello world!\n")
)
$ cat MakeContext.il
;; Simple create context
procedure(MyMakeContext()
setContext("mytest")
load("mytest.il")
saveContext("mytest.cxt")
)
MyMakeContext()
exit()
$ icfb -ilLoadIL MakeContext.il
Then in icfb -nograph (or ocean):
Loading asimenv.cxt
Segmentation fault
Does anyone know what I am doing wrong?
I load the context I run into problems working within Cadence.
If I load the context at startup, icfb seg faults when I try to open a
schematic window.
If I delay loading the context until I get into ADE I get the following
message repeatedly whenever I try to work within ADE. For example,
selecting "Netlist and Run" gives the following two lines:
** GC: non-cons/nil in cdr slot of cons cell @ 0x0xce49034
** GC: non-cons/nil in cdr slot of cons cell @ 0x0xce49034
The behaviour seems to be independent of what is in the context. I
will reproduce the shortest path I have to a seg fault:
$ cat mytest.il
;; Simple function
procedure(MyHelloWorld()
printf("Hello world!\n")
)
$ cat MakeContext.il
;; Simple create context
procedure(MyMakeContext()
setContext("mytest")
load("mytest.il")
saveContext("mytest.cxt")
)
MyMakeContext()
exit()
$ icfb -ilLoadIL MakeContext.il
Then in icfb -nograph (or ocean):
tloadContext("mytest.cxt")
t
MyHelloWorld()
Hello world!
Loading analog.cxtsimulator('spectre)
Loading oasis.cxt
Loading asimenv.cxt
Segmentation fault
Does anyone know what I am doing wrong?