When instantiating the SPI_ACCESS primitive in a design, the following error occurs during NGDBuild:
"ERROR:NgdBuild:969 - The value of SIM_DEVICE on instance 'SPI_ACCESS_inst' of type 'SPI_ACCESS' is unspecified. Please set SIM_DEVICE to a specific device for this family."
Where can I set the value for the SIM_DEVICE attribute?
To work around this error, please add a "generic map" to the HDL instantiation as below:
SIM_DEVICE => "<value>"
port map (
This allows you to set a value for the SIM_DEVICE. Allowed values for SIM_DEVICE are 3S50AN, 3S200AN, 3S400AN, 3S700AN or 3S1400AN.
The simulation model for SPI_ACCESS has different behavior for different devices, so a device-specific SIM_DEVICE attribute is required on this element because NGDBUILD does not necessarily know the target device.