• 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. Custom IC SKILL
  3. How to do a plot in Cadence?

Stats

  • Locked Locked
  • Replies 23
  • Subscribers 144
  • Views 28740
  • 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

How to do a plot in Cadence?

Alex Liao
Alex Liao over 11 years ago

Hi, everytime when I want to print a schematic/ layout view to a file, it always says:

There were no system .cdsplotinit files found.

*WARNING* Plotter configuration not loaded.

 I could not find it in the provided PDK. Instead, I found something interesting. Under the /CMC/tools/cadence/IC5141USR6_lnx86, I found a cdsplotinit (no dot in front) and under /CMC/tools/cadence/IC5141USR6_lnx86/tools.lnx86/plot/samples, I found a cdsplotinit.sample.

 I am sure thoses are something related to the plot function. However I tried to rename them to .cdsplotinit which is required from the warning message and it is still not working. Not a proper plotter can be found.

 

Anyone got an idea?

 

Thanks,

Alex 

  • Cancel
  • skillUser
    skillUser over 11 years ago

    Hi Alex,

    You will need to create either a ~/.cdsplotinit file or ./.cdsplotinit (it could be in other locations too, depending on your search set up). Try running plotconfig from the command line.  The documentation has a section "Plotter Configuration User Guide" and there is a Quick Start section.

    Hopefully this helps? Good luck,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Alex Liao
    Alex Liao over 11 years ago

    Hi Lawrence,

     Thank you.  I do not have this .cdsplotinit. The only one I have is cdsplotinit(without dot). So I changed it to the .cdsplotinit and provided it at both locations, the ~/.cdsplotinit and under my Cadence running direction. It turned out in vain when I typed the plotconfig in the linux command line. I guess the file cdsplotinit needs to be revied somehow. But I am ignorant about the grammar of used language. Can you kindly provide me a feasible one?

     

    Regards,

    Alex 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Alex,

    You can't just copy a random cdsplotinit file and hope it will work - you have to set it up to use an appropriate printer to spool to and so on.

    If you run <ICHOME>/tools/plot/bin/plotconfig (and you can find out where ICHOME is by doing 'cds_root virtuoso' or 'cds_root icfb' depending on the version) you can create one (it's just not in the UNIX path by default, probably). Or as Lawrence said, look in <ICHOME>/doc/plot/plot.pdf - this will tell you the syntax of the file.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Alex Liao
    Alex Liao over 11 years ago

    Hi Andrew,
     
    Thanks, I tried cds_root icfb to make sure the plotconfig is under the right place.
     
    But when I ran:
    /CMC/tools/cadence/IC5141USR6_lnx86/tools.lnx86/plot/bin/plotconfig
     
    It said: 
    /CMC/tools/cadence/IC5141USR6_lnx86/tools/plot/bin/plotconfigEXE: error while loading shared libraries: libCdsXmotif.so.2: cannot open shared object file: No such file or directory
     
    It seems plotconfig needs to be installed before calling it.
     
    Any idea abouth that?
     
    Regards,
    Alex 
     
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 11 years ago

    Hi Alex,

    perhaps your LD_LIBRARY_PATH is not set or it is set incorrectly?   You should have the <install_dir>/tools/lib in your LD_LIBRARY_PATH.  If that all looks correct, check that the OS supports what you are trying to run: checkSysConf from the command line with the argument IC5.1

    Best regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Alex Liao
    Alex Liao over 11 years ago
    Hi Lawrence,
     
    When I typed:
    "which $LD_LIBRARY_PATH"
     
    it gave me: 
    "/lib64:/usr/lib64:/lib:/usr/lib::/CMC/tools/cadence/MMSIM_07.20.109_lnx86/tools/lib: Command not found."
     
    I think it is good. But when I typed "checkSysConf IC5.1" it said:
     
    ============== checkSysConf:  Version 3.15 ====================

    Configuration checks failed, status is: FAIL

    checkSysConf cannot reliably parse your systems /etc/redhat-release file
    It would appear that the file is non-standard and does not contain release
    information in the standard readable format.

    The contents of your /etc/redhat-release is listed below between
    <RELEASE_FILE> tags.
    A 'correct' release file should have only one line of content, containing
    version information in a standard format.

    <RELEASE_FILE>
    Red Hat Enterprise Linux Workstation release 6.5 (Santiago)
    </RELEASE_FILE>

    Please check/correct your /etc/redhat-release file and try again.
    There is no OEM datafile for IC5.1 for the Linux platform.
     
    I think it is a little bit complicated here.
     
    My colleague suggested me to use Cadence Camera. And it looks beautiful!
     
    Thank you so much.
     
    Regards,
    Alex 
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 11 years ago

    Hi Alex,

    You would check $LD_LIBRARY_PATH using something like 'echo' typically - 'which' is for things on your executable path.  I would expect to see another entry in addition to the MMSIM entry; i.e. one for your Virtuoso installation.  Typically there are tool wrappers that take care of setting LD_LIBRARY_PATH, but IC5141 is pretty old and I don't recall if it did this or not.  Add the entry for your virtuoso installation and try again.  What is Cadence Camera?

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Alex Liao
    Alex Liao over 11 years ago

    Hi  Lawrence,

     

    Yeah, it was almost the same result once I did a 'echo'.

     echo $LD_LIBRARY_PATH

    /lib64:/usr/lib64:/lib:/usr/lib::/CMC/tools/cadence/MMSIM_07.20.109_lnx86/tools/lib

    There wasn't an extra entry showing. 

    Here I pasted a portion of the results of 'printenv' which may help identify the problem.
     
    "
    CDS_Netlisting_Mode=Analog
    CDS_AUTO_64BIT=NONE
    LD_LIBRARY_PATH=/lib64:/usr/lib64:/lib:/usr/lib::/CMC/tools/cadence/MMSIM_07.20.109_lnx86/tools/lib
    CMC_HOME=/CMC
    CMC_CDS_ARCH=lnx86
    CMC_SNPS_ARCH=amd64
    CMC_SNPS_ARCH2=AMD.64
    CMC_SNPS_ARCH3=linux
    CMC_MNT_ARCH=ixl
    CMC_MNT_ARCH2=linux_x86_64
    CMC_MNT_ARCH3=ixl
    CMC_XILINX_ARCH=64
    CMC_ST_ARCH=lnx
    CMC_ANSYS_ARCH=Linux64
    CMC_SOURCED=1
    CDS_TOP_DIR=/CMC/tools/cadence
    CMC_CDS_OA_ARCH=lnx86
    CMC_CDS_SOURCED=1
    CMC_CDS_IUS_ARCH=lnx86
    CMC_CDS_IUS_HOME=/CMC/tools/cadence/IUS08.20.024_lnx86
    AMSHOME=/CMC/tools/cadence/IUS08.20.024_lnx86
    SYNOPSYS=/CMC/tools/synopsys/syn_vD-2010.03-SP4
    CMC_SNPS_SOURCED=1
    CMC_CDS_IC_ARCH=lnx86
    CMC_CDS_IC_HOME=/CMC/tools/cadence/IC5141USR6_lnx86
    CDS_HOME=/CMC/tools/cadence/IC5141USR6_lnx86
    CDSHOME=/CMC/tools/cadence/IC5141USR6_lnx86
    CDS_INST_DIR=/CMC/tools/cadence/IC5141USR6_lnx86
    XPEDION_CADENCE_VERSION=510
    CMC_CDS_ICC_ARCH=lnx86
    CMC_CDS_ICC_HOME=/CMC/tools/cadence/ICC11241USR5_lnx86
    CDS_SPECTRERF_FBENABLE=1
    CMC_CDS_MMSIM_ARCH=lnx86
    CMC_CDS_MMSIM_HOME=/CMC/tools/cadence/MMSIM_07.20.109_lnx86 
    " 
     
    By the way, the Cadence camera can give you a .ps file of any schematic or layout view. You can do it by Cadence CIW window => Tools=> Camera => PostScript.
     
    Thanks,
    Alex 
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Alex,

    If using csh, then do:

    setenv LD_LIBRARY_PATH $CDSHOME/tools/lib:$LD_LIBRARY_PATH

    if using bash or ksh, use:

    export LD_LIBRARY_PATH=$CDSHOME/tools/lib:$LD_LIBRARY_PATH

    then $CDSHOME/tools/plot/bin/plotconfig

    In IC61X (IC616 at least) plotconfig has a wrapper which avoids the need to set LD_LIBRARY_PATH, but in IC5141 that was required.

    The Camera menu you mention (which was dropped in IC61) is just doing a simple screen grab and outputing in PostScript. It was dropped because there were better utilities for doing this, plus now there's the ability to export an image directly from the schematic and layout editors. If you want a vector plot though (rathe than raster), then setting up a plotter using plotconfig is still a good solution as this will have better resolution than screen resolution (which is all you'll get from the "Camera" command).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Alex Liao
    Alex Liao over 11 years ago

    Andrew,

     

    I have tried setenv LD_LIBRARY_PATH $CDSHOME/tools/lib:$LD_LIBRARY_PATH

    and  $CDSHOME/tools/plot/bin/plotconfig

    It says /CMC/tools/cadence/IC5141USR6_lnx86/tools/plot/bin/plotconfig: line 10:  3386 Segmentation fault (core dumped) ${PLOT_ROOT}/bin/plotconfigEXE $*
     
    Also I have tried different IC version. For CMOS65nm,  
    with printenv result like this:
    CDS_Netlisting_Mode=Analog
    CDS_AUTO_64BIT=NONE
    LD_LIBRARY_PATH=/lib64:/usr/lib64:/lib:/usr/lib::/CMC/tools/cadence/MMSIM_07.20.109_lnx86/tools/lib
    CMC_HOME=/CMC
    CMC_CDS_ARCH=lnx86
    CMC_SNPS_ARCH=amd64
    CMC_SNPS_ARCH2=AMD.64
    CMC_SNPS_ARCH3=linux
    CMC_MNT_ARCH=ixl
    CMC_MNT_ARCH2=linux_x86_64
    CMC_MNT_ARCH3=ixl
    CMC_XILINX_ARCH=64
    CMC_ST_ARCH=lnx
    CMC_ANSYS_ARCH=Linux64
    CMC_SOURCED=1
    CDS_TOP_DIR=/CMC/tools/cadence
    CMC_CDS_OA_ARCH=lnx86
    CMC_CDS_SOURCED=1
    CMC_CDS_IUS_ARCH=lnx86
    CMC_CDS_IUS_HOME=/CMC/tools/cadence/IUS08.20.024_lnx86
    AMSHOME=/CMC/tools/cadence/IUS08.20.024_lnx86
    SYNOPSYS=/CMC/tools/synopsys/syn_vD-2010.03-SP4
    CMC_SNPS_SOURCED=1
    CMC_CDS_IC_ARCH=lnx86
    CMC_CDS_IC_HOME=/CMC/tools/cadence/IC06.14.005_lnx86
    CDS_HOME=/CMC/tools/cadence/IC06.14.005_lnx86
    CDSHOME=/CMC/tools/cadence/IC06.14.005_lnx86
    CDS_INST_DIR=/CMC/tools/cadence/IC06.14.005_lnx86
    XPEDION_CADENCE_VERSION=614
    CMC_MNT_HOME=/CMC/tools/mentor
    MGC_TMPDIR=/tmp
    MGLS_CONN_TIMEOUT=20
    CMC_MNT_SOURCED=1
    CMC_MNT_CALIBRE_ARCH=ixl
    CMC_MNT_CALIBRE_HOME=/CMC/tools/mentor/ixl_cal_2011.4_35.27
    MGC_HOME=/CMC/tools/mentor/ixl_cal_2011.4_35.27
    CALIBRE_HOME=/CMC/tools/mentor/ixl_cal_2011.4_35.27
    CDS_SPECTRERF_FBENABLE=1
    CMC_CDS_MMSIM_ARCH=lnx86
    CMC_CDS_MMSIM_HOME=/CMC/tools/cadence/MMSIM_07.20.109_lnx86
     
    As can be seen the version is IC 614 which is before IC 616 so I did the LD_LIBRARY_PATH again.
    The   $CDSHOME/tools/plot/bin/plotconfig result is very strange:
    Warning: No type converter registered for 'String' to 'map' conversion.
    Warning: Cannot find callback list in XtAddCallback
     
    These two warnings are nested in recurrance.
     
    So I think more things needs to be checked before run cdsplot.
     
    By the way, what are the better utilities that you mentioned?
    Also, I have double checked menus in the schematic/layout editor, I did not find the mentioned ability to directly export an image from schematic/layout editor. The only way I can see is the 'plot menu' which must be the same way of setting cdsplot.
     
    Regards,
    Alex 
     
     
     
     
     
     
     

    • 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