Hello We have a Hardware design (A ALU model) implemented in verilog RTL and for the same design we have a reference model in perl. Now I have a testbench in Systemc/C++ and I would like to use this perl reference model with in the c++ code and access the reference model subroutines to get the necessary info for checking the hardware design. At the same time the perl reference model also try to access few functions and variable of the testbench which are in c/c++. How do I get this bidirectional communication work. If I add a perl interpreter in my systemc model and run the reference perl model in one of the systemc threads, then I can only access reference model subroutines but on the other side the reference model cannot access the functions and variables from systemc side (I am not sure). How do I solve this? I really need some sugestions on this. Appreciate your help Thanks madala

In reply to How to use perl High level model of design in systemc by madala

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.