scc 2025.09
SystemC components library
tilelink::tl_cfg< W, A, Z, O, I > Struct Template Reference

#include <signal_if.h>

Public Types

using addr_t = typename select_if<A <= 64, sc_dt::sc_uint<ADDRWIDTH>, sc_dt::sc_biguint<ADDRWIDTH>>::type
using mask_t = typename select_if<W <= 64, sc_dt::sc_uint<MASKWIDTH>, sc_dt::sc_biguint<MASKWIDTH>>::type
using data_t = typename select_if<(8 * W) <= 64, sc_dt::sc_uint<BUSWIDTH>, sc_dt::sc_biguint<BUSWIDTH>>::type
using slave_types = ::tilelink::slave_types
using master_types = ::tilelink::master_types

Static Public Attributes

static constexpr unsigned int BUSWIDTH = 8 * W
static constexpr unsigned int MASKWIDTH = W
static constexpr unsigned int ADDRWIDTH = A
static constexpr unsigned int SZWIDTH = Z
static constexpr unsigned int MIDWIDTH = O
static constexpr unsigned int SIDWIDTH = I

Detailed Description

template<unsigned int W = 32, unsigned int A = 32, unsigned int Z = 32, unsigned int O = 1, unsigned int I = 3>
struct tilelink::tl_cfg< W, A, Z, O, I >
Template Parameters
WWidth of the data bus in bytes. Must be a power of two.
AWidth of each address field in bits.
ZWidth of each size field in bits.
ONumber of bits needed to disambiguate per-link master sources.
Icacheline size in Bytes, defaults value is 64 bytes

Definition at line 68 of file signal_if.h.

Member Typedef Documentation

◆ addr_t

template<unsigned int W = 32, unsigned int A = 32, unsigned int Z = 32, unsigned int O = 1, unsigned int I = 3>
using tilelink::tl_cfg< W, A, Z, O, I >::addr_t = typename select_if<A <= 64, sc_dt::sc_uint<ADDRWIDTH>, sc_dt::sc_biguint<ADDRWIDTH>>::type

Definition at line 87 of file signal_if.h.

◆ data_t

template<unsigned int W = 32, unsigned int A = 32, unsigned int Z = 32, unsigned int O = 1, unsigned int I = 3>
using tilelink::tl_cfg< W, A, Z, O, I >::data_t = typename select_if<(8 * W) <= 64, sc_dt::sc_uint<BUSWIDTH>, sc_dt::sc_biguint<BUSWIDTH>>::type

Definition at line 89 of file signal_if.h.

◆ mask_t

template<unsigned int W = 32, unsigned int A = 32, unsigned int Z = 32, unsigned int O = 1, unsigned int I = 3>
using tilelink::tl_cfg< W, A, Z, O, I >::mask_t = typename select_if<W <= 64, sc_dt::sc_uint<MASKWIDTH>, sc_dt::sc_biguint<MASKWIDTH>>::type

Definition at line 88 of file signal_if.h.

◆ master_types

template<unsigned int W = 32, unsigned int A = 32, unsigned int Z = 32, unsigned int O = 1, unsigned int I = 3>
using tilelink::tl_cfg< W, A, Z, O, I >::master_types = ::tilelink::master_types

Definition at line 91 of file signal_if.h.

◆ slave_types

template<unsigned int W = 32, unsigned int A = 32, unsigned int Z = 32, unsigned int O = 1, unsigned int I = 3>
using tilelink::tl_cfg< W, A, Z, O, I >::slave_types = ::tilelink::slave_types

Definition at line 90 of file signal_if.h.

Member Data Documentation

◆ ADDRWIDTH

template<unsigned int W = 32, unsigned int A = 32, unsigned int Z = 32, unsigned int O = 1, unsigned int I = 3>
unsigned int tilelink::tl_cfg< W, A, Z, O, I >::ADDRWIDTH = A
staticconstexpr

Definition at line 83 of file signal_if.h.

◆ BUSWIDTH

template<unsigned int W = 32, unsigned int A = 32, unsigned int Z = 32, unsigned int O = 1, unsigned int I = 3>
unsigned int tilelink::tl_cfg< W, A, Z, O, I >::BUSWIDTH = 8 * W
staticconstexpr

Definition at line 81 of file signal_if.h.

◆ MASKWIDTH

template<unsigned int W = 32, unsigned int A = 32, unsigned int Z = 32, unsigned int O = 1, unsigned int I = 3>
unsigned int tilelink::tl_cfg< W, A, Z, O, I >::MASKWIDTH = W
staticconstexpr

Definition at line 82 of file signal_if.h.

◆ MIDWIDTH

template<unsigned int W = 32, unsigned int A = 32, unsigned int Z = 32, unsigned int O = 1, unsigned int I = 3>
unsigned int tilelink::tl_cfg< W, A, Z, O, I >::MIDWIDTH = O
staticconstexpr

Definition at line 85 of file signal_if.h.

◆ SIDWIDTH

template<unsigned int W = 32, unsigned int A = 32, unsigned int Z = 32, unsigned int O = 1, unsigned int I = 3>
unsigned int tilelink::tl_cfg< W, A, Z, O, I >::SIDWIDTH = I
staticconstexpr

Definition at line 86 of file signal_if.h.

◆ SZWIDTH

template<unsigned int W = 32, unsigned int A = 32, unsigned int Z = 32, unsigned int O = 1, unsigned int I = 3>
unsigned int tilelink::tl_cfg< W, A, Z, O, I >::SZWIDTH = Z
staticconstexpr

Definition at line 84 of file signal_if.h.


The documentation for this struct was generated from the following file:
  • /home/eyck/Projects/MINRES/SystemC-Components/src/interfaces/tilelink/signal_if.h