• 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. calculator numconv function

Stats

  • Locked Locked
  • Replies 50
  • Subscribers 143
  • Views 26289
  • 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

calculator numconv function

abdurrahman0234
abdurrahman0234 over 4 years ago

When ı plot to calculator, I get error as below. I want to convert binary signal to decimal.Please can help me. 

ERROR (VIVA-3002):expression evaluation failed: val is not legal.
ERROR (VIVA-3002):expression evaluation failed: numConv(VT("/out<0:2>") "dec" t)

  • Cancel
Parents
  • abdurrahman0234
    abdurrahman0234 over 4 years ago

    sorry, when ı send my plot to calculator

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to abdurrahman0234

    I think you should use the analog to digital functions that were referenced in the other thread you posted in after this. The numConv is really for single valued text numbers and will convert them into a different number base. I don't think it's the right solution here.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • abdurrahman0234
    abdurrahman0234 over 4 years ago in reply to abdurrahman0234

    ok. I found it

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to abdurrahman0234

    I'm glad you found it. Hitting help on the form makes it pretty clear, and to be honest you could experiment in less time than it took you to post the question.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • abdurrahman0234
    abdurrahman0234 over 4 years ago in reply to Andrew Beckett

    Sır, my psd graph have infinity noise at the minimum level. İ can not get power spectrum density as in the like Matlab simulation. İ think that it is because of number of sample. İnput is 32 bit with 100 MHz clk frequency. But i can simulate it short time about 10u. İ don't have chance to run it long because of server. U have any idea about this problem

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to abdurrahman0234

    Please don't ask this new question on the end of the old thread (the forum guidelines ask you not to do this).

    So please post a new question, with sufficient information that others can help you (I don't know where to start from your question above, since there's absolutely not enough information to understand what you're doing or what might be wrong, if anything). Perhaps somebody else will be able to figure out what you meant.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • abdurrahman0234
    abdurrahman0234 over 4 years ago in reply to Andrew Beckett

    Sır, dıgıtal bıts are converted to analog bıts, wrongly. For example, digital bit '4' is converted to 226mv and  bit '-1' is converted to 336mv. I dont understand

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • abdurrahman0234
    abdurrahman0234 over 4 years ago in reply to abdurrahman0234

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • abdurrahman0234
    abdurrahman0234 over 4 years ago in reply to abdurrahman0234

    Why negative decimals dont take a negative voltage

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to abdurrahman0234
    abdurrahman0234 said:
    Sır, dıgıtal bıts are converted to analog bıts, wrongly. For example, digital bit '4' is converted to 226mv and  bit '-1' is converted to 336mv. I dont understand

    I don't understand either, mainly because you've posted on the end of an old thread (you had this working before, so I presume it's something different) and you've not provided any supporting information - such as a graph of the results, what you entered on the form, and so on. I can't read your mind!

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • abdurrahman0234
    abdurrahman0234 over 4 years ago in reply to Andrew Beckett

    when ı converted  digital bits to analog bits, ıt takes decimals wrongly for the voltage output. For example, '-1' digital bit should be 840mv or else '-2' decimal should be at the minumum level but graph show not coorect

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • abdurrahman0234
    abdurrahman0234 over 4 years ago in reply to abdurrahman0234

    analog bıts shows not correct for the digital bits.Hı:3360m li:-840m X=(Xİ + Lİ)/2

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • abdurrahman0234
    abdurrahman0234 over 4 years ago in reply to abdurrahman0234

    analog bıts shows not correct for the digital bits.Hı:3360m li:-840m X=(Xİ + Lİ)/2

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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