MATLAB: How to set the Vendor for an IP Core generated by HDL Coder

coreHDL Coderipvendor

I am facing the issue that HDL Coder generates Vivado IP cores with different vendor names on different machines. On the windows machine, it is 'mycompany.com' , but on the Ubuntu machine, it is 'user.org'.
Is it possible to set this information, such that the vendor is always the same?

Best Answer

It is currently not possible to specify the IP Core vendor in MATLAB/Simulink, since HDL Coder does not specifically set the vendor flag in the Vivado IP core. Instead, Vivado will derive the default vendor value from either the 'domainname' or 'dnsdomainname' system command.
The development team is aware of this enhancement request, and may consider adding this functionality in a future release.
To work around the issue, you may:
1. Set the correct domain name for your Ubuntu machine.
2. Manually modify line 3 of 'component.xml' inside of the generated IP core folder (for example: ./hdl_prj/ipcore/led_count_ip_v1_0/):
<spirit:vendor>mycompany.com</spirit:vendor>