3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-22 05:36:43 +00:00

opensta: refactor default command

This commit is contained in:
Emil J. Tywoniak 2025-11-14 16:06:46 +01:00
parent 526c5e915b
commit 3651eecdf8
2 changed files with 5 additions and 5 deletions

View file

@ -1,12 +1,12 @@
#include "kernel/rtlil.h"
#include "kernel/log.h"
#include "techlibs/common/opensta.h"
USING_YOSYS_NAMESPACE
PRIVATE_NAMESPACE_BEGIN
struct SdcExpandPass : public ScriptPass
{
const char* default_sta_cmd = "sta";
SdcExpandPass() : ScriptPass("sdc_expand", "run OpenSTA") { }
void help() override
@ -18,7 +18,7 @@ struct SdcExpandPass : public ScriptPass
// TODO
log("\n");
log(" -exe <command>\n");
log(" use <command> to run OpenSTA instead of \"%s\"\n", default_sta_cmd);
log(" use <command> to run OpenSTA instead of \"%s\"\n", default_opensta_cmd);
log("\n");
log(" -sdc-in <filename>\n");
log(" expand SDC file <filename>\n");