Ayyappa Gollu
Newbie level 4
- Joined
- Nov 14, 2014
- Messages
- 6
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Location
- Calicut, India, India
- Activity points
- 42
Code VHDL - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 ///////////////////////////////////////////////////////////// structural code: library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.STD_LOGIC_ARITH.ALL; use IEEE.STD_LOGIC_UNSIGNED.ALL; entity ripple_counter_4bit is Port ( count : in STD_LOGIC; reset : in STD_LOGIC; a : out STD_LOGIC_vector(o to 3)); end ripple_counter_4bit; architecture Behavioral of ripple_counter_4bit is component dff port(d_in,clock,reset:in std_logic; d_out:out std_logic); end component; begin d1:dff port map(~a(0),count,reset,a(0)); d2:dff port map(~a(1),a(0),reset,a(1)); d3:dff port map(~a(2),a(1),reset,a(2)); d4:dff port map(~a(3),a(2),reset,a(3));//this is line 44. end Behavioral; /////////////////////////////////////////////////////////////////////////////////////
ERROR:HDLParsers:1411 - "C:/Xilinx92i/ripcount_4/ripple_counter_4bit.vhd" Line 44. Parameter a of mode out can not be associated with a formal port of mode in.
Process "Check Syntax" failed.
Last edited by a moderator: