Driving a DUT input port from the testbench

In reply to UVM_learner6:

I have an output design_wcomp coming out of the design. In my scoreboard, I keep a count of these to see if they match the expected value. Once they match, I need to drive an “input port” tb_design_write_done.
I do not have a sequence yet for the design_wcomp. But inside the scoreboard, I have a task that gets the transaction from a TLM analsyis fifo to count the design_wcomp.
I also have a sequencer in the agent.
With all this, how can I drive an input design port from the TB?
I tried tapping the design signal into the virtual interface and tb_top and I used config_db:: get of the vif in the SB and driving it. Although the connection seems to pass compile, the driven value is not reflected on the input port.
I see that some examples show that the design port is accessible through the sequencer which can be driven from the sequence. If this is correct implementation method,could someone please point me to a working example or idea?

Could you please explain how your design is starting without an input? Most designs need a certain input to prduce an output.