Forum Discussion
Altera_Forum
Honored Contributor
14 years agoVHDL Code-Multiplication
I am new to this site. I have to work on a project which needs vhdl coding and I am new to it too. i just need to multiply two elements . so i do that by entering a*b. but i get this error " fo...
Altera_Forum
Honored Contributor
14 years agostd_logic_arith is a non-standard VHDL package, and it conflicts with numeric_std, so do not use it.
1. signed an unsigned are just integers - but you can use them to represent fixed point. for complex numbers just store separate parts, or create a new record type that contains both. Thats what the type system is there for. 2. to create an array: type my_array_t is array(0 to n) of integer; --of course you can use any type in the array