qualcomm/qbox
Loading...
Searching...
No Matches
SA8775P.h
1/*
2 * Copyright (c) 2025 Qualcomm Innovation Center, Inc. All Rights Reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef SA8775P_H
8#define SA8775P_H
9
10#include <systemc>
11#include <cci_configuration>
12#include <cciutils.h>
13#include <scp/report.h>
14#include <tlm>
15#include <cciutils.h>
16#include <module_factory_registery.h>
17#include <ports/target-signal-socket.h>
18#include <reg_model_maker/reg_model_maker.h>
19#include <SA8775P_gen.h>
20namespace quic {
21class SA8775P : public sc_core::sc_module, public SA8775P_gen
22{
23 SCP_LOGGER();
24
25protected:
26 cci::cci_param<bool> is_shared_memories;
27 cci::cci_param<std::string> p_zipfile;
28
29public:
30 SA8775P(sc_core::sc_module_name _name, sc_core::sc_object* router, sc_core::sc_object* reg_memory);
31 cci::cci_broker_handle m_broker;
32 zip_t* m_archive;
33 gs::router<>* m_router;
34 gs::gs_memory<>* m_reg_memory;
35 std::unique_ptr<gs::reg_router<>> m_reg_router;
36 sc_core::sc_vector<gs::gs_memory<>> memories;
37 sc_core::sc_port<sc_core::sc_signal_inout_if<bool>, 0, sc_core::SC_ZERO_OR_MORE_BOUND> reset_mem;
39
40 void do_reset(bool value);
41};
42} // namespace quic
43
44extern "C" void module_register();
45
46#endif // SA8775P_H
Definition target-signal-socket.h:163
A gs_memory component that can add memory to a virtual platform project.
Definition gs_memory.h:59
A SystemC TLM router module for transaction routing based on address.
Definition router.h:106
Definition aoss_pmic_arb_pmic_arb_core.h:27