File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ void Ic::checkChannelSet()
103103 BOOST_THROW_EXCEPTION (IcException () << ErrorInfo::Message (" No IC channel selected" ));
104104 }
105105
106- uint32_t channel = (barRead (sc_regs::SWT_MON.index ) >> 8 ) & 0xff ;
106+ int channel = (barRead (sc_regs::SWT_MON.index ) >> 8 ) & 0xff ;
107107
108108 if (channel != mLink .linkId ) {
109109 setChannel (mLink .linkId );
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ void Sca::checkChannelSet()
8787 BOOST_THROW_EXCEPTION (ScaException () << ErrorInfo::Message (" No SCA channel selected" ));
8888 }
8989
90- uint32_t channel = (barRead (sc_regs::SWT_MON.index ) >> 8 ) & 0xff ;
90+ int channel = (barRead (sc_regs::SWT_MON.index ) >> 8 ) & 0xff ;
9191
9292 if (channel != mLink .linkId ) {
9393 setChannel (mLink .linkId );
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ void Swt::checkChannelSet()
9393 BOOST_THROW_EXCEPTION (SwtException () << ErrorInfo::Message (" No SWT channel selected" ));
9494 }
9595
96- uint32_t channel = (barRead (sc_regs::SWT_MON.index ) >> 8 ) & 0xff ;
96+ int channel = (barRead (sc_regs::SWT_MON.index ) >> 8 ) & 0xff ;
9797
9898 if (channel != mLink .linkId ) {
9999 setChannel (mLink .linkId );
You can’t perform that action at this time.
0 commit comments