Ophidian
 All Classes Namespaces Functions
sta_flute_net_calculator.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_STA_FLUTE_NET_CALCULATOR_H_
22 #define SRC_TIMING_DRIVEN_PLACEMENT_STA_FLUTE_NET_CALCULATOR_H_
23 
24 #include <lemon/list_graph.h>
25 #include "../timing/graph_arcs_timing.h"
26 #include "../timing/graph_nodes_timing.h"
27 #include <unordered_set>
28 
29 #include "../timing/elmore.h"
30 
31 #include "../timing/elmore_second_moment.h"
32 #include "../timing/sta_arc_calculator.h"
33 #include "flute_rc_tree_estimation.h"
34 
35 #include "../timing/sta_arc_calculator.h"
36 #include "../timing/graph.h"
37 #include "../timing/design_constraints.h"
38 
39 namespace ophidian {
40 namespace timingdriven_placement {
41 
43  const timing::graph & m_graph;
44  const placement::placement & m_placement; // to get pin positions
45  const timing::library & m_timing_lib; // to get pin capacitances
46  flute_rc_tree_creator m_flute;
47 
49 
50 public:
51  sta_flute_net_calculator(const timing::graph & graph, const placement::placement & placement, const timing::library & timing_lib, netlist::netlist & netlist);
52  virtual ~sta_flute_net_calculator();
53  void update_net(timing::sta_timing_net_edge_calculator * tnet, entity_system::entity net, timing::graph_nodes_timing &nodes_timing);
54 };
55 
56 } /* namespace timing */
57 } /* namespace ophidian */
58 
59 #endif /* SRC_TIMING_DRIVEN_PLACEMENT_STA_FLUTE_NET_CALCULATOR_H_ */
Definition: graph.h:44
Definition: graph_nodes_timing.h:31
Netlist class.
Definition: netlist.h:41
Definition: sta_arc_calculator.h:62
Placement class.
Definition: placement.h:35
Definition: flute_rc_tree_estimation.h:37
Definition: library.h:44
Definition: sta_arc_calculator.h:52
Definition: sta_flute_net_calculator.h:42