Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- to get max of stream: in a clocked process: if din > max then max <= din; addr_of_max <= addr; end if; --- Quote End --- Hi Kaz, thanks for your reply... i know the concept... but I have no idea how to write it in Verilog code... though I have tried for several times, the output is wrong...