Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

SOPC Builder: Component Editor Question

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

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.