serial_link.hh (13784:1941dc118243) | serial_link.hh (13892:0182a0601f66) |
---|---|
1/* 2 * Copyright (c) 2011-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 --- 42 unchanged lines hidden (view full) --- 51 */ 52 53#ifndef __MEM_SERIAL_LINK_HH__ 54#define __MEM_SERIAL_LINK_HH__ 55 56#include <deque> 57 58#include "base/types.hh" | 1/* 2 * Copyright (c) 2011-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 --- 42 unchanged lines hidden (view full) --- 51 */ 52 53#ifndef __MEM_SERIAL_LINK_HH__ 54#define __MEM_SERIAL_LINK_HH__ 55 56#include <deque> 57 58#include "base/types.hh" |
59#include "mem/mem_object.hh" | 59#include "mem/port.hh" |
60#include "params/SerialLink.hh" | 60#include "params/SerialLink.hh" |
61#include "sim/clocked_object.hh" |
|
61 62/** 63 * SerialLink is a simple variation of the Bridge class, with the ability to 64 * account for the latency of packet serialization. We assume that the 65 * serializer component at the transmitter side does not need to receive the 66 * whole packet to start the serialization. But the deserializer waits for the 67 * complete packet to check its integrity first. 68 */ | 62 63/** 64 * SerialLink is a simple variation of the Bridge class, with the ability to 65 * account for the latency of packet serialization. We assume that the 66 * serializer component at the transmitter side does not need to receive the 67 * whole packet to start the serialization. But the deserializer waits for the 68 * complete packet to check its integrity first. 69 */ |
69class SerialLink : public MemObject | 70class SerialLink : public ClockedObject |
70{ 71 protected: 72 73 /** 74 * A deferred packet stores a packet along with its scheduled 75 * transmission time 76 */ 77 class DeferredPacket --- 251 unchanged lines hidden --- | 71{ 72 protected: 73 74 /** 75 * A deferred packet stores a packet along with its scheduled 76 * transmission time 77 */ 78 class DeferredPacket --- 251 unchanged lines hidden --- |