Build Error When FPGA or Processor Model Not Detected
When you use the SoC Builder tool to deploy your design on an SoC device, you must open SoC Builder from the top model of your design. The top model must include one referenced model, such as an FPGA model or a processor model. When you open SoC Builder from a location other than the top model, you might see this error message:
FPGA or processor model not detected. You must launch SoC Builder from the top model
.
If you see this error message, follow these steps to run SoC Builder from the top model.
Close SoC Builder.
Navigate to the top model of your design.
Reopen SoC Builder, and follow the instructions to build your design. For more information about generating an SoC design, see Use SoC Builder to Generate SoC Design.
For more information about SoC Blockset™ model structure, see SoC Blockset Model Structure.
If you still see the error message when you build your design from the top model, the SoC Builder cannot detect an FPGA reference model or a processor reference model in your design. The top model must reference an FPGA model or processor model (or both) that include a Model block.
If your top model references an FPGA model, follow these steps to confirm correct FPGA model settings. For more information, see User Logic on FPGA.
Open the FPGA model. On the Modelling tab, click Model Settings. In the Configuration parameters dialog box, in the Hardware Implementation pane, set Hardware board to
None
and Device vendor toASIC/FPGA
.In the Solver pane, set Solver selection > Type to
Fixed-step
.Click OK to apply the changes and close the dialog box.
If your top model references a processor model, follow these steps to confirm correct processor model settings. For more information, see Software and Task Management on Processor.
Check that the processor model is driven by a Task Manager block.
Check that the Hardware board parameter of the processor model matches the Hardware board parameter of the top model. To set the Hardware board parameter, first open the processor model. On the Modelling tab, click Model Settings. In the configuration parameters dialog box, in the Hardware Implementation pane, set Hardware board to match the same parameter value for the top model.
Click OK to apply the changes and close the dialog box.