mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
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]),
|
||||
)
|
||||
]
|
||||
self.comb += limited.eq(full)
|
||||
return limited
|
||||
|
@ -58,11 +58,9 @@ class SatAddTest(unittest.TestCase):
|
||||
def test_inst(self):
|
||||
pass
|
||||
|
||||
@unittest.skip("limiter disabled")
|
||||
def test_run(self):
|
||||
self._sweep()
|
||||
|
||||
@unittest.skip("limiter disabled")
|
||||
def test_limits(self):
|
||||
for l0 in -8, 0, 1, 7:
|
||||
for l1 in -8, 0, 1, 7:
|
||||
|
Loading…
Reference in New Issue
Block a user