Deleted Added
sdiff udiff text old ( 13784:1941dc118243 ) new ( 13892:0182a0601f66 )
full compact
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/port.hh"
60#include "params/SerialLink.hh"
61#include "sim/clocked_object.hh"
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 */
70class SerialLink : public ClockedObject
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 ---