FIELD: computer technology.
SUBSTANCE: two-threshold comparator of the binary bit range is disclosed, containing an N-bit input bus D, an input bus of a lower threshold (of boundary) GL and an input bus of an upper threshold (of boundary) GM containing M bits, where M=]log2(N+1)[ (a larger integer), an output bus QL of the number of single bits up to a lower boundary, an output bus QC of the number of single bits inside the range and an output bus QM of the number of single bits above an upper boundary, also containing M bits, flag FL of single bits up to the lower boundary, flag FC of single bits inside the range, flag FM of single bits above the upper boundary, and an internal bus UL of junior ordered units, an internal bus UC of ordered units within the range, an internal bus UM of senior ordered units containing M bits, a decoder of the lower boundary 1, a decoder of the upper boundary 2, the first group 31, 32, …, 3N-1, and the second group 41, 42, …, 4N-1, each of which contains (N-1) elements OR, the group 51, 52, …, 5N of N elements OR-NOT, the first group 61, 62, …, 6N, the second group 71, 72, …, 7N, and the third group 81, 82, …, 8N, each of which contains N elements AND, the first 91, the second 92 and the third 93 blocks of counting units, as well as the first 101, the second 102 and the third 103 elements OR.
EFFECT: technical result of the invention is providing the possibility of determining the number of single bits in the given range between lower and upper boundaries and the number of single bits outside the range.
1 cl, 1 dwg, 1 tbl
Authors
Dates
2021-10-26—Published
2020-12-29—Filed