Test that EDA reports are in final chip object
@@ -18,6 +18,14 @@ def test_py(setup_example_test):
# Verify that report file was generated.
assert os.path.isfile('build/gcd/job0/report.html')
+ manifest = 'build/gcd/job0/export/0/outputs/gcd.pkg.json'
+ assert os.path.isfile(manifest)
+
+ chip = siliconcompiler.Chip()
+ chip.read_manifest(manifest)
+
+ assert chip.get('eda', 'yosys', 'report', 'syn', '0', 'cellarea') == ['syn.log']
+
@pytest.mark.eda
@pytest.mark.quick
def test_cli(setup_example_test):
