3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-22 13:41:27 +00:00

sdc_expand, opensta: typos

This commit is contained in:
Emil J. Tywoniak 2025-11-14 13:30:07 +01:00
parent cee3d0b598
commit 5acb77cab1
2 changed files with 4 additions and 4 deletions

View file

@ -109,7 +109,7 @@ struct OpenstaPass : public Pass
}; };
int ret = run_command(command, process_line); int ret = run_command(command, process_line);
if (ret) if (ret)
log_error("OpenSTA return %d (error)\n", ret); log_error("OpenSTA returned %d (error)\n", ret);
else else
log("sdc_expanded_filename: %s\n", sdc_expanded_filename.c_str()); log("sdc_expanded_filename: %s\n", sdc_expanded_filename.c_str());

View file

@ -4,10 +4,10 @@
USING_YOSYS_NAMESPACE USING_YOSYS_NAMESPACE
PRIVATE_NAMESPACE_BEGIN PRIVATE_NAMESPACE_BEGIN
struct SdcexpandPass : public ScriptPass struct SdcExpandPass : public ScriptPass
{ {
const char* default_sta_cmd = "sta"; const char* default_sta_cmd = "sta";
SdcexpandPass() : ScriptPass("sdc_expand", "run OpenSTA") { } SdcExpandPass() : ScriptPass("sdc_expand", "run OpenSTA") { }
void help() override void help() override
{ {
@ -145,6 +145,6 @@ struct SdcexpandPass : public ScriptPass
} }
run("design -load pre_expand"); run("design -load pre_expand");
} }
} SdcexpandPass; } SdcExpandPass;
PRIVATE_NAMESPACE_END PRIVATE_NAMESPACE_END