File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,6 +86,9 @@ class Dft
8686 // Prints to stdout
8787 void reportDftConfig () const ;
8888
89+ // Performs scan optimizations on the netlist
90+ void scanOpt ();
91+
8992 private:
9093 // If we need to run pre_dft to create the internal state
9194 bool need_to_run_pre_dft_;
Original file line number Diff line number Diff line change @@ -177,4 +177,8 @@ std::vector<std::unique_ptr<ScanChain>> Dft::scanArchitect()
177177 return scan_architect->getScanChains ();
178178}
179179
180+ void Dft::scanOpt () {
181+ logger_->warn (utl::DFT, 14 , " Scan Opt is not currently implemented" );
182+ }
183+
180184} // namespace dft
Original file line number Diff line number Diff line change @@ -119,4 +119,9 @@ void report_dft_config() {
119119 getDft ()->reportDftConfig ();
120120}
121121
122+ void scan_opt ()
123+ {
124+ getDft ()->scanOpt ();
125+ }
126+
122127%} // inline
Original file line number Diff line number Diff line change @@ -96,3 +96,15 @@ proc report_dft_config { args } {
9696 sta::parse_key_args " report_dft_config" args keys {} flags {}
9797 dft::report_dft_config
9898}
99+
100+
101+ sta::define_cmd_args " scan_opt" { }
102+ proc scan_opt { args } {
103+ sta::parse_key_args " scan_opt" args \
104+ keys {} flags {}
105+
106+ if { [ord::get_db_block] == " NULL" } {
107+ utl::error DFT 13 " No design block found."
108+ }
109+ dft::scan_opt
110+ }
You can’t perform that action at this time.
0 commit comments