Altera_Forum
Honored Contributor
9 years agoFPGA Beginner Question
Hi all,
I want to deploy an error correction code on the FPGA, and I have to do a simple trick to set the parity equal to 1 in the beginning. Original code:assign nxt_parity=cur_parity;
Can I do this? parameter ECC_ONE = 1;
assign nxt_parity=cur_parity || ECC_ONE; Thanks! Elena