Models for nmos4 & pmos4, and finding files with specific contents

Discussion in 'Cadence' started by spectrallypure, Nov 11, 2006.

  1. Dear all,

    Two slightly related questions:

    (Q1) Could anybody please tell if the IC tool (v5.10.41_USR2) includes
    any default model files for the transistor cells "nmos4" and "pmos4" in
    the "analogLib" library, that could be used in Spectre simulations?
    I would like to simulate a simple inverter made with these components
    whenever I need to check if an installation of this tool is working
    properly on a PC, without any design kit installed yet. If the
    simulation runs smoothly, the installation is considered successful. I
    need to do this several times because I am trying to install cadence in
    different linux distros and versions (mostly Fedora).

    Using the command line, I tried to find any files that could contain
    the models, by running the following in the top directory if IC:

    # grep -i "model .nmos4" `find . -name "*" -print`

    However, this command, which works just fine in Solaris, doesn't work
    at all in Fedora -I don't know why. And to make things worse, I HAVE
    NOT been able to find a way of performing this type of content-based
    file searchs by using the graphical tools for file management provided
    by default with Fedora (Nautilius, etc). So, (Q2) could anybody please
    tell if there exists (in Fedora 5) a way for finding files with
    specific contents? I am sure there has to be some reasonable way!

    Thanks in advance for any clue.

    Regards,
     
    spectrallypure, Nov 11, 2006
    #1
  2. Try this command.

    find . -name "*" -print -exec grep -i "model .nmos4" {} \;

    It works perfectly in Solaris, (I have not tested it in Fedora).

    Regards,

    =======================================================================

    http://cmp.imag.fr
    =======================================================================
    CMP Introducing the Access to 65nm CMOS Process from STMicroelectronics
    http://cmp.imag.fr/Download/forms/CMOS065_announce.pdf
    =======================================================================
     
    Kholdoun TORKI, Nov 12, 2006
    #2
  3. Thanks a lot for your help Kholdoun; unluckily the command doesn't seem
    to work in Fedora (it doesn't complain of any errors, but it just
    returns all the files in the directory hierarchy, irrespective of their
    content).

    Any ideas of how to work around this? ... it is very frustrating to
    see how something trivial in windows can be totally obscure in linux!
    :(
     
    spectrallypure, Nov 12, 2006
    #3
  4. BTW, any clue about the location of "default" models nmos4 and pmos4
    (if any)?

    Thanks in advance.
     
    spectrallypure, Nov 12, 2006
    #4
  5. Try this command under csh or tcsh, may be bash or other shells are
    not using the same syntax for piping commands ...

    to do so, type csh or tsch, and then execute your original command or
    the one I suggested.

    Regards,

    =======================================================================

    http://cmp.imag.fr
    =======================================================================
    CMP Introducing the Access to 65nm CMOS Process from STMicroelectronics
    http://cmp.imag.fr/Download/forms/CMOS065_announce.pdf
    =======================================================================
     
    Kholdoun TORKI, Nov 12, 2006
    #5
  6. Try to look at the directory :
    <Cadence_installation>/tools/dfII/samples/artist/models/spectre

    There are examples of MOS and other components there.

    The file :
    <Cadence_installation>/tools/dfII/samples/artist/models/spectreSModels/nmos4.m
    contains an example of nmos4
    I'm not going to recommand you using SpectreS. It is old now,
    and replaced by Spectre Direct.

    By the way, I recognize that my command is printing the list of the
    files from the hierarchy. If you redirect this to a file and then
    search for the string "nmos4" you will find the matching grep and the
    file name.

    Regards,

    =======================================================================

    http://cmp.imag.fr
    =======================================================================
    CMP Introducing the Access to 65nm CMOS Process from STMicroelectronics
    http://cmp.imag.fr/Download/forms/CMOS065_announce.pdf
    =======================================================================
     
    Kholdoun TORKI, Nov 12, 2006
    #6
  7. (Q1) Could anybody please tell if the IC tool (v5.10.41_USR2) includes
    No, I suggest to go to http://pdk.cadence.com
    and download the generic PDK for you quality test,
    it's free, regarding my last information.
    Also it seems to me a bit crazy, to make this decision based on a simple inverter
    simulation is running or not. There are quite more issues which will arise.
    I suggest to stay with one distro and version.
    Wrong approach a the model must not necessarily have the name of the library
    cell. And as I told yo in the first Q. there are no models shipped with the
    installation.

    Bernd
     
    Bernd Fischer, Nov 13, 2006
    #7
  8. Why bothering with Fedora?
    check your aliases. I experience that system administrators create
    aliases to commands and "provide" these aliases to the user without
    telling them. I am an enemy of "provided" aliases because they fool the
    luser to think that _that_ is the proper way of functionality. I
    specially think of the -i flags to mv and cp which make lusers do
    stupid things on non-aliased machines. You get the pure, unaliased
    version by inserting a \ "backslash" in front of the command.
    If your Fedora also has a decent desktop installed look for "kfind"
    which has the features you want.
     
    Svenn Are Bjerkem, Nov 15, 2006
    #8
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.