RubyPort.cc (10412:6400a2ab4e22) | RubyPort.cc (10467:dcf27c8220ac) |
---|---|
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 --- 38 unchanged lines hidden (view full) --- 47#include "mem/ruby/slicc_interface/AbstractController.hh" 48#include "mem/ruby/system/RubyPort.hh" 49#include "sim/full_system.hh" 50#include "sim/system.hh" 51 52RubyPort::RubyPort(const Params *p) 53 : MemObject(p), m_version(p->version), m_controller(NULL), 54 m_mandatory_q_ptr(NULL), m_usingRubyTester(p->using_ruby_tester), | 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 --- 38 unchanged lines hidden (view full) --- 47#include "mem/ruby/slicc_interface/AbstractController.hh" 48#include "mem/ruby/system/RubyPort.hh" 49#include "sim/full_system.hh" 50#include "sim/system.hh" 51 52RubyPort::RubyPort(const Params *p) 53 : MemObject(p), m_version(p->version), m_controller(NULL), 54 m_mandatory_q_ptr(NULL), m_usingRubyTester(p->using_ruby_tester), |
55 system(p->system), |
|
55 pioMasterPort(csprintf("%s.pio-master-port", name()), this), 56 pioSlavePort(csprintf("%s.pio-slave-port", name()), this), 57 memMasterPort(csprintf("%s.mem-master-port", name()), this), 58 memSlavePort(csprintf("%s-mem-slave-port", name()), this, 59 p->ruby_system, p->access_phys_mem, -1), 60 gotAddrRanges(p->port_master_connection_count), drainManager(NULL), | 56 pioMasterPort(csprintf("%s.pio-master-port", name()), this), 57 pioSlavePort(csprintf("%s.pio-slave-port", name()), this), 58 memMasterPort(csprintf("%s.mem-master-port", name()), this), 59 memSlavePort(csprintf("%s-mem-slave-port", name()), this, 60 p->ruby_system, p->access_phys_mem, -1), 61 gotAddrRanges(p->port_master_connection_count), drainManager(NULL), |
61 system(p->system), access_phys_mem(p->access_phys_mem) | 62 access_phys_mem(p->access_phys_mem) |
62{ 63 assert(m_version != -1); 64 65 // create the slave ports based on the number of connected ports 66 for (size_t i = 0; i < p->port_slave_connection_count; ++i) { 67 slave_ports.push_back(new MemSlavePort(csprintf("%s.slave%d", name(), 68 i), this, p->ruby_system, access_phys_mem, i)); 69 } --- 500 unchanged lines hidden --- | 63{ 64 assert(m_version != -1); 65 66 // create the slave ports based on the number of connected ports 67 for (size_t i = 0; i < p->port_slave_connection_count; ++i) { 68 slave_ports.push_back(new MemSlavePort(csprintf("%s.slave%d", name(), 69 i), this, p->ruby_system, access_phys_mem, i)); 70 } --- 500 unchanged lines hidden --- |