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 agoYou can only ever read/write 1 value from a ram in a single clock cycle, not two. Your code reads from 2 locations in a single clock, not possible. You may need to build a ram that stores both values in parrallel if you want to do this.