booksim / booksim2

BookSim 2.0
http://nocs.stanford.edu/booksim.html
Other
255 stars 158 forks source link

inconsistent check for output buffer size and output speedup #12

Closed jyhuang91 closed 7 years ago

jyhuang91 commented 8 years ago

The output buffer checking is inconsistent in iq_router.cpp.

It is initialized to _output_buffer.resize(_outputs), however, two places are checked using expanded_output, which can lead to wrong execution and affect the result if output_speedup is used.