Taking input from Keyboard during runtime : one of the possible solutions (DPI-C) does not work for me :(...! Any more solutions

In reply to niletronics:

It really does not make sense to try to have interactive stimulus in a simulation. You want to create an environment that is repeatable so that you can debug your design, fix a problem, then repeat the stimulus to see check the new results. Also, simulation runs significantly slower that the real hardware.