ciccio.greco88 Posted November 1, 2012 Report Share Posted November 1, 2012 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. ciccio.greco88 1 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.