Shift register or Local Any differences in performance?

2004-04-20 Thread Oliver Friedrich
Hallo, I have a state machine where one state needs to pass and receive from/to other states. Should I use a shift register to interchange data or should I take a local variable? Both work of course but what would you prefer considering 1) Memory usage 2) Performance 3) Readability of source c

Re: Shift register or Local Any differences in performance?

2004-03-25 Thread Ben
I agree with most everything mentioned by Victrick. Some comments to add. 1) Memory usage I do not beileve there is a buffer for each local but there indeed are two buffers associated with the FP object. One that you see, one that the BD uses. I believe Greg has mentioned that controls/indicator t

Re: Shift register or Local Any differences in performance?

2004-03-24 Thread Victrick
>From what I understand, using local variables is frowned upon unless they are ABSOLUTELY necessary. In my mind, there is no debate and I would take the shift register. Here are my reasons. 1. I believe that each local variable you have on your block diagram takes up the same amount of space as