- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have uploaded a new Digital Comparator component (DCmp) that is almost as fast (1/2 BUS_CLK frequency) as the Infineon version but uses significantly less PSoC resources. It also can perform SIGNED comparisons!
DCmp-V2-0-component-Upgrade-to-DCmp-with-optional-HW-inputs
Here's a quick look at some of the features compared to the Infineon component.
Method |
Infineon Digital Comparator |
CONSULTRON DCmp |
Input load |
HW |
HW, DMA or CPU |
Threshold load |
HW |
DMA or CPU |
Number of simultaneous inputs |
1 |
1 or 2 |
Number of simultaneous comparisons |
1 |
1 or 2 |
Simultaneous comparison outputs |
1 HW |
1 to 6 HW types |
Data Widths |
1- to 32- bits |
1- to 32- bits |
Comparison output glitch filter |
No (async) |
Yes (load signal sync) |
Relative PSoC resource allocation* |
>=(1/3)x@8-bits >=(2/9)x@16-bits >=(2.5/13)x@24-bits >=(3/17)x@32-bits |
(1/1)x @ 1- to 8-bits + 1 Datapath |
Relative Comparison Speed |
Fastest (async) (~10ns) |
Extremely fast using HW(1/2 BUS_CLK cmps/sec) Very fast using DMA (>4M cmps/sec) |
Signed comparisons |
No |
Yes |
Check it out.
I suggest this thread be used to share ideas how to use this component in creative ways.
"Engineering is an Art. The Art of Compromise."