Can I set the value directly from the simulation test bench?
Do I need to make any configurations for the simulation in order to get the correct results?
From what I can see on your simulation waveform it looks like a number of things are going (like the missing clock) so I’d look into resolving that first.
No, this simulation is run with “make” in the same directory where you find tb.v.
It’s possible to add the testbench to the Vivado project, but I vastly prefer running simulations with iverilog.