Forum Discussion
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- Why do you assign 0 to max in the "else" part? You should keep the current value of the max register instead. --- Quote End --- dear Daixiwe tanks for time..oky.this may be one problem..but i want that my code should output a single max vlaue an input array of 1000 values which is read from a mem file..will u modify my code so i can get single max value among these 1000 values?