projects
/
nmigen.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
test: add tests for build.plat.Platform.add_file.
[nmigen.git]
/
nmigen
/
test
/
test_compat.py
1
from
..
hdl
.
ir
import
Fragment
2
from
..
compat
import
*
3
from
.
utils
import
*
4
5
6
class
CompatTestCase
(
FHDLTestCase
):
7
def
test_fragment_get
(
self
):
8
m
=
Module
()
9
f
=
Fragment
.
get
(
m
,
platform
=
None
)