File size: 1,949 Bytes
d1be154
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#include <ot/shell/shell.hpp>

namespace ot {

// Procedure: exec_ops
void Shell::_exec_ops() {
  OT_LOGW(std::quoted("exec_ops"), " is obselete and has no effect");
}

// Procedure: init_timer
void Shell::_init_timer() {
  OT_LOGW(std::quoted("init_timer"), " is obselete and has no effect");
}

// Procedure: set_early_celllib_fpath
void Shell::_set_early_celllib_fpath() {
  OT_LOGW(
    std::quoted("set_early_celllib_fpath"), " is obselete; use ", std::quoted("read_celllib") 
  );
  if(std::filesystem::path path; _is >> path) {
    _timer.read_celllib(std::move(path), MIN);
  }
}

// Procedure: set_late_celllib_fpath
void Shell::_set_late_celllib_fpath() {
  OT_LOGW(
    std::quoted("set_late_celllib_fpath"), " is obselete; use ", std::quoted("read_celllib")
  );
  if(std::filesystem::path path; _is >> path) {
    _timer.read_celllib(std::move(path), MAX);
  }
}

// Procedure: set_verilog_fpath
void Shell::_set_verilog_fpath() {
  OT_LOGW(
    std::quoted("set_verilog_fpath"), " is obselete; use ", std::quoted("read_verilog")
  );
  if(std::filesystem::path path; _is >> path) {
    _timer.read_verilog(std::move(path));
  }
}

// Procedure: set_spef_fpath
void Shell::_set_spef_fpath() {
  OT_LOGW(
    std::quoted("set_spef_fpath"), " is obselete; use ", std::quoted("read_spef")
  );
  if(std::filesystem::path path; _is >> path) {
    _timer.read_spef(std::move(path));
  }
}

// Procedure: set_timing_fpath
void Shell::_set_timing_fpath() {
  OT_LOGW(
    std::quoted("set_timing_fpath"), " is obselete; use ", std::quoted("read_timing")
  );
  if(std::filesystem::path path; _is >> path) {
    _timer.read_timing(std::move(path));
  }
}

// Procedure: report_timer
void Shell::_report_timer() {
  OT_LOGW(
    std::quoted("report_timer"), " is obselete; use ", std::quoted("dump_timer")
  );
  _timer.dump_timer(_os);
}

};  // end of namespace ot. -----------------------------------------------------------------------