Forum Discussion
Altera_Forum
Honored Contributor
10 years agoHelp needed in VHDL Testbench
Hi all, I have written the testbench file in such a manner that I need to perform updowncounting and downcounting based on the value of dir_s. But the problem is, when I execute the code, the di...
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- Yes I tried checking the waveforms too. The problem is the dir_s is changing to 1 only for 1 value ie when fmcw_ramp>= fmcw_bw_i and dir_s should be 1 till the next condition fmcw_ramp < fstep_i. But it is not doing that. Please help me to solve this problem --- Quote End --- check your type as >,<,= may mislead you if std_logic also check that last statement is not to blame: elsif (fmcw_ramp_o = "000000000000000000000000") then try posting your waveforms (good quality)