Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion techlibs/common/opensta.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "kernel/rtlil.h"
#include "kernel/log.h"
#include "techlibs/common/opensta.h"

Check failure on line 3 in techlibs/common/opensta.cc

View workflow job for this annotation

GitHub Actions / test-compile (ubuntu-latest, clang-10)

'techlibs/common/opensta.h' file not found

Check failure on line 3 in techlibs/common/opensta.cc

View workflow job for this annotation

GitHub Actions / test-compile (ubuntu-latest, gcc-10)

techlibs/common/opensta.h: No such file or directory

Check failure on line 3 in techlibs/common/opensta.cc

View workflow job for this annotation

GitHub Actions / test-compile (ubuntu-latest, clang-19)

'techlibs/common/opensta.h' file not found

Check failure on line 3 in techlibs/common/opensta.cc

View workflow job for this annotation

GitHub Actions / test-compile (ubuntu-latest, gcc-14)

techlibs/common/opensta.h: No such file or directory

Check failure on line 3 in techlibs/common/opensta.cc

View workflow job for this annotation

GitHub Actions / test-compile (macos-latest, clang-19)

'techlibs/common/opensta.h' file not found

Check failure on line 3 in techlibs/common/opensta.cc

View workflow job for this annotation

GitHub Actions / test-compile (macos-15-intel, clang-19)

'techlibs/common/opensta.h' file not found

USING_YOSYS_NAMESPACE
PRIVATE_NAMESPACE_BEGIN
Expand All @@ -16,7 +16,9 @@
log("\n");
log(" opensta [options]\n");
log("\n");
// TOOD
log("Expand SDC file with OpenSTA.\n");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idle bikeshedding: ABC9 has the abc9_exe pass which is in charge of actually running ABC; I wonder if it would be more useful to call this opensta_exe, as it does a similar task.

(No is a valid answer)

log("Internal command like abc. Requires a well-formed design.\n");
log("For general SDC expansion with OpenSTA, use the sdc_expand command.\n");
log("\n");
log(" -exe <command>\n");
log(" use <command> to run OpenSTA instead of \"%s\"\n", default_opensta_cmd);
Expand Down
5 changes: 3 additions & 2 deletions techlibs/common/sdc_expand.cc
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
#include "kernel/rtlil.h"
#include "kernel/log.h"
#include "techlibs/common/opensta.h"

Check failure on line 3 in techlibs/common/sdc_expand.cc

View workflow job for this annotation

GitHub Actions / test-compile (ubuntu-latest, clang-10)

'techlibs/common/opensta.h' file not found

Check failure on line 3 in techlibs/common/sdc_expand.cc

View workflow job for this annotation

GitHub Actions / test-compile (macos-latest, clang-19)

'techlibs/common/opensta.h' file not found

Check failure on line 3 in techlibs/common/sdc_expand.cc

View workflow job for this annotation

GitHub Actions / test-compile (macos-15-intel, clang-19)

'techlibs/common/opensta.h' file not found

USING_YOSYS_NAMESPACE
PRIVATE_NAMESPACE_BEGIN

struct SdcExpandPass : public ScriptPass
{
SdcExpandPass() : ScriptPass("sdc_expand", "run OpenSTA") { }
SdcExpandPass() : ScriptPass("sdc_expand", "expand SDC design with opensta") { }

void help() override
{
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
log("\n");
log(" sdc_expand [options]\n");
log("\n");
// TODO
log("Expand SDC file with opensta based on arbitrary current design.\n");
log("Changes the design but only temporarily.\n");
log("\n");
log(" -exe <command>\n");
log(" use <command> to run OpenSTA instead of \"%s\"\n", default_opensta_cmd);
Expand Down
Loading