You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
520 B
21 lines
520 B
from kyupy import stil, verilog |
|
|
|
|
|
def test_b14(mydir): |
|
b14 = verilog.load(mydir / 'b14.v.gz') |
|
|
|
s = stil.load(mydir / 'b14.stuck.stil.gz') |
|
assert len(s.signal_groups) == 10 |
|
assert len(s.scan_chains) == 1 |
|
assert len(s.calls) == 2163 |
|
tests = s.tests(b14) |
|
resp = s.responses(b14) |
|
assert len(tests) > 0 |
|
assert len(resp) > 0 |
|
|
|
s2 = stil.load(mydir / 'b14.transition.stil.gz') |
|
tests = s2.tests_loc(b14) |
|
resp = s2.responses(b14) |
|
assert len(tests) > 0 |
|
assert len(resp) > 0 |
|
|
|
|