Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

SOPC Builder: Component Editor Question

Altera_Forum
Honored Contributor II
1,055 Views

I have develop a peripherial in verilog that uses parameters. Some of these parameter are strings. The SOPC Builder componenet editor only allows integers as a parameter value. I though I could ignore this until I went to compile the design. It turns out that when sopc builder generates the code for the module, it sets the string parameters to 0. Which screws up the intended function of the design.  

 

My Question: Can I modify the ptf file so that the string value is put into the parameter and not 0 when the system is generated? 

 

Thanks 

Rob
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
351 Views

Yes, you can take the template from component editor, and modify the ptf / script to your parameters. You may have to reload SPOC builder to update the change in librarys.

0 Kudos
Reply