3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-09 17:31:59 +00:00

sdc: specialize stubs for the call graph

This commit is contained in:
Emil J. Tywoniak 2025-10-08 13:49:53 +02:00
parent dead2aa03f
commit a4dc0156bb
3 changed files with 2 additions and 17 deletions

View file

@ -805,7 +805,7 @@ struct SdcPass : public Pass {
SDCInterpreter& sdc = SDCInterpreter::get();
Tcl_Interp *interp = sdc.fresh_interp(design);
Tcl_Preserve(interp);
std::string stub_path = "+/sdc/stubs.sdc";
std::string stub_path = "+/sdc/graph-stubs.sdc";
rewrite_filename(stub_path);
if (Tcl_EvalFile(interp, stub_path.c_str()) != TCL_OK)
log_cmd_error("SDC interpreter returned an error in stub preamble file: %s\n", Tcl_GetStringResult(interp));