Quantcast
Channel: Cadence Functional Verification Forum
Viewing all articles
Browse latest Browse all 1069

$xm_deposit in gate level simulation

$
0
0

Hello,

i tried to deposit a value inside a register using this code:

$xm_deposit("tb_chip_top_s222.dut_u.i_digtoppad.i_dig_top_pads.i_dig_top.i_volt_cfg_regs.i_cfg_3_secded.\\secded_data_r_reg[0] .Q", $sformatf("%b", cfg_3_secded_register_value[0]));

This works in rtl simulation but i have some issues in gate level simulation where the deposit seems to behave like a force ( i see the D signal of the flip flop equal to 1 but it is not sampled after the posedge of the clock, maybe beacuse of the deposit on Q)

Any suggestions?

Thanks


Viewing all articles
Browse latest Browse all 1069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>