Closed rseac closed 4 years ago
A rework of identifying member variables of an sc_module
would be a better approach.
Using AST matchers, one could go through all member declarations and identify the different types eliminating the need for multiple passes as currently done using Find*
.
sc_signal_inout_if
, which would work for sc_buffer
and sc_signal
. The only thing is that it would be internally representated in the sc_signal datastructures.
A general way to identify member instances of type
sc_buffer
requires a change toFindSignals.cpp
such that the check is to see if there is a member variable whose declaration has a base class ofsc_signal
.