port.cc (13771:10d990934f15) port.cc (13782:9f6654f478e2)
1/*
2 * Copyright (c) 2011-2012,2015,2017 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

--- 35 unchanged lines hidden (view full) ---

44
45/**
46 * @file
47 * Port Object Declaration.
48 */
49
50#include "sim/port.hh"
51
1/*
2 * Copyright (c) 2011-2012,2015,2017 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

--- 35 unchanged lines hidden (view full) ---

44
45/**
46 * @file
47 * Port Object Declaration.
48 */
49
50#include "sim/port.hh"
51
52Port::Port(const std::string& _name, PortID _id) : portName(_name), id(_id) {}
52Port::Port(const std::string& _name, PortID _id) :
53 portName(_name), id(_id), _connected(false)
54{}
53Port::~Port() {}
55Port::~Port() {}