Visible to Intel only — GUID: ugj1645755388256
Ixiasoft
Visible to Intel only — GUID: ugj1645755388256
Ixiasoft
5.4.3. Acquiring the Example Design Files
Generating the µC/TCP-IP Example Designs
To generate the µC/TCP-IP Example Designs using Platform Designer, perform the following steps:
- In the Intel® Quartus® Prime software, go to Tools > Platform Designer.
- In the Platform Designer, select IP Variant.
- For Quartus project, select None.
- In the IP Variant dialog box, specify any name for your IP.
Note: You do not need to save the IP later.
- Click Select in the Component type.
- The IP Catalog opens.
- Search for Nios V/m Processor Intel FPGA IP.
- Create the IP design.
Figure 83. IP Parameter Editor for Nios® V/m Processor Intel FPGA IP - Click one of the available example designs and select your project folder. In this chapter, the associated example designs are:
- Example Design: “µC/TCP-IP IPerf Example Design"
- Example Design: “µC/TCP-IP Simple Socket Server Example Design"
- Close the IP Parameter Editor. When prompted with Save changes ?, click Don’t Save.
- Unzip the example design to your project folder. Refer to the following table for the example design files and the description.
To generate the Example Design using CLI, use the following command:
<Intel Quartus Prime installation directory>/niosv/bin/niosv-shell
ip-deploy --component-name=intel_niosv_m --output-name=niosv_m.ip
qsys-generate niosv_m.ip \
--example_design=<niosv_m.uc_tcp_ip_iperf_example_design or
niosv_m.uc_tcp_ip_sss_example_design>
unzip <a10soc_iperf.zip or a10soc_sss.zip
File | Description |
---|---|
scripts | Folder containing scripts to generate and build the example design. |
sdc | Folder containing the Synopsys Design Constraint (.sdc) files for the example design. |
software | Folder containing source code for the µC/TCP-IP application using Nios® V processor. |
create_design.py | Python script to build the example design. |
README.md | Description and steps to build the example design. |
test_design.py | Python script to program the .sof file, and run the system. |
toggle_issp.tcl | TCL script to reset the design via In-System Sources and Probes (ISSP). |
top.v | Top-level Verilog design. |
update_sof.py | Python script to update the example design after editing the software design files. |
Running the µC/TCP-IP Example Designs
The µC/TCP-IP Example Designs are provided with scripts to facilitate the build flow. The scripts are stored in the scripts folder. You may refer to the readme file (README.md) to develop the example designs using the provided scripts, or develop the design manually using the Nios® V processor tools.
The steps are as followed:
- Launch the Nios V Command Shell.
- Run create_design.py to build the example design.
quartus_py create_design.py
- Run update_sof.py if any changes are made to the software design files. The script has some options. See README.md for more details.
quartus_py update_sof.py
- Run test_design.py to program the .sof file into an Intel FPGA board and run the µC/TCP-IP example design.
quartus_py test_design.py
For more information about the hardware and software development follow, refer to Hardware Development Flow and Software Development Flow.