R
Rob
Guest
Hello,
I have a question about how the following line of code would be
synthesized. I realize this is an "error" but I'm trying to
understand what the outcome would be.
For this example:
rd_addr_ch2_pos2 is a 16 bit constant value of some number, lets say
0x01AE.
(rd_addr_ch2 == wr_addr_ch1_pos); lets say this equates to 0
Would the OR equation be:
0000 0001 1010 1110
0000 0000 0000 0000
--------------------------------
0000 0001 1010 1110
If so, how does the If condition look a this result?
if ((rd_addr_ch2 == wr_addr_ch1_pos) || (rd_addr_ch2_pos2))
Thank you,
Rob
I have a question about how the following line of code would be
synthesized. I realize this is an "error" but I'm trying to
understand what the outcome would be.
For this example:
rd_addr_ch2_pos2 is a 16 bit constant value of some number, lets say
0x01AE.
(rd_addr_ch2 == wr_addr_ch1_pos); lets say this equates to 0
Would the OR equation be:
0000 0001 1010 1110
0000 0000 0000 0000
--------------------------------
0000 0001 1010 1110
If so, how does the If condition look a this result?
if ((rd_addr_ch2 == wr_addr_ch1_pos) || (rd_addr_ch2_pos2))
Thank you,
Rob