Jump to content

Karthik Rao

Members
  • Content count

    2
  • Joined

  • Last visited

  1. Karthik Rao

    Changing the width in sc_bv<W>

    Hello Everyone, Thank you for your insights. I looked up at the LRM later and found that it has to be a constant and also cannot be modified after end_of_elaboration. To achieve my task I later found another method which does not involve making the width configurable. Best Regards Karthik
  2. Karthik Rao

    Changing the width in sc_bv<W>

    Hello Everyone, In the existing code, the width of the WdwType is defined as shown below. Here WDW_SIZE is a macro. typedef sc_bv<WDW_SIZE> WdwType; But I want the width to be configurable. So I have declared a structure variable of datatype unsigned int and want to do the same. Can anybody please let me know how this can be done? Thank you. Regards Karthik.
×