random.cc (10905:a6ca6831e775) | random.cc (11793:ef606668d247) |
---|---|
1/* 2 * Copyright (c) 2014 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 --- 28 unchanged lines hidden (view full) --- 37 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 38 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 39 * 40 * Authors: Nathan Binkert 41 * Ali Saidi 42 * Andreas Hansson 43 */ 44 | 1/* 2 * Copyright (c) 2014 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 --- 28 unchanged lines hidden (view full) --- 37 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 38 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 39 * 40 * Authors: Nathan Binkert 41 * Ali Saidi 42 * Andreas Hansson 43 */ 44 |
45#include "base/random.hh" 46 |
|
45#include <sstream> 46 47#include "base/misc.hh" | 47#include <sstream> 48 49#include "base/misc.hh" |
48#include "base/random.hh" | |
49#include "sim/serialize.hh" 50 51Random::Random() 52{ 53 // default random seed 54 init(5489); 55} 56 --- 43 unchanged lines hidden --- | 50#include "sim/serialize.hh" 51 52Random::Random() 53{ 54 // default random seed 55 init(5489); 56} 57 --- 43 unchanged lines hidden --- |