compat.fhdl.module: CompatModule should be elaboratable.

Fixes #83.
This commit is contained in:
whitequark 2019-06-04 11:10:46 +00:00
parent 4310254103
commit 39ca0e6fa6
2 changed files with 14 additions and 2 deletions

View file

@ -0,0 +1,9 @@
from ..hdl.ir import Fragment
from ..compat import *
from .tools import *
class CompatTestCase(FHDLTestCase):
def test_fragment_get(self):
m = Module()
f = Fragment.get(m, platform=None)