serial_link.hh (11185:0ff78be3bc67) serial_link.hh (11551:d24ad08b22b0)
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

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

307 SerialLinkSlavePort slavePort;
308
309 /** Master port of the serial_link. */
310 SerialLinkMasterPort masterPort;
311
312 /** Number of parallel lanes in this serial link */
313 unsigned num_lanes;
314
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

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

307 SerialLinkSlavePort slavePort;
308
309 /** Master port of the serial_link. */
310 SerialLinkMasterPort masterPort;
311
312 /** Number of parallel lanes in this serial link */
313 unsigned num_lanes;
314
315 /** Speed of each link (Gb/s) in this serial link */
316 uint64_t link_speed;
317
315 public:
316
317 virtual BaseMasterPort& getMasterPort(const std::string& if_name,
318 PortID idx = InvalidPortID);
319 virtual BaseSlavePort& getSlavePort(const std::string& if_name,
320 PortID idx = InvalidPortID);
321
322 virtual void init();
323
324 typedef SerialLinkParams Params;
325
326 SerialLink(SerialLinkParams *p);
327};
328
329#endif //__MEM_SERIAL_LINK_HH__
318 public:
319
320 virtual BaseMasterPort& getMasterPort(const std::string& if_name,
321 PortID idx = InvalidPortID);
322 virtual BaseSlavePort& getSlavePort(const std::string& if_name,
323 PortID idx = InvalidPortID);
324
325 virtual void init();
326
327 typedef SerialLinkParams Params;
328
329 SerialLink(SerialLinkParams *p);
330};
331
332#endif //__MEM_SERIAL_LINK_HH__