How to generate Generic VHDL from simulink for sysgen model?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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?
0 comentarios
Respuestas (3)
Kiran Kintali
el 2 de Ag. de 2024
Editada: Kiran Kintali
el 2 de Ag. de 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 comentarios
Kiran Kintali
el 2 de Ag. de 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')
Keththura
el 2 de Ag. de 2024
2 comentarios
Kiran Kintali
el 2 de Ag. de 2024
HDL Coder supports blocks from the native Simulink library.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!