Deleted Added
sdiff udiff text old ( 9722:2ddec848b8e8 ) new ( 9814:7ad2b0186a32 )
full compact
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 (port.deviceBlockSize() &&
272 blocksize > port.deviceBlockSize())
273 fatal("TrafficGen %s block size (%d) is larger than "
274 "port block size (%d)\n", name(),
275 blocksize, port.deviceBlockSize());
276
277 if (read_percent > 100)
278 fatal("%s cannot have more than 100% reads", name());
279
280 if (min_period > max_period)
281 fatal("%s cannot have min_period > max_period", name());
282
283 if (mode == "LINEAR") {

--- 159 unchanged lines hidden ---