Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 03/23/2021 in Posts

  1. maehne

    (max. 20 printed)

    You are welcome @omaima!
    1 point
  2. maehne

    (max. 20 printed)

    The cause for the empty VCD file is probably due that you call at the end the wrong closing function sca_close_tabular_trace_file(tfp_vcd) instead of the correct one sca_close_vcd_trace_file(tfp_vcd). As Martin Barnasconi wrote, VCD files are not well suited for tracing TDF, LSF, and ELN signals, because these signals tend to change at each time step. VCD is best suited for discrete event signals.
    1 point
  3. what are the major differences between sc_port and sc_export?
    1 point
  4. Port requires a pointer towards the object containing implementations of methods specified in the interface. Export provides the very pointer that port needs. Port goes from caller towards callee. Export goes from callee towards caller. Pseudo-graphically: // +----------------------------------------------------------------------------------+ // |struct Top : sc_module { | // | | // | initiator.p1.bind( target.x1 );
    1 point
×
×
  • Create New...