Mavnus04
Newbie level 4
- Joined
- Apr 10, 2014
- Messages
- 6
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 47
Hi all,
I am creating a program to move an object around the screen through my DE2 board. I am currently trying to create a clock with enough delay so the object does not move too quickly. When I reset my clock, which is a signal, back to zero I get the error "Error (10028): Can't resolve multiple constant drivers for net "clk_half_sec[14]"" for the entire std_logic_vector.
resetting clk_3 is the line that causes me problems. As soon as I comment it out, the file will compile fine. This code segment is within a if(rising_edge(clk_2)), which is within a process statement.
Declaration:
signal clk_3 : std_logic_vector (15 downto 0);
I have no idea why this error is happening. Any help would be great. Please let me know if you want to see more the program.
I am creating a program to move an object around the screen through my DE2 board. I am currently trying to create a clock with enough delay so the object does not move too quickly. When I reset my clock, which is a signal, back to zero I get the error "Error (10028): Can't resolve multiple constant drivers for net "clk_half_sec[14]"" for the entire std_logic_vector.
resetting clk_3 is the line that causes me problems. As soon as I comment it out, the file will compile fine. This code segment is within a if(rising_edge(clk_2)), which is within a process statement.
Code:
if(clk_3 = X"F424") then
l_side <= l_side+1;
r_side <= r_side+1;
clk_3 <= x"0000";
end if;
Declaration:
signal clk_3 : std_logic_vector (15 downto 0);
I have no idea why this error is happening. Any help would be great. Please let me know if you want to see more the program.