Forum Discussion
Altera_Forum
Honored Contributor
16 years agochecksum hardware accelrator design example (How can I modify it for DE2 Board)
I want to use this example with DE2 board but DE2 board did not have DDR SDRAM and this design is using DDR SDRAM can anybody guide me how i can get rid of this DDR SDRAM and use instead SDRAM or...
Altera_Forum
Honored Contributor
16 years agoThis example has some questionable content.
Line 22: isr_flag better be declared volatile or with optimization on the code should fail. Line 135:buffer = (0xFF & rand()) % 256; // random values between 0 and 255Only one of '& 0xFF' and '% 256' are needed. Neither are really necessary since the assignment is into an alt_u8 pointer but it may serve to remove a warning. Bill A