How to generate Generic VHDL from simulink for sysgen model?

2 Ansichten (letzte 30 Tage)
Keththura
Keththura am 2 Aug. 2024
Kommentiert: Keththura am 2 Aug. 2024
I have used xilinx basic blocks to design a model. I wanted to generate generic VHDL without xilinx specific references. Eventhough i have choosen Behavioural HDL for implementation generated vhdl consist of xilinx specific DFlip-Flop and SRLUTs. Kindly let me know if there is a way? if the option is not being applied then how can we write a matlab sript to set automatically without doing it manually?

Antworten (3)

Kiran Kintali
Kiran Kintali am 2 Aug. 2024
Bearbeitet: Kiran Kintali am 2 Aug. 2024
HDL Coder by default generates generic RTL. The RTL is vendor independent but target optimized. The generated RTL can be taken to any FPGA/SoC or an ASIC.
Can you let us know what you mean by Xilinx specific RTL. There is only one instance when you request use of the Floating Point library for Xilinx you would see any Xilinx specific floating point library primitives.
Please share a sample model for reference.
  2 Kommentare
Keththura
Keththura am 2 Aug. 2024
Thanks for your promt response.
My model has xilinx adders and delay units. Its is designed to support with xilinx FPGA. As the second use case i wanted to generete VHDL and do the synthesis with ASIC tools. When i use Sysgen token to generate VHDL the generated VHDL has three references to Xilinx components mentioned multiple times throughout the VHDL they are “FDE”, “fdse” & “SRLC32”.
These are denoting D-flipflops and 32 clock cycle - variable length Shift register LUT with clock enabled. They are not supported in the Synthesis.
Is there a way to generate generic VHDL without these xilinx references
Kiran Kintali
Kiran Kintali am 2 Aug. 2024
Can you confirm you use HDL Coder? https://www.mathworks.com/products/hdl-coder.html
Try these commands and check the synthesizable generated code
>> sfir_fixed
>> makehdl('sfir_fixed/symmetric_fir')

Melden Sie sich an, um zu kommentieren.


Keththura
Keththura am 2 Aug. 2024

Keththura
Keththura am 2 Aug. 2024
I had tried from sysgen token to generate then it is succesfully generated but had those xilinx references. when i use simulink HDL coder then getting these error messages.
  2 Kommentare
Keththura
Keththura am 2 Aug. 2024
Normally i heard that if we select the behavioural HDL options in the xilinx blocks it will generate a generic VHDL that can be support for ASIC synthesis. But dont know the exact steps. Is there a way i could not able to design it using simulink blocks since i am using fixed point input formate.

Melden Sie sich an, um zu kommentieren.

Produkte


Version

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by