BasicLink.hh (12492:4e76959883a6) | BasicLink.hh (13773:fc2f9a60cb2d) |
---|---|
1/* 2 * Copyright (c) 2011 Advanced Micro Devices, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 19 unchanged lines hidden (view full) --- 28 29#ifndef __MEM_RUBY_NETWORK_BASICLINK_HH__ 30#define __MEM_RUBY_NETWORK_BASICLINK_HH__ 31 32#include <iostream> 33#include <string> 34#include <vector> 35 | 1/* 2 * Copyright (c) 2011 Advanced Micro Devices, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 19 unchanged lines hidden (view full) --- 28 29#ifndef __MEM_RUBY_NETWORK_BASICLINK_HH__ 30#define __MEM_RUBY_NETWORK_BASICLINK_HH__ 31 32#include <iostream> 33#include <string> 34#include <vector> 35 |
36#include "mem/ruby/network/BasicRouter.hh" 37#include "mem/ruby/slicc_interface/AbstractController.hh" |
|
36#include "params/BasicExtLink.hh" 37#include "params/BasicIntLink.hh" 38#include "params/BasicLink.hh" | 38#include "params/BasicExtLink.hh" 39#include "params/BasicIntLink.hh" 40#include "params/BasicLink.hh" |
39#include "mem/ruby/network/BasicRouter.hh" 40#include "mem/ruby/network/Topology.hh" 41#include "mem/ruby/slicc_interface/AbstractController.hh" | |
42#include "sim/sim_object.hh" 43 | 41#include "sim/sim_object.hh" 42 |
43class Topology; 44 |
|
44class BasicLink : public SimObject 45{ 46 public: 47 typedef BasicLinkParams Params; 48 BasicLink(const Params *p); 49 const Params *params() const { return (const Params *)_params; } 50 51 void init(); --- 37 unchanged lines hidden --- | 45class BasicLink : public SimObject 46{ 47 public: 48 typedef BasicLinkParams Params; 49 BasicLink(const Params *p); 50 const Params *params() const { return (const Params *)_params; } 51 52 void init(); --- 37 unchanged lines hidden --- |