Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

Shift operator

Hi, I have a question regarding the shift operation in the below piece of code : CODE : always @(mem_addr) begin op_mem_addr = mem_addr; x = 1 << mem_addr; end OUTPUT:...