Jump to content


  • Content count

  • Joined

  • Last visited

  1. kjhyland

    VCD dump with Hierarchy systemc-2.3.2

    Just to confirm for other readers - the macros work as described. sc_trace(tracef, dpu.idu.weight_reader.m_traffic_gen._STATE_, "dpu.idu.weight_reader.m_traffic_gen._STATE_"); equivalent to TRACE_VAR(tracef,dpu.idu.weight_reader.m_traffic_gen._STATE_); thanks again Eyck and Ameya, K
  2. kjhyland

    VCD dump with Hierarchy systemc-2.3.2

    Thanks Eyck - you've saved me my next step. Much appreciated. Kevin
  3. kjhyland

    VCD dump with Hierarchy systemc-2.3.2

    Hi Ameya - I did to access the signal, but not in the name string. I copied the hierarchy of the probe to the name string and, to my surpirse, the hierarchy was dumped. originally I had sc_trace(_trace_, top.dpu.idu.weight_reader.m_traffic_gen._STATE_, "traffic_reader_state"); which provided no hierarchy. I changed it to this, and it worked! sc_trace(_trace_, top.dpu.idu.weight_reader.m_traffic_gen._STATE_, "top.dpu.idu.weight_reader.m_traffic_gen._STATE_"); thanks for the prompt - very much appreciated. thanks, Kevin
  4. Hi - I am tracing variables from a system C model but the hierarchy of the class structure is not mirrored in the vcd file. All variables are collected flat under a SystemC module. Am I doing something wrong? I've tried enabling the tracing of the vars from the top level and from within the class hierarchy itself, but it doesn't seem to make a difference. thanks, K