From 68c88b116afaeba8345e023fb911cceea75a9201 Mon Sep 17 00:00:00 2001 From: M0stafaRady Date: Sat, 1 Oct 2022 02:52:30 -0700 Subject: [PATCH] increase the clock period to 25ns --- verilog/dv/cocotb/tests/common_functions/test_functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/verilog/dv/cocotb/tests/common_functions/test_functions.py b/verilog/dv/cocotb/tests/common_functions/test_functions.py index 78de0932..de619163 100644 --- a/verilog/dv/cocotb/tests/common_functions/test_functions.py +++ b/verilog/dv/cocotb/tests/common_functions/test_functions.py @@ -22,7 +22,7 @@ from cocotb.triggers import FallingEdge,RisingEdge,ClockCycles start up the test connecting power vdd to the design then reset and disable the CSB bit return the caravel environmnet with clock and start up """ -async def test_configure(dut,timeout_cycles=1000000,clk=12.5,timeout_precision=0.2,num_error=3): +async def test_configure(dut,timeout_cycles=1000000,clk=25,timeout_precision=0.2,num_error=3): caravelEnv = caravel.Caravel_env(dut) Timeout(caravelEnv.clk,timeout_cycles,timeout_precision) if os.getenv('ERRORMAX') != 'None': @@ -33,7 +33,7 @@ async def test_configure(dut,timeout_cycles=1000000,clk=12.5,timeout_precision=0 await caravelEnv.start_up() await ClockCycles(caravelEnv.clk, 10) # HK_whiteBox(dut) - return caravelEnv + return caravelEnv,clock class CallCounted: """Decorator to determine number of calls for a method"""