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 --- 254 unchanged lines hidden (view full) --- 263 blocksize >> min_period >> max_period >> data_limit; 264 265 DPRINTF(TrafficGen, "%s, addr %x to %x, size %d," 266 " period %d to %d, %d%% reads\n", 267 mode, start_addr, end_addr, blocksize, min_period, 268 max_period, read_percent); 269 270 |
271 if (blocksize > system->cacheLineSize()) |
272 fatal("TrafficGen %s block size (%d) is larger than " |
273 "system block size (%d)\n", name(), 274 blocksize, system->cacheLineSize()); |
275 276 if (read_percent > 100) 277 fatal("%s cannot have more than 100% reads", name()); 278 279 if (min_period > max_period) 280 fatal("%s cannot have min_period > max_period", name()); 281 282 if (mode == "LINEAR") { --- 159 unchanged lines hidden --- |