mirror of https://github.com/m-labs/artiq.git
dsp/sat_add: works after previous changes
This commit is contained in:
parent
f78d5a87e9
commit
07f5e99140
|
@ -66,5 +66,4 @@ class SatAddMixin:
|
||||||
limited.eq(limits[1]),
|
limited.eq(limits[1]),
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
self.comb += limited.eq(full)
|
|
||||||
return limited
|
return limited
|
||||||
|
|
|
@ -58,11 +58,9 @@ class SatAddTest(unittest.TestCase):
|
||||||
def test_inst(self):
|
def test_inst(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@unittest.skip("limiter disabled")
|
|
||||||
def test_run(self):
|
def test_run(self):
|
||||||
self._sweep()
|
self._sweep()
|
||||||
|
|
||||||
@unittest.skip("limiter disabled")
|
|
||||||
def test_limits(self):
|
def test_limits(self):
|
||||||
for l0 in -8, 0, 1, 7:
|
for l0 in -8, 0, 1, 7:
|
||||||
for l1 in -8, 0, 1, 7:
|
for l1 in -8, 0, 1, 7:
|
||||||
|
|
Loading…
Reference in New Issue