Integer or Binary Vector?

Jan 13, 2004 0 Replies

Hi,



I am sort of new to VHDL and still trying to get around the optimisation considerations associated with the language as opposed to using C.



A have written a function which uses a variable 'ppos' to hold the current position in a vector. I have defined it as an INTEGER but I am beginning to think that it might be more efficient implemented in binary. Is this a real consideration in VHDL coding? Would using a binary vector in place of an integer wherever possible resort in a more efficient implementation in the long run?



cheers


- Kingsley


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required