Skip to content

Commit f87d281

Browse files
committed
adds SNPS PA compliance setting as it does not support sockets of width
0
1 parent 81e3322 commit f87d281

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

src/bus_interfaces/axi/axi_initiator.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@ namespace axi {
3535
class axi_initiator_base : public sc_core::sc_module {
3636
public:
3737
sc_core::sc_in<bool> clk_i{"clk_i"};
38-
tlm_utils::simple_target_socket<axi_initiator_base, 0> tsck{"tsck"};
39-
38+
#ifdef CWR_SYSTEMC
39+
tlm_utils::simple_target_socket<axi_initiator_base, 32> tsck{"tsck"};
40+
#else
41+
tlm_utils::simple_target_socket<axi_initiator_base, scc::LT> tsck{"tsck"};
42+
#endif
4043
/**
4144
* Create and attach AXI extension.
4245
* AXI protocol engine expects the incoming transactions to be controlled by a memory manager.

src/bus_interfaces/axi/axi_target.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@ namespace axi {
3737
class axi_target_base : public sc_core::sc_module {
3838
public:
3939
sc_core::sc_in<bool> clk_i{"clk_i"};
40-
tlm_utils::simple_initiator_socket<axi_target_base, 0> isck{"isck"};
41-
40+
#ifdef CWR_SYSTEMC
41+
tlm_utils::simple_initiator_socket<axi_target_base, 32> isck{"isck"};
42+
#else
43+
tlm_utils::simple_initiator_socket<axi_target_base, scc::LT> isck{"isck"};
44+
#endif
4245
axi_target_base(const sc_core::sc_module_name& nm, axi::pe::axi_target_pe& pe);
4346
virtual ~axi_target_base(){};
4447

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy