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 agoyour statement:
elsif (fmcw_ramp_o < fstep_i) then dir_s <= '0'; is likely the cause, you are comparing 10 bits with 24 bits?? insert unsigned (or siged) around each after equalising size