I'm a bit confused because verilog takes input in binary form and gives output also in binary form. We can only display the output in decimal I guess.(Not sure)
So, you mean, you have to give a decimal input to the device - like from a keyboard- and to display the output in binary form. right?