|
scc 2025.09
SystemC components library
|
base class for components having a reset More...
#include <resetable.h>

Public Member Functions | |
| virtual void | reset_start () |
| distributes the begin of the reset to all registered components and set the reset state | |
| virtual void | reset_stop () |
| distributes the end of the reset to all registered components and finishes the reset state | |
| bool | in_reset () |
| get the current state of this reset domain | |
| void | register_resource (resource_access_if *res) |
| register a resource with this reset domain | |
Protected Attributes | |
| std::vector< resource_access_if * > | resources |
| bool | _in_reset = false |
base class for components having a reset
This class forms a reset domain which is a set of components (sc_modules) having the same reset. sc_modules using sc_registers should inherit from this class as well so that all registers get the respective reset.
Definition at line 32 of file resetable.h.
|
inline |
get the current state of this reset domain
Definition at line 61 of file resetable.h.
|
inline |
register a resource with this reset domain
| res | the resource belonging to this reset domain |
Definition at line 68 of file resetable.h.
|
inlinevirtual |
distributes the begin of the reset to all registered components and set the reset state
Definition at line 40 of file resetable.h.
|
inlinevirtual |
distributes the end of the reset to all registered components and finishes the reset state
Definition at line 50 of file resetable.h.
|
protected |
Definition at line 72 of file resetable.h.
|
protected |
Definition at line 71 of file resetable.h.