Ophidian
 All Classes Namespaces Functions
flute_rc_tree_estimation.h
1 /*
2  * Copyright 2016 Ophidian
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
10 
11  http://www.apache.org/licenses/LICENSE-2.0
12 
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
19  */
20 
21 #ifndef SRC_TIMING_DRIVEN_PLACEMENT_FLUTE_RC_TREE_ESTIMATION_H_
22 #define SRC_TIMING_DRIVEN_PLACEMENT_FLUTE_RC_TREE_ESTIMATION_H_
23 
24 #include "../interconnection/rc_tree.h"
25 #include "../placement/placement.h"
26 #include "../timing/library.h"
27 
28 #include <unordered_map>
29 
30 #include <boost/units/systems/si.hpp>
31 
32 namespace ophidian {
33 namespace timingdriven_placement {
34 
35 
36 
38  struct params {
39  boost::units::quantity< boost::units::si::resistance > resistance_per_micron;
40  boost::units::quantity< boost::units::si::capacitance > capacitance_per_micron;
41  };
42  params m_params;
43  public:
45  virtual ~flute_rc_tree_creator();
46  void resistance_per_microns(boost::units::quantity< boost::units::si::resistance > resistance);
47  void capacitance_per_micron(boost::units::quantity< boost::units::si::capacitance > capacitance);
48 
49  std::unordered_map<entity_system::entity, interconnection::rc_tree::capacitor_id> create_tree(const placement::placement& placement,
50  const entity_system::entity net, interconnection::rc_tree& rc_tree, const timing::library & library);
51 
52 };
53 
54 } /* namespace timingdriven_placement */
55 } /* namespace ophidian */
56 
57 #endif /* SRC_TIMING_DRIVEN_PLACEMENT_FLUTE_RC_TREE_ESTIMATION_H_ */
58 
Placement class.
Definition: placement.h:35
RC Tree Class.
Definition: rc_tree.h:78
Definition: flute_rc_tree_estimation.h:37
Definition: library.h:44