Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/01/2012 in all areas

  1. my code has a waring when running : Warning: (W5) out of bounds: sc_uint[_base]: value does not fit into a length of 4 In file: ../../../../../src/sysc/datatypes/int/sc_uint_base.cpp:374 In process: tg0.traffic_generator_thread @ 0 s what is the reason? Is it a bug? Reading a post in the old forum KMLM List i have seen that a user has solved this problem using gdb debugger writing "sc_report_handler::force(SC_INTERRUPT);" in the sc_main of his code and putting a breakpoint for sc_interrupt_here. i've tried to do this, but i don't know how to fix the breakpoint, in fact i write the command " b sc_interrupt_here" but i receive the message "Function "sc_interrupt_here()" not defined." what is the correct method to do this? or how can i solve the warning with another method? Thanks.
    1 point
  2. Gurunath, Torsten, The "name" parameter needs to be passed as const-reference const std::string&, since the stringstream returns a temporary object which can't be bound to a non-const reference. The "inline friend definition" used by Gurunath does not define a member function. It should work as expected and will be selected via argument-dependent lookup. Greetings from Oldenburg, Philipp
    1 point
×
×
  • Create New...