thermal_model.hh (11800:54436a1784dc) | thermal_model.hh (11899:d04da1f9c961) |
---|---|
1/* 2 * Copyright (c) 2015 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 --- 33 unchanged lines hidden (view full) --- 42 43#include <vector> 44 45#include "params/ThermalCapacitor.hh" 46#include "params/ThermalModel.hh" 47#include "params/ThermalReference.hh" 48#include "params/ThermalResistor.hh" 49#include "sim/clocked_object.hh" | 1/* 2 * Copyright (c) 2015 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 --- 33 unchanged lines hidden (view full) --- 42 43#include <vector> 44 45#include "params/ThermalCapacitor.hh" 46#include "params/ThermalModel.hh" 47#include "params/ThermalReference.hh" 48#include "params/ThermalResistor.hh" 49#include "sim/clocked_object.hh" |
50#include "sim/power/thermal_domain.hh" |
|
50#include "sim/power/thermal_entity.hh" | 51#include "sim/power/thermal_entity.hh" |
52#include "sim/power/thermal_node.hh" |
|
51#include "sim/sim_object.hh" 52 | 53#include "sim/sim_object.hh" 54 |
53class ThermalDomain; | |
54 | 55 |
55 | |
56/** | 56/** |
57 * A ThermalNode is used to connect thermal entities, such as 58 * resistors, capacitors, references and domains. It is the circuital 59 * equivalent to a voltage node. 60 */ 61class ThermalNode : public SimObject 62{ 63 public: 64 typedef SimObjectParams Params; 65 ThermalNode(const Params *p); 66 67 int id; 68 bool isref; 69 double temp; 70}; 71 72/** | |
73 * A ThermalResistor is used to model a thermal resistance between two 74 * thermal domains. This domains can be either a reference (fixed temp.) or 75 * a heat producer (power source). 76 */ 77class ThermalResistor : public SimObject, public ThermalEntity 78{ 79 public: 80 typedef ThermalResistorParams Params; --- 125 unchanged lines hidden --- | 57 * A ThermalResistor is used to model a thermal resistance between two 58 * thermal domains. This domains can be either a reference (fixed temp.) or 59 * a heat producer (power source). 60 */ 61class ThermalResistor : public SimObject, public ThermalEntity 62{ 63 public: 64 typedef ThermalResistorParams Params; --- 125 unchanged lines hidden --- |