irsim icon indicating copy to clipboard operation
irsim copied to clipboard

getting a segmentation error(core dumped).. how to resolve this?

Open Abhinavkotha1 opened this issue 1 year ago • 5 comments

created a gate structure in magic and all extraction commands worked fine. when I try to invoke irsim, it shows some warnings and closes abruptly. Even the magic window gets closed and a segmentation error(core dumped) is displayed in terminal.

Abhinavkotha1 avatar Jun 11 '23 10:06 Abhinavkotha1

It sounds like you tried to run IRSIM from inside magic? I haven't done that for a long time and I'm not sure whether it still works correctly or not---Part of the problem is that I'm not sure how IRSIM would pick up the correct setup file for the PDK that way. Try generating a .sim file from magic and then running IRSIM as an independent program. What versions of magic and IRSIM are you using?

RTimothyEdwards avatar Jun 11 '23 15:06 RTimothyEdwards

Sir, We are using magic 8.3 and irsim 9.7. We used ext2sim command and irsim invoking command in same tkcon window which is from magic.

On Sun, 11 Jun 2023 at 21:08, R. Timothy Edwards @.***> wrote:

It sounds like you tried to run IRSIM from inside magic? I haven't done that for a long time and I'm not sure whether it still works correctly or not---Part of the problem is that I'm not sure how IRSIM would pick up the correct setup file for the PDK that way. Try generating a .sim file from magic and then running IRSIM as an independent program. What versions of magic and IRSIM are you using?

— Reply to this email directly, view it on GitHub https://github.com/RTimothyEdwards/irsim/issues/6#issuecomment-1586217371, or unsubscribe https://github.com/notifications/unsubscribe-auth/AX2DILVIB5AAFPTVZM3A2U3XKXRAZANCNFSM6AAAAAAZCIAACI . You are receiving this because you authored the thread.Message ID: @.***>

Abhinavkotha1 avatar Jun 11 '23 16:06 Abhinavkotha1

@Abhinavkotha1 : Yes, but what revisions? Magic version 8.3 has had 402 revisions, while IRSIM 9.7 has had 116. How are you calling IRSIM from magic? What arguments are you passing to it?

RTimothyEdwards avatar Jun 12 '23 13:06 RTimothyEdwards

Both are latest revisions. prm file and sim file are the arguments passing. Where can we get prm files for sky130A tech as they are not present in irsim folder.

Abhinavkotha1 avatar Jun 12 '23 14:06 Abhinavkotha1

But they are. There is a whole set of PRM files for sky130A in open_pdks. What version of the PDK are you using?

RTimothyEdwards avatar Jun 12 '23 15:06 RTimothyEdwards