Jump to content
    

как настроить FIFO в Vivado

Здравствуйте!

 

Есть необходимость сгенерировать FIFO с сигналов количеством заполненных байт

 

Но в процессе настройке

image.thumb.png.453c2b75327cad85b3945661118c9655.png

я на выходе получаю не выбранный нужный сигнал

image.thumb.png.88f9a15b417e98178ce160327a97ef1f.png

 

При этом инстанс все таки содержит сигналы full и empty

image.thumb.png.7ab2a351a225fbbc1c2534a69c68014f.png

 

 

Share this post


Link to post
Share on other sites

14 minutes ago, addi II said:

Есть необходимость сгенерировать FIFO с сигналов количеством заполненных байт

Встроенные FIFO не содержат счётчиков -  выбирайте на первой вкладке тип  FIFO с памятью  а не встроенное. 

Share this post


Link to post
Share on other sites

Одноклоковое (синхронное) FIFO очень простая вещь. Напишите свой RTL и не мучайтесь со всякими IP core.

Share this post


Link to post
Share on other sites

11 hours ago, andrew_b said:

Одноклоковое (синхронное) FIFO очень простая вещь. Напишите свой RTL и не мучайтесь со всякими IP core.

Ну да вещь простая ... 
FWFT или обычное,  BRAM, LUT RAM, SRL, без/up/down  изменением разрядности, almost empty|full, пакетное, rollback, ...       

Share this post


Link to post
Share on other sites

On 5/9/2025 at 8:34 AM, andrew_b said:

Одноклоковое (синхронное) FIFO очень простая вещь. Напишите свой RTL и не мучайтесь со всякими IP core.

Но есть нюансы..

 

UG473:

Quote

Many FPGA designs use block RAMs to implement FIFOs. In the Xilinx® 7 series architecture, dedicated logic in the block RAM enables you to implement synchronous or dual-clock (asynchronous) FIFOs. This eliminates the need for additional CLB logic for counter, comparator, or status flag generation, and uses just one block RAM resource per FIFO.

UG949:

Quote

Synthesis Tools Inference Limitations:

For example, synthesis tools currently do not have the capability to infer the hard FIFOs from RTL descriptions. Therefore, you must instantiate them.

In case of both inference as well as instantiation, Xilinx recommends that you use the instantiation and language templates from the Vivado Design Suite language templates.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...