From 526e9cf13387b9893e4c9ab78d74aa842d48b2d7 Mon Sep 17 00:00:00 2001 From: azaidy Date: Tue, 1 Oct 2024 16:10:03 -0400 Subject: [PATCH] Revert changes --- umi/lumi/tests/test_lumi.py | 6 +++--- umi/lumi/tests/test_lumi_rnd.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/umi/lumi/tests/test_lumi.py b/umi/lumi/tests/test_lumi.py index bfb1bd8..7e29262 100755 --- a/umi/lumi/tests/test_lumi.py +++ b/umi/lumi/tests/test_lumi.py @@ -10,7 +10,7 @@ import pytest -def test_lumi(lumi_dut, chip_topo, random_seed): +def test_lumi(lumi_dut, chip_topo, random_seed, sb_umi_valid_mode, sb_umi_ready_mode): np.random.seed(random_seed) @@ -21,8 +21,8 @@ def test_lumi(lumi_dut, chip_topo, random_seed): # launch the simulation lumi_dut.simulate( plusargs=[ - ('valid_mode', 2), - ('ready_mode', 2), + ('valid_mode', sb_umi_valid_mode), + ('ready_mode', sb_umi_ready_mode), ('hostdly', hostdly), ('devdly', devdly) ], diff --git a/umi/lumi/tests/test_lumi_rnd.py b/umi/lumi/tests/test_lumi_rnd.py index b1fd8cf..6394daf 100755 --- a/umi/lumi/tests/test_lumi_rnd.py +++ b/umi/lumi/tests/test_lumi_rnd.py @@ -10,7 +10,7 @@ import pytest -def test_lumi_rnd(lumi_dut, chip_topo, random_seed): +def test_lumi_rnd(lumi_dut, chip_topo, random_seed, sb_umi_valid_mode, sb_umi_ready_mode): np.random.seed(random_seed) @@ -21,8 +21,8 @@ def test_lumi_rnd(lumi_dut, chip_topo, random_seed): # launch the simulation lumi_dut.simulate( plusargs=[ - ('valid_mode', 2), - ('ready_mode', 2), + ('valid_mode', sb_umi_valid_mode), + ('ready_mode', sb_umi_ready_mode), ('hostdly', hostdly), ('devdly', devdly) ]