From 36505655a3f8e709b2ea91d43f08b32485d0659f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Zrounba?= Date: Thu, 23 Nov 2023 18:49:56 +0000 Subject: update PCM device and add parameters to parser --- src/tb/pcm_device_tb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tb') diff --git a/src/tb/pcm_device_tb.cpp b/src/tb/pcm_device_tb.cpp index b279e6c..156bd67 100644 --- a/src/tb/pcm_device_tb.cpp +++ b/src/tb/pcm_device_tb.cpp @@ -89,7 +89,7 @@ void PCMElement_tb_run() spx::oa_signal_type IN, OUT; - PCMElement pcm("pcm", 25e-6, 63, 0); + PCMElement pcm("pcm", 25e-6, 63, 0, 0.85, 0.95); pcm.p_in(IN); pcm.p_out(OUT); @@ -117,7 +117,7 @@ void PCMElement_tb_run() specsGlobalConfig.prepareSimulation(); // extra traces should come after prepareSimulation - sc_trace(specsGlobalConfig.default_trace_file, pcm.m_state, "STATE"); + sc_trace(specsGlobalConfig.default_trace_file, pcm.m_stateCurrent, "STATE"); // Start simulation sc_start(); -- cgit v1.2.3