- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
I'm looking for a way to implement a variable LUT, which can be changed using some king of API.
The problem is that my design is already +70% full, and so far I couldn't find a way to squeeze my ideas into the remaining space.
The LUT size is 3-in 3-out.
Any ideas?
Thanks.
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This heavily depends on what the changes are that you need to make to the LUT. If its e.g. just the polarity of a signal, you can use a XOR + control register. You can also use a LUT with 4 or 5 inputs, and use the extra ones to create a different logic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This heavily depends on what the changes are that you need to make to the LUT. If its e.g. just the polarity of a signal, you can use a XOR + control register. You can also use a LUT with 4 or 5 inputs, and use the extra ones to create a different logic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to be able to completely change the LUT. There is no logic that I can apply to do this. It depends on values I get from a sensor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No easy way to perform what you want to. There are a bunch of "registers" that perform the behaving of an LUT, but that is rather complex and not easy to understand. Have a look into the "PSoC® 5LP Registers TRM (Technical Reference Manual)".
Bob