1/* 2 * Copyright (c) 2012-2013 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 317 unchanged lines hidden (view full) --- 326 nbr_of_ranks; 327 328 if (stride_size > page_size) 329 warn("DRAM generator stride size (%d) is greater " 330 "than page size (%d) of the memory\n", 331 blocksize, page_size); 332 333 if (nbr_of_banks_util > nbr_of_banks_DRAM) |
334 fatal("Attempting to use more banks (%d) than " 335 "what is available (%d)\n", |
336 nbr_of_banks_util, nbr_of_banks_DRAM); 337 |
338 // count the number of sequential packets to 339 // generate 340 unsigned int num_seq_pkts = 1; 341 342 if (stride_size > blocksize) { 343 num_seq_pkts = divCeil(stride_size, blocksize); 344 DPRINTF(TrafficGen, "stride size: %d " 345 "block size: %d, num_seq_pkts: %d\n", --- 189 unchanged lines hidden --- |