Home > Community > Tags > SpecMan e-code casting
Login with a Cadence account.
Not a member yet?
Create a permanent login account to make interactions with Cadence more conveniennt.

Register | Membership benefits
Get email delivery of the Cadence blog (individual posts).


* 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: *

SpecMan e-code casting

  • convert string to list of bit

    I'm looking for a way to read a file containing (HEX) numbers. For each file I read, the width of the data is different (can be more than 32/64/128 bits). So I'm looking for a way to convert the string I read from the file to a list of bit variable. In order to make it easy, let say I know the...
    Posted to Functional Verification (Forum) by mmbr on Mon, Jun 3 2013
  • Type conversion from hex String to uint (32 bits) in Specman e

    Hi All, I am trying to read a file which has address and data in hex separated by space as shown below : 0001FF 0x47295784 I am having problem with converting the hex string 0001FFF to uint 32 bits and send this to my driver for further action. I have tried the following syntax from the cadence docs...
    Posted to Functional Verification (Forum) by bharathwajan on Wed, Apr 18 2012
  • Checking casting of an enumerated type

    In my e-code I am retrieving a byte from a menory read and then I cast it into an enumerated type created by myself; however before doing that I would like to check the validity of byte ,i.e. if the byte maps to a valid entry in the enumerated type. Is there a command to check that and issue an error...
    Posted to Functional Verification (Forum) by MaurizioCDN on Wed, Oct 15 2008
Page 1 of 1 (3 items)