Forum Discussion
Altera_Forum
Honored Contributor
8 years agoMemory WRITING issue
Dear, I have a procedure (Sort) that read two numbers in each cycle. and return the max and the min. I am reading two numbers from mif file , the problem is that I want to write back the result re...
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- The ram has two ports, I succeeded in reading two values together , but I couldn't write on these location when I added ram1(2*kk+1) <= maxsig; ram1(2*kk)<= minsig --- Quote End --- Is that the standard template for dual port ram? I never use inference so can't answer you but I have this diversion: if you are checking on data stored in mif, why not pre-compute in software to get your mif ready for max/min