Skip to content

Conversation

@quark17
Copy link
Collaborator

@quark17 quark17 commented Oct 22, 2025

The StmtFSMUtil library has been unused since 2008 and was only accidentally included in the open source release. The contents appear to be modules for creating the state register in a way that BSC would notice are mutually exclusive. This is no longer needed, either because BSC's analysis has significantly improved or because BSC has better ways of specifying scheduling relationships (such as rJoinMutuallyExclusive); I don't believe there's any use for the library, so this PR removes it.

This also updates the 'depends.mk' file, which removes the dependencies for StmtFSMUtil, but also updates dependencies for several libraries that have changed since the last update. Unnecessary imports were removed from several libraries in a previous commit, but the depends file was not updated at the time. We might consider adding an automated check of the depends files to the CI.

The StmtFSMUtil library has been unused since 2008, and was removed
from the Makefile build and dependencies, but the source was not
removed.  In 2013, the dependencies were moved to a separate
'depend.mk' file, that can be automatically built.  In doing so,
StmtFSMUtil was added back to the dependencies.  In 2020, when BSC was
released as open source, it was overlooked that StmtFSMUtil was not
needed, and so it was included.  The contents of the library seem to
be modules for creating the state register, in a way that BSC would
notice are mutually exclusive; this is no longer needed, either
because BSC's analysis has improved or because BSC has better ways of
specifying scheduling relationships (such as rJoinMutuallyExclusive).

The 'depends.mk' file has been updated, which removed the dependencies
for StmtFSMUtil, but also updates dependencies for several libraries
that have changed.  In 2020, unnecessary imports were removed for a
number of libraries, but the depends file was not updated at the time.
@quark17 quark17 merged commit 16e75be into B-Lang-org:main Oct 27, 2025
73 checks passed
@quark17 quark17 deleted the rm_stmtfsmutl branch October 27, 2025 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant