Skip to content
Snippets Groups Projects
Commit 168c2a05 authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[Test] parametrize FIFO sizing test for method

parent 56057926
No related branches found
No related tags found
No related merge requests found
...@@ -49,12 +49,13 @@ def fetch_test_model(topology, wbits=2, abits=2): ...@@ -49,12 +49,13 @@ def fetch_test_model(topology, wbits=2, abits=2):
@pytest.mark.slow @pytest.mark.slow
@pytest.mark.vivado @pytest.mark.vivado
def test_fifosizing_linear(): @pytest.mark.parametrize("method", ["largefifo_rtlsim", "characterize"])
def test_fifosizing_linear(method):
tmp_output_dir = fetch_test_model("tfc") tmp_output_dir = fetch_test_model("tfc")
cfg = build_cfg.DataflowBuildConfig( cfg = build_cfg.DataflowBuildConfig(
output_dir=tmp_output_dir, output_dir=tmp_output_dir,
auto_fifo_depths=True, auto_fifo_depths=True,
auto_fifo_strategy="characterize", auto_fifo_strategy=method,
target_fps=10000, target_fps=10000,
synth_clk_period_ns=10.0, synth_clk_period_ns=10.0,
board="Pynq-Z1", board="Pynq-Z1",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment