Deleted Added
sdiff udiff text old ( 10000:99bd071911cf ) new ( 10021:9d6d630f830e )
full compact
1/*
2 * Copyright (c) 2013 ARM Limited
3 * Copyright (c) 2013 Cornell University
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

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

67 * The ClockDomain provides clock to group of clocked objects bundled
68 * under the same clock domain. The clock domains, in turn, are
69 * grouped into voltage domains. The clock domains provide support for
70 * a hierarchial structure with source and derived domains.
71 */
72class ClockDomain : public SimObject
73{
74
75 protected:
76
77 /**
78 * Pre-computed clock period in ticks. This is populated by the
79 * inheriting classes based on how their period is determined.
80 */
81 Tick _clockPeriod;
82

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

100 public:
101
102 typedef ClockDomainParams Params;
103 ClockDomain(const Params *p, VoltageDomain *voltage_domain) :
104 SimObject(p),
105 _clockPeriod(0),
106 _voltageDomain(voltage_domain) {}
107
108 /**
109 * Get the clock period.
110 *
111 * @return Clock period in ticks
112 */
113 inline Tick clockPeriod() const { return _clockPeriod; }
114
115 /**

--- 95 unchanged lines hidden ---