Home > Community > Forums > Mixed-Signal Design > about 64 - 32 bit binaries (ultrasim64)

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 about 64 - 32 bit binaries (ultrasim64) 

Last post Fri, Jul 5 2013 6:57 AM by Thodoros. 6 replies.
Started by Thodoros 03 Jul 2013 04:47 PM. Topic has 6 replies and 1082 views
Page 1 of 1 (7 items)
Sort Posts:
  • Wed, Jul 3 2013 4:47 PM

    • Thodoros
    • Top 500 Contributor
    • Joined on Tue, Oct 6 2009
    • Patra, Athens Greece
    • Posts 34
    • Points 485
    about 64 - 32 bit binaries (ultrasim64) Reply

     Hello,

    At the tool path "..../MMSIM101/tools/ultrasim/bin" I see the link to executable ultrasim64.

    However I have to exclude ultrasim from the 64bit tools in order to run (my machine is i5 and tools run on centOS).

    Is there a way to use 64bit binaries for ultrasim ?

     

    Another question:

    I use the following in order to simulate with spectreVerilog

    setenv CDS_AUTO_64BIT EXCLUDE:spectreVerilog

    However I remember the tool to argue about not supporting spectreVerilog in 64bit execution.

    The simulation did not seem to stop but I ended it as it was too slow. Could not even see the first spectre pass. 

    Is the key  spectreVerilog OK to use this tool in 32bit execution? Should I use UltraSim-Verimix or anything else instead?

     

    Thanks for your time,

    Thodoros

    • Post Points: 20
  • Thu, Jul 4 2013 10:08 AM

    Re: about 64 - 32 bit binaries (ultrasim64) Reply

    Thodoros,

    I don't really understand your question. I don't see why you can't use the 64bit binaries for Ultrasim? If you're running on a 64 bit OS (although the OS you're using is not a supported one), you should be able to run 64 bit version. Note that 64 bit doesn't make it faster - it just increases the memory capacity and so the ability to run larger designs.

    You can't use the word spectreVerilog in the CDS_AUTO_64BIT because this has to be the name of an executable, and there is no executable called spectreVerilog. I also believe that running 32 bit only makes sense if you are really using spectreVerilog.

    I would in general advise using AMS Designer (simulator "ams" in ADE) rather than spectreVerilog, because spectreVerilog is ancient and has had no significant work on it in many years (it uses Verilog-XL rather than the "NC" (INCISIVE) digital simulators); AMS Designer is our mainstream mixed-signal simulation solution, and supports spectre, APS, and Ultrasim as the analog solvers, and supports more languages, and also will work in 32 or 64 bit modes.

    Regards,

    Andrew.

    • Post Points: 20
  • Fri, Jul 5 2013 5:41 AM

    • Thodoros
    • Top 500 Contributor
    • Joined on Tue, Oct 6 2009
    • Patra, Athens Greece
    • Posts 34
    • Points 485
    Re: about 64 - 32 bit binaries (ultrasim64) Reply

     Dear Andrew,

    Thanks for your quick reply.
    Indeed I cannot run Ultrasim in 64bit mode.

    Below is the message I get:

    Connecting to License Server ... Done.

    Error found by UltraSim.
        ERROR (USIM-12701): The UltraSim-Verimix (mixed mode) simulator option is
            not compatible with 64-bit platforms. The UltraSim simulator will exit
            the current session. Either run the simulation on a 32-bit platform or
            turn off the UltraSim-Verimix option before running the simulation
            again.
     

    I have:

    simop@vlsi-lab07 /home/simop/cadence/umc65ll_lib
    $ uname -m
    x86_64
    simop@vlsi-lab07 /home/simop/cadence/umc65ll_lib
    $ echo $CDS_AUTO_64BIT
    ALL
    simop@vlsi-lab07 /home/simop/cadence/umc65ll_lib
    $ virtuoso&
    [1] 26761

    Could it be a problem of the LD_LIBRARY_PATH?

    This  library is not set up with the new .cds_t_cshrc that configs the environment of
    all cadence tools.
    I have:

    simop@vlsi-lab07 /home/simop
    $ echo $LD_LIBRARY_PATH
    /usr/local/cuda/lib64:/usr/local/cuda/lib:/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib:/local/tools/cadence/soc/tools/lib:/lib64
     

    I chose to  use ultrasim and spectreVerilog as simulation tool because I have aTOd and dTOa units around the inputs - aoutputs of the

    main chip. So I simulate giving as input a verilog testbench.

    Can I do this with ams? (I am in trying to build a stimulus file for ams)

    Can I assign value to bus with ams?

     Thanks for your concern,

    Thodoros.

    • Post Points: 20
  • Fri, Jul 5 2013 5:48 AM

    Re: about 64 - 32 bit binaries (ultrasim64) Reply

     No, because you're setting CDS_AUTO_64BIT to ALL, it will try to run Ultrasim in 64 bit mode.

    So either do:

    unsetenv CDS_AUTO_64BIT

    or

    setenv CDS_AUTO_64BIT EXCLUDE:ultrasim

    No need to worry about the verilog part, because VerilogXL is only available in 32 bit mode anyway.

    Its nothing to do with LD_LIBRARY_PATH - it's just that you're running Ultrasim in 64 bit mode despite it telling you not to.

    Note that you can run 32 bit applications on 64 bit operating systems - just not the other way around.

    And yes - AMS has all the features of Verilog (or SystemVerilog, or VHDL) - so you can assign busses.

    Kind Regards,

    Andrew.

    • Post Points: 20
  • Fri, Jul 5 2013 6:06 AM

    • Thodoros
    • Top 500 Contributor
    • Joined on Tue, Oct 6 2009
    • Patra, Athens Greece
    • Posts 34
    • Points 485
    Re: about 64 - 32 bit binaries (ultrasim64) Reply

     Dear Andrew,

     I do not think that I understand sorry.

     Why does ultrasim tell me not to run in 64 bit mode? I think ultrasim64 can support this.
    Is it the mixed mode that cannot support it?

    Anyway I use
    setenv CDS_AUTO_64BIT "EXCLUDE:spectre,ultrasim"
    that bypasses 64 bit mode for both spectreVerilog and ultrasim.

    Thanks for the information you have given me about AMS. I will try to inclose the verilog
    testbench inside the stimulus file.

    Regards,

    Thodoros

     

    • Post Points: 20
  • Fri, Jul 5 2013 6:28 AM

    Re: about 64 - 32 bit binaries (ultrasim64) Reply

    The message is not terribly well worded:

        ERROR (USIM-12701): The UltraSim-Verimix (mixed mode) simulator option is
            not compatible with 64-bit platforms. The UltraSim simulator will exit
            the current session. Either run the simulation on a 32-bit platform or
            turn off the UltraSim-Verimix option before running the simulation
            again.

     

    But what it is trying to sayto you that the mixed mode simulation cannot be run in 64 bit mode. This is (I believe) because the verilog part has to be 32 bit (because it's the ancient Verilog-XL; it's never been ported to a 64 bit version), the ultrasim side has to be too. So you need to run ultrasim in 32 bit mode when running with verimix.

    The message talks about platforms, but it's really the "bitness" of the executable that matters.

    Regards,

    Andrew. 

     

    • Post Points: 20
  • Fri, Jul 5 2013 6:57 AM

    • Thodoros
    • Top 500 Contributor
    • Joined on Tue, Oct 6 2009
    • Patra, Athens Greece
    • Posts 34
    • Points 485
    Re: about 64 - 32 bit binaries (ultrasim64) Reply

     Understood, Thanks!

    • Post Points: 5
Page 1 of 1 (7 items)
Sort Posts:
Started by Thodoros at 03 Jul 2013 04:47 PM. Topic has 6 replies.