This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I have certain data being fetched inside the CLB of the microcontroller. Is there a way to compare these data (greater than or less than) and output an event or signal. I couldn't find any mention of the digital comparator in the CLB and the counter block only functions for a match event (and not comparison).
Any advice on this?
Hello Anurag,
Is there a way to compare these data (greater than or less than) and output an event or signal.
The CLB uses Boolean logic for all operations, so it can only do bitwise AND, OR, etc. or matching values like you stated. There is no less than/greater than support for the look-up tables, so if you wish to compare two values you will need to do this operation in your C program (although you may be able to utilize something like the CLA for this).
Best regards,
Omer Amir