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 UVM ML 

Last post Wed, Sep 26 2012 12:20 PM by erezs. 1 replies.
Started by anubhaw2004 26 Sep 2012 06:07 AM. Topic has 1 replies and 1027 views
Page 1 of 1 (2 items)
Sort Posts:
  • Wed, Sep 26 2012 6:07 AM

    • anubhaw2004
    • Not Ranked
    • Joined on Thu, Apr 7 2011
    • Bangalore, Karnataka
    • Posts 2
    • Points 40
    About UVM ML Reply

     Hi ,

     I am trying to use the UVM ML. But i am getting the problem. I am using the following comment to Mapping transction type from "e" to "sv".

      "irun -mltypemap_input <input-file> "

    So please help me how i will pass the input file to this command. Lets take the example my "e" file is xyz.e.

     

    Thanks

    • Post Points: 20
  • Wed, Sep 26 2012 12:20 PM

    • erezs
    • Not Ranked
    • Joined on Mon, Aug 25 2008
    • Rosh Haayin, Israel
    • Posts 1
    • Points 5
    Re: About UVM ML Reply

    Hi,

    The mltypemap utlity comes with elaborate documentation the should give you all the information you'll need to get started. Using the cdnshelp utility, please look for Universal Verification Methodology->UVM Multi-Language Reference->6. mltypemap utllity.

    Basically, you give irun all the input files you need for compilation as usual, and provide a TCL command file containing instructions specific to mltypemap on how to map the needed types. For example. assume you have an e file foo.e that contains struct 'my_pkg::bar' that you want to map to SV.  Your TCL file can look like:

      // TCL file for mapping e type to SV
      maptypes -from_type e:my_pkg::bar -base_name base -to_lang sv

    And the irun command:

      irun foo.e -nosncomp -mltypemap_input do_map.tcl

    Please lt me know if you require additional information.

     

    Erez Singer
    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by anubhaw2004 at 26 Sep 2012 06:07 AM. Topic has 1 replies.