0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Vivado FIFOのリセットでハマった話

Last updated at Posted at 2025-11-24

はじめに

忘れがちなので自分用+備忘録としてまとめます。

VivadoでFIFO(First In First Out)を使った回路を組んでいるとき、
「なぜか想定通りにデータが流れない」という現象に遭遇しました。

原因はシンプルで、FIFOのReset処理。

ついResetを1クロックだけ入れればOKと思いがちなのですが、これでは正しく初期化されないケースがあります。

結論

FIFOのリセットは
1クロックでは不十分で、複数クロック保持する必要があります。

自分の環境では、4クロック分Resetを入れることで安定しました。
※FIFO IPやクロック条件により必要クロック数は変わる可能性があります。

注意ポイント

  • FIFO IPの仕様によって必要クロック数は異なる可能性あり
  • wr_clk / rd_clk のどちら基準かも意識する必要あり

学び

「とりあえず1クロック」は信用しない。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?