RubyDirectedTester.cc (11800:54436a1784dc) RubyDirectedTester.cc (12129:879f7ad9e246)
1/*
2 * Copyright (c) 2012 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

--- 33 unchanged lines hidden (view full) ---

42#include "cpu/testers/directedtest/RubyDirectedTester.hh"
43
44#include "base/trace.hh"
45#include "cpu/testers/directedtest/DirectedGenerator.hh"
46#include "debug/DirectedTest.hh"
47#include "sim/sim_exit.hh"
48
49RubyDirectedTester::RubyDirectedTester(const Params *p)
1/*
2 * Copyright (c) 2012 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

--- 33 unchanged lines hidden (view full) ---

42#include "cpu/testers/directedtest/RubyDirectedTester.hh"
43
44#include "base/trace.hh"
45#include "cpu/testers/directedtest/DirectedGenerator.hh"
46#include "debug/DirectedTest.hh"
47#include "sim/sim_exit.hh"
48
49RubyDirectedTester::RubyDirectedTester(const Params *p)
50 : MemObject(p), directedStartEvent(this),
50 : MemObject(p),
51 directedStartEvent([this]{ wakeup(); }, "Directed tick",
52 false, Event::CPU_Tick_Pri),
51 m_requests_to_complete(p->requests_to_complete),
52 generator(p->generator)
53{
54 m_requests_completed = 0;
55
56 // create the ports
57 for (int i = 0; i < p->port_cpuPort_connection_count; ++i) {
58 ports.push_back(new CpuPort(csprintf("%s-port%d", name(), i),

--- 85 unchanged lines hidden ---
53 m_requests_to_complete(p->requests_to_complete),
54 generator(p->generator)
55{
56 m_requests_completed = 0;
57
58 // create the ports
59 for (int i = 0; i < p->port_cpuPort_connection_count; ++i) {
60 ports.push_back(new CpuPort(csprintf("%s-port%d", name(), i),

--- 85 unchanged lines hidden ---