Sensitivity list in VHDL

OP (Company: Private) #2413359
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
Guest #2413394
1) for combinatorial logic yes,
   for clocked process only the clock
2) most synthesis tools ignore the sensivity list, giving a warning
Moderator (Company: Titel) #2413418
> 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
#2413542
For not having to care about sensitivity lists in VHDL code, I like the 
language sensitive feature

VHDL > Update > Sensitivity List (Buffer)

supplied by emacs...
Moderator (Company: Titel) #2413586
>For not having to care about sensitivity lists in VHDL code, I like
> the language sensitive feature
You can also use the corresponding VHDL 2008 all statement:
1
  process (all) begin
2
     :
3
  end process;

Reply

A question of your own? This thread is over 15 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.