dsp/sat_add: works after previous changes

This commit is contained in:
Robert Jördens 2017-06-22 18:24:22 +02:00
parent f78d5a87e9
commit 07f5e99140
2 changed files with 0 additions and 3 deletions

View File

@ -66,5 +66,4 @@ class SatAddMixin:
limited.eq(limits[1]), limited.eq(limits[1]),
) )
] ]
self.comb += limited.eq(full)
return limited return limited

View File

@ -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: