• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

sst/elements/power/IntSim-interface.h

00001 // Copyright 2009-2010 Sandia Corporation. Under the terms
00002 // of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S.
00003 // Government retains certain rights in this software.
00004 // 
00005 // Copyright (c) 2009-2010, Sandia Corporation
00006 // All rights reserved.
00007 // 
00008 // This file is part of the SST software package. For license
00009 // information, see the LICENSE file in the top level directory of the
00010 // distribution.
00011 
00012 #ifndef INTSIM_H
00013 #define INTSIM_H
00014 
00015 //#include "definitions.h"
00016 //#include "parameters.h"
00017 //#include "energy-interface.h"
00018 #include "interface.h"
00019 
00020 #include "../sst/core/techModels/libIntSim/intsim.h"
00021 #include "../sst/core/techModels/libIntSim/chip.h"
00022 #include "../sst/core/techModels/libIntSim/parameters.h"
00023 
00024 
00025 namespace SST {
00026 
00027 class IntSim_library 
00028 {
00029   public:
00030    IntSim_library(parameters_tech_t device_tech, double area, double num_transistors);
00031 
00032   virtual ~IntSim_library() {}
00033 
00034   //virtual double get_area(void);
00035   // virtual double get_length(void);
00036    virtual void leakage_feedback(parameters_tech_t device_tech);
00037 
00038   public:
00039   int subtype;
00040   int clock_option;
00041   intsim_chip_t *chip;
00042   intsim_param_t *param;
00043   
00044 
00045   // IntSim main algorithm
00046   void IntSim(intsim_chip_t *chip, intsim_param_t *param);
00047 
00048   friend class boost::serialization::access;
00049         template<class Archive>
00050         void serialize(Archive & ar, const unsigned int version );
00051 
00052 };
00053 
00054 }
00055 #endif

Generated on Fri Oct 22 2010 11:02:25 for SST by  doxygen 1.7.1