s3034585
Full Member level 4
hi guys
i am trying to preform some operations on a array of signals in the same clock cycle. i am getting confused with the way they are being updated. can any one tell me how to perform multiple operations in one clock cycle.
i have attached the code in a file please have a look at it and let me know how update the signals or rather refer the signals.
in this code as you can see that i am computing a value on frc_bit and then
refering it in the process to store in a shift register. when load is 1 and then i store this bit in shft_reg_r3 along with the 7 bit of vector in it. the problem is that when i store frc bit in shift reg r3 it takes a wrong value. so i added this signals to list and found out that frc bit is not updated immediately and because of this the shift reg_r3 stores the old value and not the new value.
can any one please tell me how to avoid this and store the correct value from the frc_bit into the shift reg...
if any this is not clear please let me know...
thanks in advance...
tama
i am trying to preform some operations on a array of signals in the same clock cycle. i am getting confused with the way they are being updated. can any one tell me how to perform multiple operations in one clock cycle.
i have attached the code in a file please have a look at it and let me know how update the signals or rather refer the signals.
in this code as you can see that i am computing a value on frc_bit and then
refering it in the process to store in a shift register. when load is 1 and then i store this bit in shft_reg_r3 along with the 7 bit of vector in it. the problem is that when i store frc bit in shift reg r3 it takes a wrong value. so i added this signals to list and found out that frc bit is not updated immediately and because of this the shift reg_r3 stores the old value and not the new value.
can any one please tell me how to avoid this and store the correct value from the frc_bit into the shift reg...
if any this is not clear please let me know...
thanks in advance...
tama