FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6432 Discussions

DSP Builder FIFO

Finees
Beginner
1,278 Views

Hi Intel team,

I am supporting a customer on a DSP Builder project on MatLab R2022a. However, we need a FIFO block that works with two clocks, one for reading and one for writing, i.e. a dual clock FIFO.
At the moment, I have only found a single port FIFO block as described in the following link.
https://www.intel.com/content/www/us/en/docs/programmable/683337/23-3/fifo.html

Could you suggest any block with these characteristics?

 

Thank you

0 Kudos
1 Solution
Kshitij_Intel
Employee
1,159 Views

Hi,


Yes, you can import the HDL. Please use the 16.2.1. HDL Import (intel.com).


It will solve your problem.


Thank you,

Kshitij Goel


View solution in original post

0 Kudos
8 Replies
Kshitij_Intel
Employee
1,222 Views

Hi,


Currently, we don't have the Dual Clock FIFO in the DSP builder block.


Thank you,

Kshitij Goel


0 Kudos
Finees
Beginner
1,206 Views

Hi K**bleep**ij Goel

Thanks for your response.
I know that HDL Coder generates HDL code from MATLAB functions, Simulink models (https://www.mathworks.com/help/hdlcoder/getting-started-with-hdl-coder.html).

I was wondering if there is a function that converts HDL code (VHDL or Verilog) into a Simulink block or something similar, as I have Verilog code from a dual clock FIFO memory that I would like to include in a Simulink model.

 

Regards,

0 Kudos
Kshitij_Intel
Employee
1,160 Views

Hi,


Yes, you can import the HDL. Please use the 16.2.1. HDL Import (intel.com).


It will solve your problem.


Thank you,

Kshitij Goel


0 Kudos
Finees
Beginner
1,131 Views

Hi,


Thanks for the recommendation. This is useful for me.
I have implemented some Verilog examples and imported them with the HDL Import function and they worked.
On the other hand, I have implemented a Verilog example of a dual clock FIFO memory and tried to import it, but it gives me error:

Finees_2-1700847592047.png

Is there anyway to use two clocks in general in DSP? DSP builder does not provide any provision for clock to any of its components. It takes the default clock which one sets in the control block.

 

Thank you,

Finees

0 Kudos
Kshitij_Intel
Employee
1,054 Views

Hi,


Yes, that will work as a system clock (Maximum Clock). the write clock and read clock will be your normal 1-bit signals and the inputs to it is like clocks, you want to give.


You can share your example design. I will take a look and check how it can be done as per your requirements.

Hope this helps.


Thank you,

Kshitij Goel


0 Kudos
Finees
Beginner
997 Views

Hi,

 

Regarding of your last comment I'm a bit confused: "Yes, that will work as a system clock (Maximum Clock). the write clock and read clock will be your normal 1-bit signals and the inputs to it is like clocks, you want to give.

 

Are you referring to the write and read clock signals in the FIFO when I tried to import from Verilog to the simulation block?

 

Thanks,

Finees

0 Kudos
Kshitij_Intel
Employee
984 Views

Hi Finees,


Yes, it is write clock and read clock signal in the FIFO.


Thank you,

Kshitij Goel


0 Kudos
Kshitij_Intel
Employee
926 Views

Hi,


As we do not receive any response from you on the previous answer that we have provided. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


Thank you,

Kshitij Goel


0 Kudos
Reply