Forum Discussion
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- Have you written a simulation testbench? Why have you used > to compare the switch values? --- Quote End --- No, I didn't write a simulation testbench. I've just tested this code on the FPGA. Actually, I didn't write the code. It is automatically generated by HDL coder based on a state machine in Matlab/Simulink. That's why > are used. But, I've tried ='1' to compare the switch values and it leads always to the same results : the code doesn't work. Please, any help ?