Minres / SystemC-Components

A SystemC productivity library: https://minres.github.io/SystemC-Components/
https://www.minres.com/#opensource
Apache License 2.0
86 stars 24 forks source link

axi4_lite_cfg with bind_aw #31

Open staskau opened 2 years ago

staskau commented 2 years ago

axi::axi4_lite_cfg does not work with bind_aw function because all signals are wired there, including aw_user.bind(o.aw_user), although the width of aw_user in axi4_lite_cfg is USERWIDTH = 0

This leads to the following error message

[E] [ 0 s ](E5) out of bounds: sc_uint[_base] initialization: length = 0 violates 1 <= length <= 64 [FILE:/scratch/stas/repos/Tests/Raven/Minres-SystemC/src/sysc/datatypes/int/sc_uint_base.cpp:345]