Forum Discussion
Altera_Forum
Honored Contributor
7 years agoHi,
You can use structs to group together parameters to pass into a component. However, there are sometimes area penalties. if you have a struct containing members of different widths, the smaller members may be padded. Note that there is ultimately very little change in the overall design. In fact, if you ground the extra ‘padding’ bits when integrating your component with a full system, Quartus should optimize away the extra bits. Let me know if this has helped resolve the issue you are facing or if you need any further assistance. Best Regards, Anand Raj Shankar (This message was posted on behalf of Intel Corporation)