Skip to content

Commit 803643a

Browse files
committed
Merge branch 'develop' into feature_axi_stream
2 parents e0700a6 + ff77e19 commit 803643a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

veriloggen/stream/stypes.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3493,10 +3493,10 @@ def _implement(self, m, seq, svalid=None, senable=None):
34933493
(self.latency, 2))
34943494

34953495
if len(self.args) == 3 and self.latency == 2:
3496-
raise ValueError('latency = 2 is not allowed, if when option is used.')
3496+
raise ValueError("latency = 2 is not allowed, if 'when' option is used.")
34973497

34983498
if senable is not None and self.latency == 2:
3499-
raise NotImplementedError('senable is not supported, if when option is used.')
3499+
raise NotImplementedError("senable is not supported, if 'when' option is used.")
35003500

35013501
datawidth = self.bit_length()
35023502
signed = self.get_signed()
@@ -3573,9 +3573,6 @@ def _implement(self, m, seq, svalid=None, senable=None):
35733573
raise ValueError("Latency mismatch '%d' != '%s'" %
35743574
(self.latency, 1))
35753575

3576-
if senable is not None:
3577-
raise NotImplementedError('senable is not supported.')
3578-
35793576
self.sig_data = vtypes.Int(0)
35803577

35813578
@property

0 commit comments

Comments
 (0)