resolved/unresolved signal?!

J

jozo

I have made my own type and defined a signal of my tipe:

type my_type is (zero, first, sec, third, fourth);
SIGNAL floor : my_type;

and when I Save and check..., I get the message that says:
floor is multiply driven (or smthn like that).

What does it mean?

I tried writing
SIGNAL floor : resolved my_type;
but than says "can't find resolver smthn...".

What should I do? Please help!

Thank you.
 
R

Ralf Hildebrandt

jozo said:
I have made my own type and defined a signal of my tipe:

type my_type is (zero, first, sec, third, fourth);
SIGNAL floor : my_type;

and when I Save and check..., I get the message that says:
floor is multiply driven (or smthn like that).

Your write to signal floor from multiplie processes - e.g.:

process(...)
begin
if rising_edge(...) then
floor<= ....
end if;
end process;

floor<= ....

process(....)
begin
if (...) then
floor<=...
end if;
end process;


Don't do this (except you want to design a tri-state multiplexer). Write
to a signal only from one process.


Ralf
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top