Don't use old single-step flow for PicoRV32 test
@@ -2,14 +2,10 @@ import os
import siliconcompiler
import pytest
-# Command line version
-# sc ../../third_party/designs/picorv32/picorv32.v -design picorv32 -mode sim -target "surelog" -arg_step "import" -quiet
-
@pytest.mark.eda
def test_picorv32(picorv32_dir):
source = os.path.join(picorv32_dir, 'picorv32.v')
design = "picorv32"
- step = "import"
chip = siliconcompiler.Chip(loglevel="INFO")
chip.load_target('freepdk45_demo')
@@ -17,12 +13,9 @@ def test_picorv32(picorv32_dir):
chip.add('source', source)
chip.set('design', design)
chip.set('steplist', ['import'])
- chip.set('mode', 'sim')
- chip.set('arg', 'step', step)
- chip.set('flow', 'surelog')
chip.run()
- assert chip.find_result('v', step=step) is not None
+ assert chip.find_result('v', step='import') is not None
if __name__ == "__main__":
from tests.fixtures import scroot
