Forum Discussion
Custom IP Composed Component generation using _hw.tcl
- 4 years ago
Hi @cosx
Sorry for the late reply. Do you need further help regarding to this case? Do you able to solve the issue?
*A composed component is a subsystem containing instances of other components.
*Unlike an HDL-based component, a composed component's HDL is created by generating HDL for the components in the subsystem.I don't think you need to defined the synthesized fileset of all files in the composed component as this was defined prior in each _hw.tcl file of each sub IP.
Best Regards,
Richard Tan
p/s: If any answer from the community or Intel support are helpful, please feel free to give Kudos.
I think generate_my_custom_hdl is just an example function name showing how you would then create the custom HDL yourself (with your own function) and then add that created file (the .sv file) to the fileset.
For the composed component, you would need all the files that make up the individual instances (defined in the fileset in each _hw.tcl file) within the composed component. Maybe I'm not understanding your thinking about not including all the files. If you don't include all the files, how would the individual instances work?
- cosx5 years ago
Occasional Contributor
Thank you so much for your reply!
My second point is more about composed IP generation. Currently the document did not give any example code of the whole generation.
For instance, if I have a composed IP that contains 3 sub customised IPs, how can I generate this composed IP?
Do I just need to add synthesized fileset of all files and then the composed IP .v is generated, or need extra commands?
Could you please give me a bit more details of this if possible?
Thank you again!
Mingqiang
- RichardT_altera4 years ago
Super Contributor
Hi @cosx
Sorry for the late reply. Do you need further help regarding to this case? Do you able to solve the issue?
*A composed component is a subsystem containing instances of other components.
*Unlike an HDL-based component, a composed component's HDL is created by generating HDL for the components in the subsystem.I don't think you need to defined the synthesized fileset of all files in the composed component as this was defined prior in each _hw.tcl file of each sub IP.
Best Regards,
Richard Tan
p/s: If any answer from the community or Intel support are helpful, please feel free to give Kudos.