Forum Discussion

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

Storing value in a reg

input [11:0] stimulus; reg val; always @(posedge clk) val <=# 1 |(stimulus); what should be the value stored in the register val? Is it the same as saying val = val | stimu...