cpu: Fix TrafficGen message format
Fix erroneous message format for fatal error. Previously, code did not have type indicator (% instead of %d). Also removed redundant fatal check. Ran modified sweep.py with in range and out of range values to test.
This commit is contained in:
parent
5275c9d740
commit
9b4d8030e6
1 changed files with 2 additions and 7 deletions
|
@ -331,13 +331,8 @@ TrafficGen::parseConfig()
|
|||
blocksize, page_size);
|
||||
|
||||
if (nbr_of_banks_util > nbr_of_banks_DRAM)
|
||||
fatal("Attempting to use more banks (%) than "
|
||||
"what is available (%)\n",
|
||||
nbr_of_banks_util, nbr_of_banks_DRAM);
|
||||
|
||||
if (nbr_of_banks_util > nbr_of_banks_DRAM)
|
||||
fatal("Attempting to use more banks (%) than "
|
||||
"what is available (%)\n",
|
||||
fatal("Attempting to use more banks (%d) than "
|
||||
"what is available (%d)\n",
|
||||
nbr_of_banks_util, nbr_of_banks_DRAM);
|
||||
|
||||
// count the number of sequential packets to
|
||||
|
|
Loading…
Reference in a new issue