File tree Expand file tree Collapse file tree 3 files changed +2
-17
lines changed Expand file tree Collapse file tree 3 files changed +2
-17
lines changed Original file line number Diff line number Diff line change 11OBJS += passes/cmds/sdc/sdc.o
22
3- $(eval $(call add_share_file,share/sdc,passes/cmds/sdc/stubs.sdc))
3+ $(eval $(call add_share_file,share/sdc,passes/cmds/sdc/graph- stubs.sdc))
Original file line number Diff line number Diff line change 1- # with Tcl's eager evaluation, we will still eval args if they're unused by a stub
2- proc stub {function_name} {
3- proc $function_name {args} " puts \" stubbed $function_name \" "
4- }
5-
6- proc is_suppressed {args} {
7- return 0
8- }
9-
10- # stub current_design
11- # stub ys_track_typed_key
12- stub ys_track_untyped_key
13- stub ys_err_key
14- stub ys_err_flag
15-
161proc unknown {args} {
172 global sdc_call_index
183 global sdc_calls
Original file line number Diff line number Diff line change @@ -805,7 +805,7 @@ struct SdcPass : public Pass {
805805 SDCInterpreter& sdc = SDCInterpreter::get ();
806806 Tcl_Interp *interp = sdc.fresh_interp (design);
807807 Tcl_Preserve (interp);
808- std::string stub_path = " +/sdc/stubs.sdc" ;
808+ std::string stub_path = " +/sdc/graph- stubs.sdc" ;
809809 rewrite_filename (stub_path);
810810 if (Tcl_EvalFile (interp, stub_path.c_str ()) != TCL_OK)
811811 log_cmd_error (" SDC interpreter returned an error in stub preamble file: %s\n " , Tcl_GetStringResult (interp));
You can’t perform that action at this time.
0 commit comments