Forum Discussion
Altera_Forum
Honored Contributor
14 years ago@ triky sir,
my code is : library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.NUMERIC_STD.all; use WORK.math_utility_pkg.all; use work.fixed_pkg.all; entity nitu is Port ( a : in ufixed (2 downto 0); c :out ufixed (2 downto -3)); end nitu; architecture Behavioral of nitu is signal n1 : ufixed (0 downto -3); begin n1 <= to_ufixed(.46,n1);<---------- ERROR LINE.:oops: c <= a *n1; end Behavioral; ERROR :Line 42. parse error, unexpected POINT.