Minimum and maximum value searching method

申请号 EP98309348.5 申请日 1998-11-17 公开(公告)号 EP0918292A3 公开(公告)日 2000-03-01
申请人 LUCENT TECHNOLOGIES INC.; 发明人 Mobin, Mohammad Shafiul; Simanapalli, Sivanand; Tate, Larry R.;
摘要 The invention includes a method of identifying an extremum value and an index in a group of values where each value has an associated index. A count register (100) is initialized to an initial count. A value from the group as well as a predetermined value are provided simultaneously to an arithmetic logic unit (26) and a multiplexer (92). The value from the group and the predetermined value are compared in the arithmetic logic unit (26). A selector (88) is set to one of a first or second logic state. In the first logic state the selector (88) selects a minimum; in the second logic state the selector selects a maximum. One of the value and the predetermined value are selected as an extremum based on a flag (84) set by the comparison in the arithmetic logic unit (26) and the selector. The predetermined value is replaced with the extremum and the count register count is stored when the selector (88) is set to a first state and the value is less than the predetermined value. The predetermined value is replaced with the extremum and the count register count is stored when the selector (88) is set to the second state and the value is greater than the predetermined value.
权利要求
说明书全文
QQ群二维码
意见反馈