For example, the run.do file is just for runtime simulator commands on EDA Playground, not for compiling. I have put your testbench in
testbench.sv and your design in
design.sv and deleted all the other tabs.
You don't want a sensitivity list in your clock generator - that just locks it.
You do want a delay (I imagine) in the loop that generates the input stimulus.
You need a call to $finish (or $stop) to stop your simulation, because your clock generator loop will run forever.
Matthew