hdl.dsl: Support Assert and Assume where an Assign can occur.
This commit is contained in:
parent
e6517a33c7
commit
2412650f56
3 changed files with 4 additions and 4 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue