How to drive the inout signal value from program block

for the inout runstop_irq_en signal i have declared
wire runstop_irq_en;
logic runstop_irq_en_reg;
assign runstop_irq_en = runstop_irq_en_reg;
in interface and then used runstop_irq_en_reg to assign values to inout port in program block.
From the top module everything is working fine but the runstop_irq_en signal is showing up x in the waveform but runstop_irq_en_reg signal is working accordingly.

Can anyone help me out with this to debug and fix the issue, so that runstop_irq_en shows up the content.

In reply to niha1321:

There is no enough code to help explain what might be wrong. And you should not be using program blocks.

I have declared the inout signal in interface and wanted to drive the value to it and so,i implemented the same by giving the value to it in program block if this is not the case can you help me out in knowing how to drive the value to the inout signal in SV.