BasicRouter.hh (9274:ba635023d4bb) | BasicRouter.hh (9465:4ae4f3f4b870) |
---|---|
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; --- 20 unchanged lines hidden (view full) --- 29#ifndef __MEM_RUBY_NETWORK_BASIC_ROUTER_HH__ 30#define __MEM_RUBY_NETWORK_BASIC_ROUTER_HH__ 31 32#include <iostream> 33#include <string> 34#include <vector> 35 36#include "params/BasicRouter.hh" | 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; --- 20 unchanged lines hidden (view full) --- 29#ifndef __MEM_RUBY_NETWORK_BASIC_ROUTER_HH__ 30#define __MEM_RUBY_NETWORK_BASIC_ROUTER_HH__ 31 32#include <iostream> 33#include <string> 34#include <vector> 35 36#include "params/BasicRouter.hh" |
37#include "sim/sim_object.hh" | 37#include "sim/clocked_object.hh" |
38 | 38 |
39class BasicRouter : public SimObject | 39class BasicRouter : public ClockedObject |
40{ 41 public: 42 typedef BasicRouterParams Params; 43 BasicRouter(const Params *p); 44 const Params *params() const { return (const Params *)_params; } 45 46 void init(); 47 --- 20 unchanged lines hidden --- | 40{ 41 public: 42 typedef BasicRouterParams Params; 43 BasicRouter(const Params *p); 44 const Params *params() const { return (const Params *)_params; } 45 46 void init(); 47 --- 20 unchanged lines hidden --- |