Reference Design: http://cn.mathworks.com/help/hdlcoder/examples/ Getting-started-with-hardware-software-codesign-workflow-for-altera-soc-platform.html
prior to the design, you need to Altera Sockit Development Board for hardware settings, detailed procedures please refer to the above link.
Adopt matlab make FPGA and the HPS the design needs to download and install a support package:
1.????? HDL Coder Support Package for Altera SoC Platform( FPGAsupported)
2.????? Embedded Coder Support Package for Altera SoC Platform( HPSsupported)
I don't know what the problem is, Embedded Coder Support package for Altera SoC Platform? This support package has not been downloaded so that it cannot be installed. (if there are any users have downloaded the installation, Exchange, thanks!) )
?
Below are FPGA section (because the second support package is not installed, HPS part of the package to be supported after installation on the supplement)
- SIMULINK: Building Models
- Altera SoC: Validation algorithm
?
Experimental process
Set the path to Quartus II software
Hdlsetuptoolpath (' toolname ', ' Altera Quartus II ', ' Toolpath ' , ' C:\Altera\13.1\quartus\bin64\quartus.exe ' );
Open Project:
Open_system (' hdlcoder_led_blinking_4bit ');
?
Appear:
???? Right-click the Led_counter module,HDL Code.? HDL Workflow Advisor, appearing,
Select Set parameters
Operation Target Board setting parameters
Configuring the Target Board interface
Generate IP Core
IP Core Generation Report
Create a project
Generating a software interface model
Since the HPS support package is not successfully downloaded, this step cannot be completed and the option to skip.
Generate FPGA Download bitstream
Download bit stream
Due to the HPS support package download is not installed, it is not possible to use MATLAB real-time Control Sockit board. If you have installed and tested embedded coder support packages for Altera SoC Platform? The user of this supporting package can exchange learning
The combination of Altera SOC and matlab---First step software installation and hardware testing