Add ability to control default reset style. #34
This commit is contained in:
@@ -4,15 +4,24 @@ from parameterized import parameterized_class
|
||||
|
||||
from ..lib.sim_testcase import SimTestCase
|
||||
from ..lib.synth_testcase import SynthTestCase
|
||||
from ..lib.test_params import TEST_PARAMS
|
||||
from ..lib.test_params import TEST_PARAMS, get_permutations
|
||||
from ..lib.simulators.xilinx import Xilinx
|
||||
import pytest
|
||||
|
||||
@parameterized_class(TEST_PARAMS)
|
||||
class Test(SimTestCase):
|
||||
class TestParameterizations(SimTestCase):
|
||||
def test_dut(self):
|
||||
self.run_test()
|
||||
|
||||
@parameterized_class(get_permutations({
|
||||
"default_reset_activelow": [True, False],
|
||||
"default_reset_async": [True, False],
|
||||
}))
|
||||
class TestDefaultResets(SimTestCase):
|
||||
def test_dut(self):
|
||||
self.run_test()
|
||||
|
||||
|
||||
@parameterized_class(TEST_PARAMS)
|
||||
class TestSynth(SynthTestCase):
|
||||
def test_dut(self):
|
||||
|
||||
Reference in New Issue
Block a user