Anonymous
Not applicable
May 22, 2015
01:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 22, 2015
01:39 PM
How do you access the component parameters in the component API for a custom component? I have been looking for this for about an hour now, but I can't find any documentation on it. Even the tutorial videos don't seem to talk about this.
2 Replies
Anonymous
Not applicable
May 22, 2015
01:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 22, 2015
01:46 PM
Nevermind. I just figured it out.
If anyone else is confused by this, here is an example.
If you name a component parameter INPUTS, then in your API you use `$INPUTS`. When the API is generated, this gets replaced with the value that is put into the component parameters for that instance.
May 28, 2015
01:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 28, 2015
01:27 AM
Hi Fredjikrang,
for component creation, I found the following documents helpful:
- AN82156 - PSoC 3, PSoC 4, and PSoC 5LP Designing PSoC Creator Components with UDB Datapaths
- AN82250 - PSoC 3, PSoC 4, and PSoC 5LP Implementing Programmable Logic Designs with Verilog
- PSoC Creator Component Author Guide
Regards,
Ralf