Forum Discussion
Altera_Forum
Honored Contributor
8 years agoVHDL Code For Ultrasonic Distance Sensor HC-SR04
I am trying to write the VHDL code for it but it is not working, it shows always 00 ( cm1 = 0 and cm0 = 0). Can you pleaseee help me? Do you detect any problem in the code: Summation of how the...
Altera_Forum
Honored Contributor
8 years agoThere are many tutorials on the internet on how to write a testbench.
I suggest having a go yourself, and coming back here with any issues you are having. One thing I would recommend is that you do not use variables. Use all signals