S-Function with Separate C Code and VHDL generation
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I'm attempting to generate an s-function block that can generate (and connect to other components) VHDL code or C code depending on its placement and how I select components for code generation. It looks like this is possible with C but I am having trouble finding resources for VHDL generation. Any help would be greatly appreciated.
0 Commenti
Risposte (1)
Kaustubha Govind
il 18 Giu 2012
I don't think HDL code generation is supported for S-functions, but you might be able to get around it by wrapping the S-function with a subsystem that is defined as a Black Box Implementation.
2 Commenti
Kaustubha Govind
il 27 Giu 2012
Do you mean that you have your own HDL implementation for the block? If yes, I believe that's exactly what the Black Box implementation let's you do - associate your own HDL implementation with a subsystem.
Vedere anche
Categorie
Scopri di più su HDL Coder in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!