• 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. Functional Verification
  3. Creating e Wrapper for system verilog code

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 65
  • Views 16482
  • 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

Creating e Wrapper for system verilog code

Selvavinayak
Selvavinayak over 12 years ago

 Hi all,

    I am try to creating eRM Wrapper for  sv Environment. In that environment systemverilog tasks/function which is called from specman e methods. I have better knowledge in both Verification component. but i need how to interfere this both Verification component. if any body have an Idea about this. share your knowledge this will helpful for me to update

example code:

In Sv:

    function void m(bit [`ADDR_SIZE-1:0] addr,bit [`DATA_SIZE-1:0] data);

    $display("ADDR: %d",addr);
    $display("DATA: %d",data);
    $display("iam here");
    endfunction

In eVC:

 .......here, how can i call above systemverilog function ?....

 

Thanks & Bestregards,

selvavinayakam.na

 

  • Cancel
  • StephenH
    StephenH over 12 years ago

    I'm not sure if I fully understood your intentions... There is a simple way to call individual SV functions from e, but you can also wrap complete UVCs so that the e env can instantiate and control a UVM-SV sequencer, driving sequences and transactions from e. There are examples for both, supplied in the tool installation as part of the SoC Verification Kit.

    For the UVC wrapping, the example files live under <incisive-install-dir>/kits/VerificationKit/soc_verification_lib/mixed_ex_lib/e_over_sv_class_lib/

    You can find a self-paced workshop with labs here: <incisive-install-dir>/doc/kit_topics/uvm_mixed/e_over_sv/workshop/Integrating_SV_UVC_in_e.pdf

     

    If however you just want to do a simple function call interface, take a look at "Using e Method Ports with SystemVerilog Functions and Tasks" in the cdnshelp tool. It's under the hierarchy:

    Specman Functional Verification ->  Specman Integrators Guide -> Integrating the e testbench with SystemVerilog

     

    Hope this helps. 

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Selvavinayak
    Selvavinayak over 12 years ago

    Hello Stephen, Thanks for your reply.

      I got key Idea about calling systemverilog function thro' e wrapper from a cdnshelp &[Using e Method Ports with SystemVerilog Functions and Tasks].Thanks alot for ur help

    Best Regards,

    selvavinayakam.na

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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