package require not working in OpenROAD Tcl — how to fix or alternatives? #7931
Unanswered
AnuraagDev
asked this question in
Q&A
Replies: 1 comment
-
|
If it is a single file you can just |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone! 👋
I’m a newbie exploring Tcl and OpenROAD. I tried using the package require command to load a custom Tcl package in the OpenROAD shell, but it didn’t work as expected — I got an error related to the dir variable not being found.
I’m guessing this might be due to OpenROAD’s custom Tcl environment.
Is there a correct or recommended way to make package require work here? Or any clean workaround/alternative for modularizing code?
Appreciate any guidance or examples — thanks in advance! 🙏
Beta Was this translation helpful? Give feedback.
All reactions