Forum Discussion
ab4
New Contributor
7 years agohi, i just want to grate a 8 : 1 mux but i got this error: 10334 VHDL error at eight_1.vhd (11) : y is not subporgram, a type, or an array object
library ieee; use ieee.std_logic_1164.all; entity eight_1 is port(a:in std_logic_vector(7 downto 0); s: in std_logic_vector(2 downto 0); y: out std_logic); end eight_1; architecture d_f o...
Vicky1
Regular Contributor
7 years agoHi,
Replace all IF statement like if s = "000" then y (0) <=a; with if s = "000" then y <= a(7); since y is a one bit output.
Let me know if this has helped resolve the issue you are facing or if you need any further assistance.
Best Regards
Vikas Jathar
(This message was posted on behalf of Intel Corporation)