• 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. using variables for command options in Setup Mode and wlec_master...

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 61
  • Views 15427
  • 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

using variables for command options in Setup Mode and wlec_master.* files

archive
archive over 18 years ago

Conformal version is 07.10-s140.

Question 1.

I want to use a variable for the file entries in the following command in setup mode:

read library -statetable -liberty \
/home/usr/some_dir/file \
/home/usr/some_dir/some_other_file
...

for example, like this:

read library -statetable -liberty \
$some_dir/file \
$some_dir/some_other_file

$some_dir will be a UNIX environment variable.
How can it be done in Conformal setup mode language?

I could not find any.
Later I will bind it to ENV_VAR stuff in RTL Compiler interface, because our Conformal scripts are generated automatically by RTL Compiler.

Question 2

If you call write_do_lec in RTL Compiler, wlec_master.do,csh files are generted in the directory where RC is running. How can I tell the tool, so that it generates these files in a directory I can specify?


Originally posted in cdnusers.org by sporadic crash
  • Cancel
  • archive
    archive over 18 years ago

    Hi

    I can help with the first question:

    UNIX> setenv MYDIR rtl
    UNIX> setenv MYFILE test.v
    UNIX> lec -nog
    SETUP> read design $MYDIR/$MYFILE

    will work. In tclmode you would have to use this of course:

    TCL_SETUP> read design $env(MYDIR)/$env(MYFILE)

    BTW -statetable is default since 5.2 so you can skip that switch.

    Chrystian


    Originally posted in cdnusers.org by croy
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 18 years ago

    Hi

    About your second question, looks like the answer is 'write_do_lec -revised -tmp_dir '

    Chrystian


    Originally posted in cdnusers.org by croy
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 18 years ago

    I am very sorry for this late answer, I was very busy with some more important stuff in synthesis. Thank you for the replies.

    To croy: You say -statetable option is default but as I stated in my first posting in this thread that we are using such Conformal scripts which are generated automatically by RTL Compiler. That means, Cadence tool infers that option. They do that I think to support a wide range of Conformal versions. Probably not all customers use the same version.

    I will have try your recommendations in the first opportunity. Thank you folks.


    Originally posted in cdnusers.org by sporadic crash
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 17 years ago

    Hi croy,

    the option -tmp_dir you mentioned is undocumented in v07.10-s009_1. My synthesis run time is pretty long, hopefully to try it within 3-4 hours.

    Are you sure that this option can be used for write_do_lec? You mentioned "looks like the answer is...". That means you are also not certain, aren't you?

    Sporadic...


    Originally posted in cdnusers.org by sporadic crash
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 17 years ago

    Hi Sporadic

    The only reason I said 'looks like' is that the info came from another AE. It should be correct.

    Good point about -statetable and old releases.

    Chrystian


    Originally posted in cdnusers.org by croy
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 17 years ago

    Hi croy,

    -tmp_dir option solved the problem. Hope to see such kind of hidden/undocumented docs in the manuals soon.

    Utku


    Originally posted in cdnusers.org by sporadic crash
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 17 years ago

    Hi Utku

    -tmp_dir was documented for write_do_clp but not for write_do_lec. It's now fixed.

    Thanks for the catch.

    Chrystian


    Originally posted in cdnusers.org by croy
    • 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