Encore SIM EDITOR SOFTWARE Uživatelská příručka Strana 88

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 149
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 87
2-20
Modeling Your Design
@ (posedge clk) q <=d;
Even though clk is in an event control, it is not in the sensitivity
list event control.
VCS does not infer the following latch to be a sequential device:
always begin
wait clk; q <= d; @ d;
end
There is no sensitivity list event control.
VCS infers the following latch to be a sequential device:
always @ (clk or d)
if (clk) q <= d;
The sequential controls, clk and d, are in the sensitivity list event
control.
Avoid Level Sensitive Sensitivity Lists Whose Signals are Used
“Completely”
VCS infers a combinational device instead of a sequential device if
the following conditions are both met:
The sensitivity list event control is level sensitive
A level sensitive event control does not contain the posedge or
negedge keywords.
The signals in the sensitivity list event control are used
“completely” in the always block
Used “completely” means that there is a possible simulation event
if the signal has a true or a false (1 or 0) value.
Zobrazit stránku 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 148 149

Komentáře k této Příručce

Žádné komentáře