File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
python/cocotbext/cocotbext/ofm/mfb Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,15 +102,15 @@ async def _monitor_recv(self):
102
102
# Checking for beginning of a packet.
103
103
self .log .debug ("Frame Start" )
104
104
if in_frame :
105
- raise MFBProtocolError ("Duplicate start-of-frame received on MFB bus !" )
105
+ raise MFBProtocolError ("MFB error: a start-of-frame received without an end-of-frame !" )
106
106
in_frame = True
107
107
frame = b""
108
108
109
109
if (self ._eof_arr [rr ] == 1 ) and (not eof_done ):
110
110
# Checking if the packet ends in the same regions where it began.
111
111
self .log .debug ("Frame End in single region" )
112
112
if not in_frame :
113
- raise MFBProtocolError ("Duplicate end-of-frame received on MFB bus !" )
113
+ raise MFBProtocolError ("MFB error: an end-of-frame received without a start-of-frame !" )
114
114
in_frame = False
115
115
frame += data_bytes [ss_idx :ee_idx ]
116
116
self .item_cnt += len (data_bytes [ss_idx :ee_idx ])* 8 // self ._item_width
You can’t perform that action at this time.
0 commit comments