qualcomm/qbox
Loading...
Searching...
No Matches
gs::container_builder Class Reference
Inheritance diagram for gs::container_builder:
Collaboration diagram for gs::container_builder:

Public Member Functions

 container_builder (sc_core::sc_module_name _name)
Public Member Functions inherited from gs::ModuleFactory::ContainerDeferModulesConstruct
 SCP_LOGGER (())
 ContainerDeferModulesConstruct (const sc_core::sc_module_name &n)
Public Member Functions inherited from gs::ModuleFactory::ContainerBase
 SCP_LOGGER (())
sc_core::sc_module * construct_module (std::string moduletype, sc_core::sc_module_name name, cci::cci_value_list args)
sc_core::sc_module * construct_module (std::string moduletype, sc_core::sc_module_name name)
 Helper to construct a module that takes no arguments.
std::string get_parent_name (const std::string &module_name)
bool is_absolute_path (const std::string &name)
 Check if a name refers to an absolute path (outside this container).
bool is_container_arg_mod_name (const std::string &name)
cci::cci_value_list get_module_args (std::string modulename)
 Get the module args helper to find argument list for a module constructor.
template<typename I, typename T>
bool try_bind (sc_core::sc_object *i_obj, sc_core::sc_object *t_obj)
void name_bind (sc_core::sc_module *m)
 Bind all known port types.
template<unsigned int BIND_BUSWIDTH>
bool try_bind_all (sc_core::sc_object *i_obj, sc_core::sc_object *t_obj)
bool is_container_type (const std::string &name)
 Check if a module is a container type.
void get_nested_dependencies (const std::string &container_name, std::set< std::string > &dependencies)
 Get all EXTERNAL nested dependencies from a container's children (excludes dependencies that are internal to the container being checked) Uses CCI configuration parameters to find child modules, then get_module_args for path resolution Also checks config tables for container_builder types.
bool are_dependencies_available (const std::string &name, const std::set< std::string > &done)
std::set< std::string > get_bind_references_to_module (const std::string &module_name, const std::string &target_module_name, const std::list< std::string > &all_modules)
int get_construction_priority (const std::string &name)
std::list< std::string > PriorityConstruct (void)
void register_module_from_dylib (sc_core::sc_module_name name)
void ModulesConstruct (void)
std::shared_ptr< sc_core::sc_module > find_module_by_name (const std::string &mod_name)
template<typename T>
std::shared_ptr< sc_core::sc_module > find_module_by_cci_param (const std::string &cci_param_name, const T &cmp_value)
 ContainerBase (const sc_core::sc_module_name _n, bool defer_modules_construct, sc_core::sc_object *p_container_mod_arg=nullptr)
 construct a Container, and all modules within it, and perform binding
void fw_b_transport (int id, tlm::tlm_generic_payload &trans, sc_core::sc_time &delay) override
unsigned int fw_transport_dbg (int id, tlm::tlm_generic_payload &trans) override
bool fw_get_direct_mem_ptr (int id, tlm::tlm_generic_payload &trans, tlm::tlm_dmi &dmi_data) override
void fw_invalidate_direct_mem_ptr (sc_dt::uint64 start, sc_dt::uint64 end) override
void fw_handle_signal (int id, bool value) override

Protected Member Functions

void dispatch (const std::string &_name)
void redirect_socket_params (const std::string &_name)
std::string replace_all (std::string str, const std::string &from, const std::string &to)
template<class T>
void cci_set (std::string n, T value)

Static Protected Member Functions

static std::string get_socket_redirect_cycle (const std::map< std::string, std::string > &socket_redirects)

Protected Attributes

std::map< std::string, std::string > m_socket_redirects

Additional Inherited Members

Public Types inherited from gs::ModuleFactory::ContainerBase
using tlm_initiator_socket_type
using tlm_target_socket_type
Public Attributes inherited from gs::ModuleFactory::ContainerBase
cci::cci_broker_handle m_broker
cci::cci_param< std::string > moduletype
cci::cci_param< uint32_t > p_tlm_initiator_ports_num
cci::cci_param< uint32_t > p_tlm_target_ports_num
cci::cci_param< uint32_t > p_initiator_signals_num
cci::cci_param< uint32_t > p_target_signals_num
sc_core::sc_vector< tlm_initiator_socket_type > initiator_sockets
sc_core::sc_vector< tlm_target_socket_type > target_sockets
sc_core::sc_vector< InitiatorSignalSocket< bool > > initiator_signal_sockets
sc_core::sc_vector< TargetSignalSocket< bool > > target_signal_sockets
TargetSignalSocket< bool > container_self_reset
transaction_forwarder_if< PASS > * m_local_pass
std::vector< cci::cci_param< gs::cci_constructor_vl > * > registered_mods
sc_core::sc_object * container_mod_arg

The documentation for this class was generated from the following files:
  • systemc-components/container_builder/include/container_builder.h
  • systemc-components/container_builder/src/container_builder.cc