• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Logic Design
  3. setenv command in RTL Compiler

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 62
  • Views 7631
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

setenv command in RTL Compiler

dkos
dkos over 16 years ago

 Hello all,

I have a problem with RTL compiler shell. When I use RC in text mode (rc) and type 'setenv' command in it I get message that command not exist. But if I start RC in gui mode (rc -gui) and type the same command - everything is ok. Could anyone explain such behavior and how to use 'setenv' command in text mode of RC?

Thanks, dkos 

 

 

  • Cancel
  • johannes
    johannes over 16 years ago

    Hi dkos,

    You can use "set $env(xyz)". setenv isn't TCL. In GUI mode it's just a procedure, which actually does nothing else than "set $env(xyz)".

     Regards,

    Johannes

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • dkos
    dkos over 16 years ago

     Thanks for answer Johannes,

    I know about "set $env(xyz)" command, but the problem is that I have 3rd party scripts which use setenv command and I don't want to change them... 

    So, there is no way to use setenv command in non-gui mode (i.e. there is no way to use mentioned scripts unchanged)?

    Thanks, dkos 

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • johannes
    johannes over 16 years ago
    Hi dkos,
    You can simply write a procedure for setenv, i.e. you simply copy the one from GUI mode (just do "info body setenv" in GUI mode, then you see the procedure, which you could simply copy).
    Regards,
    Johannes
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • dkos
    dkos over 16 years ago

    Thanks a lot! This solution is really usefull!

    dkos 

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information