From 20464120ba5670bf7f68adcc389ac0b3b96abfdb Mon Sep 17 00:00:00 2001 From: Cyril Koenig Date: Mon, 28 Oct 2024 22:52:47 +0100 Subject: [PATCH] vip: Replace first negedge into VIPs --- target/sim/src/vip_cheshire_soc.sv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/sim/src/vip_cheshire_soc.sv b/target/sim/src/vip_cheshire_soc.sv index c54ed279..41ca4b44 100644 --- a/target/sim/src/vip_cheshire_soc.sv +++ b/target/sim/src/vip_cheshire_soc.sv @@ -228,7 +228,7 @@ module vip_cheshire_soc import cheshire_pkg::*; #( assign jtag.tdo = jtag_tdo; initial begin - @(negedge rst_n); + wait_for_reset(); jtag_dbg.reset_master(); end @@ -790,7 +790,7 @@ module vip_cheshire_soc import cheshire_pkg::*; #( slink_axi_driver_t slink_axi_driver = new (slink_mst_vip_dv); initial begin - @(negedge rst_n); + wait_for_reset(); slink_axi_driver.reset_master(); end