Forum Discussion
Altera_Forum
Honored Contributor
16 years agoproblem with ModelSim
I use ModelSim to simulate an adder(sumador.vdh) and a testbench(bancopruebas.vdh) that read a text file "Datos.txt" where the data are;and put the result in other file "resultados.txt". After I comp...
Altera_Forum
Honored Contributor
16 years agoprobably because you forgot the line:
suma <= OpA_I + OpB_I; but even this is going to have your results lagging by 1 result because suma is a signal and not a variable.