Sensitivity list in VHDL

OP (Company: Private) #2413359
Rate this post
useful
not useful
Good morning,

I need some clarifications about sensitivity list in VHDL.

1) Do all input signals for a process have to be listed in the 
sensitivity list?
2) Are there differences between two logic circuits synthesized 
considering, in the first case, all input signals for a process in 
sensitivity list and part of them in second case?

Thank you

Mariano
Moderator (Company: Titel) #2413418
Rate this post
useful
not useful
> 1) Do all input signals for a process have to be listed in the
> sensitivity list?
In common: every signal that requires the simulation to calculate new 
values needs to be in the sensitivity list.

> 2) Are there differences between two logic circuits synthesized
> considering, in the first case, all input signals for a process in
> sensitivity list and part of them in second case?
No, in the best case you will get a warning or a info about a incomplete 
senitvity list. The sensitivity is ONLY for simulation purpose. with a 
incomplete or wrong sensitivity list your simulation can look ok, but 
the generated hardware is completely different.

Take this:
1
   signal a,b,clk;
2

3
   process (clk) begin
4
      a <= b;
5
   end process;
Here your simulation will look as if a is in a kind synchronous to the 
clock. In hardware theres only a wire between a and b...  :-o

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now