hdl.dsl: Support Assert and Assume where an Assign can occur.

This commit is contained in:
William D. Jones 2018-12-28 02:10:15 -05:00 committed by whitequark
parent e6517a33c7
commit 2412650f56
3 changed files with 4 additions and 4 deletions

View file

@ -74,7 +74,7 @@ class DSLTestCase(FHDLTestCase):
def test_d_asgn_wrong(self):
m = Module()
with self.assertRaises(SyntaxError,
msg="Only assignments may be appended to d.sync"):
msg="Only assignments, asserts, and assumes may be appended to d.sync"):
m.d.sync += Switch(self.s1, {})
def test_comb_wrong(self):