T
TigerJade
Guest
I tried the following codes:
Line 1: alias counter_type is std_logic_vector(11 downto 0);
Line 2: signal c : counter_type := (others => '0');
And what I got during synthesis (with Leonardo Spectrum) was an error:
Line 1: Syntax Error near '('.
Can anyone tell me what's wrong in my codes?
Thanks,
TJ
Line 1: alias counter_type is std_logic_vector(11 downto 0);
Line 2: signal c : counter_type := (others => '0');
And what I got during synthesis (with Leonardo Spectrum) was an error:
Line 1: Syntax Error near '('.
Can anyone tell me what's wrong in my codes?
Thanks,
TJ