Forum Discussion
Altera_Forum
Honored Contributor
13 years agoAre you sure you've copied this code correctly, there are many errors:
1. You cannot have variables in an architecture 2. You cannot have a while loop outside a process/function/procedure 3. function PARSE_VEC cannot return a "record", it has to return a specfied type. But yes, you can easily do what you want, basically exactly like chnaideur said. If you can repost your fixed code, and have a good stab, we can help more when you get stuck.