CN103714258A - Two-valued logic function quick optimization processing method - Google Patents

Two-valued logic function quick optimization processing method Download PDF

Info

Publication number
CN103714258A
CN103714258A CN201410005741.9A CN201410005741A CN103714258A CN 103714258 A CN103714258 A CN 103714258A CN 201410005741 A CN201410005741 A CN 201410005741A CN 103714258 A CN103714258 A CN 103714258A
Authority
CN
China
Prior art keywords
delete
item
implicant
redundant
send
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410005741.9A
Other languages
Chinese (zh)
Other versions
CN103714258B (en
Inventor
邱建林
陈建平
顾翔
高凌源
李芬
陈莉
潘阳
杨娜
卞彩峰
陆鹏程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nantong University Technology Transfer Center Co ltd
Original Assignee
Nantong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nantong University filed Critical Nantong University
Priority to CN201410005741.9A priority Critical patent/CN103714258B/en
Publication of CN103714258A publication Critical patent/CN103714258A/en
Application granted granted Critical
Publication of CN103714258B publication Critical patent/CN103714258B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a two-valued logic function quick optimization processing method. The method comprises the steps of real source item set formation, relatively real implication item set formation, non-redundancy coverage optimization process and optimization result formation. According to the method, on the condition that a function complementary set is not calculated, a smallest special item is selected to solve the real source item set, a remodeling set is used for solving a real implication item set, then, non-redundancy coverage optimization is conducted, and finally the logic function optimization result is obtained after the real source item set is combined with the real implication item set. The method is simple and convenient and improves the efficiency and the accuracy of logic function quick optimization.

Description

一种二值逻辑函数快速优化处理方法A Fast Optimization Processing Method of Binary Logical Function

技术领域technical field

本发明涉及一种二值逻辑函数快速优化处理方法。The invention relates to a fast optimization processing method of a binary logic function.

背景技术Background technique

逻辑优化是数字电路自动设计的基础,数字电路计算机辅助设计(Computer Aided Design,CAD)系统的发展对计算机科学的诸多领域都有深远的影响,对高速度、高集成度、高复杂度和高可靠性电路的需求越来越迫切。在国际上,逻辑优化的问题是计算机科学及相关领域的研究热点。逻辑优化是集成电路逻辑综合的关键技术,求基于某一优化目标的最优逻辑优化的问题已被证明是NP难题。目前有多种方法可以实现逻辑函数优化,一般采用寻求近似优化的方法。集成电路逻辑优化的关键技术是:①使逻辑优化结果中不同“与”项(AND)表达式总数最少,即减少“与”门个数;②减少“与”项表达式中所含变量的总数,即使“与”门电路输入端个数最少;③寻求逻辑优化的形式化表示方法。Logic optimization is the basis of automatic design of digital circuits. The development of digital circuit computer aided design (Computer Aided Design, CAD) system has a profound impact on many fields of computer science. The need for reliability circuits is becoming more and more urgent. Internationally, the problem of logic optimization is a research hotspot in computer science and related fields. Logic optimization is the key technology of integrated circuit logic synthesis, and the problem of finding the optimal logic optimization based on a certain optimization goal has been proved to be NP-hard. At present, there are many ways to realize the optimization of logic functions, and the method of seeking approximate optimization is generally used. The key technology of integrated circuit logic optimization is: ① Make the total number of different "AND" expressions in the logic optimization results the least, that is, reduce the number of "AND" gates; ② reduce the number of variables contained in the "AND" expression The total number, even if the number of input terminals of the "AND" gate circuit is the least; ③ seek a formalized representation method for logic optimization.

发明内容Contents of the invention

本发明的目的在于提供一种简便、效果好的二值逻辑函数快速优化处理方法。The purpose of the present invention is to provide a simple and effective binary logic function fast optimization processing method.

本发明的技术解决方案是:Technical solution of the present invention is:

一种二值逻辑函数快速优化处理方法,其特征是:包括下列步骤:A binary logic function fast optimization processing method is characterized in that: comprising the following steps:

(一)实质本源项集合的形成:实质本源项集合标识为E;(1) Formation of the set of substantial original items: the set of essential original items is marked as E;

(1)实质本源项的生成步骤如下:(1) The steps to generate the substantive source items are as follows:

对本源蕴涵项进行扩展,计算出相邻相交集,本源蕴涵项标识为Qi,相邻相交集标识为:AIC(Qi);若则Qi为冗余项,将之从导通集中删除;否则将Qi送至无关集及E中,同时从CDC中删除Qi所蕴涵的项,冗余项标识为:Ri,导通集标识为:CON,无关集标识为:CDCExtend the original implicant to calculate the adjacent intersection set, the original implicant is marked as Q i , and the adjacent intersection set is marked as: AIC(Q i ); if Then Q i is a redundant item, delete it from the conduction set; otherwise, send Q i to the irrelevant set and E, and delete the item contained in Q i from CDC at the same time, the redundant item is identified as: Ri, lead The common set is identified as: C ON , the unrelated set is identified as: C DC ;

(2)AIC(Qi)的计算方法:(2) Calculation method of AIC(Q i ):

AIC(Qi)应同时满足3个条件:(a)与Qi互为相邻项且

Figure BDA0000453887500000023
(b)在CDC中与Qi相交;(c)在CON中与Qi相交但不包含Qi;AIC(Q i ) should satisfy three conditions at the same time: (a) and Q i are adjacent items and
Figure BDA0000453887500000023
(b) intersect Q i in C DC ; (c) intersect Q i but not include Q i in C ON ;

(3)生成规则:(3) Generation rules:

(a)若CON中的某一项蕴涵于Qi展开后的集合,则从CON中将该项删除;(a) If an item in C ON is contained in the expanded set of Q i , delete the item from C ON ;

(b)若满足条件:则Qi为实质本源项,将Qi送至E及CDC中,同时从CON中将之删除;(b) If the conditions are met: Then Q i is the real original item, send Q i to E and C DC , and delete it from C ON at the same time;

(二)相对实质蕴涵项集合的形成:相对实质蕴涵项集合标识为:P*(2) The formation of the relative substantive implicant set: the relative substantive implicant set is identified as: P * ;

(1)相对实质蕴涵项的生成步骤描述如下:相对实质蕴涵项标识为:Pi *(1) The steps of generating the relative substantial implicant are described as follows: the relative substantial implicant is identified as: P i * ;

(a)找出与CDC相交的集合送至CON;(b)重塑集合——将冗余项从CON中删除,以减小CON覆盖的规模;(c)若CON中的所有项都不与CDC相交或者CDC为空时,则选择最小的相邻度的最大集合,将之送至CDC及P*中,同时将之从CON中删除,最小的相邻度标识为:DA;若CON中的最大的DA相同,则选择与CON中的其它集合非空相交的那个集合,将之送至CDC及P*中,同时将之从CON中删除;(d)对CON中的每个Pi *,若

Figure BDA0000453887500000031
(CON∪CDC#Pi *)包含的集合不多于一个则应重塑;对Pi *扩展进行重塑后,将之移入CDC及P*中,同时将之从CON中删除;否则,若(CON∪CDC#Pi *)包含的集合不止一个,则选择最大的DA的集合送至CDC及P*中,同时将之从CON中删除;执行完后转至(c),直至CON为空;(a) Find out the set that intersects with C DC and send it to C ON ; (b) Reshape the set——delete redundant items from C ON to reduce the scale of C ON coverage; (c) If in C ON When all the items in C DC are not intersected with C DC or C DC is empty, select the largest set of the smallest adjacent degree, send it to C DC and P * , and delete it from C ON at the same time, the smallest phase Neighborhood is marked as: DA; if the largest DA in C ON is the same, select the set that intersects non-empty with other sets in C ON , send it to C DC and P * , and transfer it from C ON Delete in; (d) For each P i * in C ON , if
Figure BDA0000453887500000031
(C ON ∪C DC #P i * ) should be reshaped if it contains no more than one set; after reshaping the expansion of P i * , move it into C DC and P * , and remove it from C ON delete; otherwise, if (C ON ∪C DC #P i * ) contains more than one set, then select the largest DA set and send it to C DC and P * , and delete it from C ON at the same time; go to (c) after execution , until C ON is empty;

(2)生成规则:(2) Generation rules:

对CON中的某个集合,若该集合的某个子集既不被其它CON覆盖,也不被CDC覆盖,则需对之扩展,以便重塑P*使之覆盖CON中的其它集合;For a set in C ON , if a certain subset of the set is neither covered by other C ON nor covered by C DC , it needs to be extended so as to reshape P * to cover other in C ON gather;

(三)无冗余覆盖优化过程(3) Non-redundant coverage optimization process

(1)无冗余覆盖优化处理方法:(1) Non-redundant coverage optimization processing method:

从E、P*和冗余项集合中选出一个最小的P*,使得P*∪E仍是函数的一个覆盖;冗余项集合标识为:R,是Ri的集合;Select a minimum P * from E, P * and redundant item set, so that P * ∪ E is still a coverage of the function; the redundant item set is identified as: R, which is the set of Ri;

(2)生成规则:(2) Generation rules:

将本源蕴涵项集合Q分为三个互不相交的子集Q={E,R,P*};通过前面所,描述的方法中已经分别形成产生E,R,P*;求最小列覆盖,选取最小的P*Divide the original implicant set Q into three mutually disjoint subsets Q={E, R, P * }; through the above, E, R, P * have been formed respectively in the described method; find the minimum column coverage , select the smallest P * ;

(四)优化结果的形成:(4) Formation of optimization results:

Q=P*∪E。Q=P * ∪E.

本发明在不计算函数补集的情况下,通过选取特殊最小项求解实质本源项集合,通过重塑集合求解相对实质蕴涵项集合,再经过无冗余覆盖优化,最后将实质本源项集合与相对实质蕴涵项集合合并即为逻辑函数优化结果。本发明方法简便,提高了逻辑函数快速优化的效率和准确性。In the case of not calculating the function complement, the present invention solves the set of essential original items by selecting a special minimum item, solves the set of relative essential implicants by reshaping the set, and then optimizes the non-redundant coverage, and finally combines the set of essential original items with the relative The merging of substantive implicant sets is the result of logic function optimization. The method of the invention is simple and convenient, and improves the efficiency and accuracy of rapid optimization of logic functions.

下面结合附图和实施例对本发明作进一步说明。The present invention will be further described below in conjunction with drawings and embodiments.

图1是E识别过程图。Figure 1 is a diagram of the E recognition process.

图2是P*的识别示意图。Figure 2 is a schematic diagram of the identification of P * .

图3是集合重塑过程图Figure 3 is a diagram of the set reshaping process

图4是相对实质蕴涵项集合P*示意图。Fig. 4 is a schematic diagram of relative substantive implicants set P * .

具体实施方式Detailed ways

一种二值逻辑函数快速优化处理方法,包括下列步骤:A fast optimization processing method for a binary logic function, comprising the following steps:

1实质本源项集合(标识为:E)的形成1 The formation of the set of essential source items (identified as: E)

1.1实质本源项的生成步骤描述如下:1.1 Essentially, the steps to generate the source item are described as follows:

对本源蕴涵项(标识为:Qi)进行扩展,计算出相邻相交集(标识为:AIC(Qi))。若

Figure BDA0000453887500000041
则Qi为冗余项(标识为:Ri),将之从导通集(标识为:CON)中删除;否则将Qi送至无关集(标识为:CDC)及E中,同时从CDC中删除Qi所蕴涵的项。The original implicant (identified as: Q i ) is extended to calculate the adjacent intersection set (identified as: AIC(Q i )). like
Figure BDA0000453887500000041
Then Q i is a redundant item (identified as: Ri), and it is deleted from the on-set (identified as: C ON ); otherwise, Q i is sent to the irrelevant set (identified as: C DC ) and E, and at the same time Delete the term implied by Q i from C DC .

1.2AIC(Qi)的计算方法:1.2 Calculation method of AIC(Q i ):

AIC(Qi)应同时满足3个条件:(1)与Qi互为相邻项且

Figure BDA0000453887500000042
(2)在CDC中与Qi相交;(3)在CON中与Qi相交但不包含Qi。AIC(Q i ) should satisfy three conditions at the same time: (1) It is adjacent to Q i and
Figure BDA0000453887500000042
(2) Intersect Q i in C DC ; (3) Intersect Q i but not include Q i in C ON .

1.3生成规则:1.3 Generation rules:

(1)若CON中的某一项蕴涵于Qi展开后的集合,则应从CON中将该项删除;(2)若满足条件:

Figure BDA0000453887500000051
则Qi为实质本源项,应将Qi送至E及CDC中,同时从CON中将之删除。(1) If an item in C ON is contained in the expanded set of Q i , the item should be deleted from C ON ; (2) If the conditions are met:
Figure BDA0000453887500000051
Then Q i is the substantive source item, Q i should be sent to E and C DC , and deleted from C ON at the same time.

2相对实质蕴涵项集合(标识为:P*)的形成2 Formation of the set of relative substantive implicants (identified as: P * )

2.1相对实质蕴涵项(标识为:Pi *)的生成步骤描述如下:2.1 The steps of generating relative substantial implicants (identified as: P i * ) are described as follows:

(1)找出与CDC相交的集合送至CON;(2)重塑集合——将冗余项从CON中删除,以减小CON覆盖的规模;(3)若CON中的所有项都不与CDC相交或者CDC为空时,则选择最小的相邻度(标识为:DA)的最大集合,将之送至CDC及P*中,同时将之从CON中删除;若CON中的最大的DA相同,则应选择与CON中的其它集合非空相交的那个集合,将之送至CDC及P*中,同时将之从CON中删除。(4)对CON中的每个Pi *,若

Figure BDA0000453887500000052
(CON∪CDC#Pi *)包含的集合不多于一个则应重塑。对Pi *扩展进行重塑后,将之移入CDC及P*中,同时将之从CON中删除;否则,若
Figure BDA0000453887500000053
(CON∪CDC#Pi *)包含的集合不止一个,则选择最大的DA的集合送至CDC及P*中,同时将之从CON中删除。执行完后转至(3),直至CON为空。(1) Find out the set that intersects with C DC and send it to C ON ; (2) Reshape the set——delete redundant items from C ON to reduce the scale of C ON coverage; (3) If in C ON When all the items in C DC do not intersect with C DC or C DC is empty, select the largest set of the smallest adjacent degree (marked as: DA), send it to C DC and P * , and transfer it from C ON Delete in C ON ; if the largest DA in C ON is the same, you should choose the set that intersects with other sets in C ON that is non-empty, send it to C DC and P * , and delete it from C ON at the same time. (4) For each P i * in C ON , if
Figure BDA0000453887500000052
(C ON ∪C DC #P i * ) shall be reshaped if it contains no more than one collection. After reshaping the expansion of P i * , move it into C DC and P * , and delete it from C ON ; otherwise, if
Figure BDA0000453887500000053
(C ON ∪C DC #P i * ) contains more than one set, then select the largest DA set and send it to C DC and P * , and delete it from C ON at the same time. Go to (3) after execution until C ON is empty.

2.2生成规则:2.2 Generation rules:

对CON中的某个集合,若该集合的某个子集既不被其它CON覆盖,也不被CDC覆盖,则需对之扩展,以便重塑P*使之覆盖CON中的其它集合。For a set in C ON , if a certain subset of the set is neither covered by other C ON nor covered by C DC , it needs to be extended so as to reshape P * to cover other in C ON gather.

3无冗余覆盖优化过程3 No-redundancy coverage optimization process

3.1无冗余覆盖优化处理方法:3.1 Non-redundant coverage optimization processing method:

从E、P*和冗余项集合(标识为:R,是Ri的集合)中选出一个最小的P*,使得P*∪E仍是函数的一个覆盖。Select a minimum P * from E, P * and redundant item set (identified as: R, which is the set of Ri), so that P * ∪E is still a coverage of the function.

3.2生成规则:3.2 Generation rules:

将本源蕴涵项集合Q分为三个互不相交的子集Q={E,R,P*}。通过前面所,描述的方法中已经分别形成产生E,R,P*。求最小列覆盖,选取最小的P*Divide the original implicant set Q into three disjoint subsets Q={E, R, P * }. E, R, and P * have been formed, respectively, by the methods described above. To find the minimum column coverage, choose the smallest P * .

4优化结果的形成:4 Formation of optimization results:

Q=P*∪E。Q=P * ∪E.

实例解析:Example analysis:

例1:设CON={0000,0001,1200,1211,1121},CDC={0102},求E。Example 1: Let C ON = {0000, 0001, 1200, 1211, 1121}, C DC = {0102}, find E.

解析:(1)当Q1={0000}时:Analysis: (1) When Q 1 ={0000}:

∵{0000}经扩展后的形式为{0202}∵ {0000} is expanded to {0202}

又∵ { 0001 } ⋐ C ON { 0001 } ⋐ { 0202 } And ∵ { 0001 } ⋐ C ON and { 0001 } ⋐ { 0202 }

∴将导通集CON中的{0001}删除∴ Delete {0001} in the conduction set C ON

∵AIC={1200,1121,0102}∵AIC={1200, 1121, 0102}

{ 0202 } ⋐ E , DM={0001} { 0202 } ⋐ E. , DM={0001}

Figure BDA0000453887500000065
即无关集中含有Q1所包含的项{0102}∵
Figure BDA0000453887500000065
That is, the irrelevant set contains the item {0102} contained in Q 1

∴将{0102}从无关集中删除(即CDC#{0102})∴ Delete {0102} from irrelevant set (ie C DC #{0102})

(2)当Q2={1200}时:(2) When Q 2 ={1200}:

∵{1200}经扩展后的形式为{2200}∵ {1200} is expanded to {2200}

又∵AIC={1121,0202}And ∵AIC={1121, 0202}

Figure BDA0000453887500000071
Figure BDA0000453887500000071

{ 2200 } ⋐ E , DM={1000} { 2200 } ⋐ E. , DM={1000}

∴将{2200}送至E中∴ Send {2200} to E

(3)当Q3={1211}时:(3) When Q 3 ={1211}:

∵{1211}经扩展后的形式不变(不能被扩展)∵{1211} has the same form after expansion (cannot be expanded)

∴AIC={1121}∴AIC={1121}

Figure BDA0000453887500000072
Figure BDA0000453887500000072

{ 1211 } ⋐ E , DM={1011} { 1211 } ⋐ E. , DM={1011}

∴将{1211}送至E中∴ Send {1211} to E

(4)当Q4={1121}时:(4) When Q 4 ={1121}:

∵{1121}经扩展后的形式不变(不能被扩展)∵{1121} has the same form after expansion (cannot be expanded)

∴AIC={1211,2200,0202}∴AIC={1211, 2200, 0202}

{ 1121 } ⊂⃒ E { 1121 } ⊂⃒ E.

综上所述:E={2200,0202,1211}To sum up: E={2200, 0202, 1211}

例2:如图2所示,求P*。其中,E={0120}。Example 2: As shown in Figure 2, find P * . Among them, E={0120}.

解析:(1)重塑集合:Analysis: (1) Reshape collection:

设P1 *:{2112}Let P 1 * : {2112}

P1 *{2112}与CDC相交P 1 * {2112} intersects C DC

又∵ { 0111 } ⋐ P 1 * { 0111 } ⋐ { C ON ∪ C DC } 即不被导通集中的其它集合或无关集覆盖And ∵ { 0111 } ⋐ P 1 * and { 0111 } ⋐ { C ON ∪ C DC } That is, it is not covered by other sets in the conducting set or unrelated sets

∴对{0111}进行扩展,形成{2112}∴ Expand {0111} to form {2112}

设P2 *:{1121}Let P2 * : {1121}

P2 *{1121}与重塑集合P1 *{2112}相交 P2 * {1121} intersects the reshape set P1 * {2112}

令P2 *={1201},如图3所示Let P 2 * ={1201}, as shown in Figure 3

设P3 *:{1002}Let P 3 * : {1002}

∵P3 *{1002}与重塑集合P2 *{1201}相交∵ P 3 * {1002} intersects the reshaped set P 2 * {1201}

∴令P3 *={1020},如图2-4所示。∴ Let P 3 * ={1020}, as shown in Figure 2-4.

设P4 *:{1210}Let P 4 * : {1210}

∵P4 *{1210}与重塑集合P3 *{1020}相交∵ P 4 * {1210} intersects the reshape set P 3 * {1020}

又∵ P 4 * { 1210 } ⋐ ( P 1 * ∪ P 3 * ) And ∵ P 4 * { 1210 } ⋐ ( P 1 * ∪ P 3 * )

∴从导通集CON中删除P4 *{1210}∴ Delete P4 * {1210} from the conduction set C ON

设P5 *:{0021}Let P 5 * : {0021}

∵P5 *{0021}与导通集中的其它集合不相交∵P 5 * {0021} is disjoint from other sets in the conducting set

∴P5 *保持不变∴ P 5 * stays the same

(2)∵{2112}与CDC相交(2) ∵{2112} intersects with C DC

又∵{2112}的子集

Figure BDA0000453887500000081
未被覆盖And a subset of ∵{2112}
Figure BDA0000453887500000081
not covered

∴选取导通集中最大集合{2112}送至无关集CDC及P*中,同时将之从导通集CON中删除∴ Select the largest set {2112} in the conduction set and send it to the irrelevant set C DC and P * , and delete it from the conduction set C ON

经检查,导通集CON中不存在与{2112}相交的集合After checking, there is no set intersecting with {2112} in the conduction set C ON

∴从导通集CON中得P2 *{1201},P3 *{1020},P5 *{0021}为最大集合∴ From the conduction set C ON , P 2 * {1201}, P 3 * {1020}, P 5 * {0021} are the largest set

∵P3 *{1020},P5 *{0021}与导通集不相交∵P 3 * {1020}, P 5 * {0021} are disjoint to the conducting set

∴将P5 *{0021}送至CDC及P*中,并且将该集合从CON中删除∴ Send P 5 * {0021} to C DC and P * , and delete this set from C ON

∵对于导通集余下的集合与无关集不相交∵ For the connected set the rest of the sets are disjoint from the disjoint set

∴将余下的集合送至CDC及P*中(如图4所示)∴ Send the rest of the set to C DC and P * (as shown in Figure 4)

例3:对于一个非完全列举多输入多输出逻辑函数F的积项集合P的矩阵,求其最优覆盖集合。Example 3: For a matrix that does not fully enumerate the product item set P of the MIMO logic function F, find its optimal covering set.

Mm (( PP )) == 002002 453453 110110 544544 101101 445445 100100 354354 012012 344344 101101 534534

多输入多输出逻辑函数F的积项集合P的矩阵The matrix of the product term set P of the multiple-input multiple-output logic function F

解析:根据要求得本源蕴涵项M(P)和无关项M(D),经积项扩展后得扩展后逻辑函数的积项集合矩阵M(G)。Analysis: get original implicant M(P) and irrelevant item M(D) according to requirements, and get the product term set matrix M(G) of the extended logic function after product term expansion.

Mm (( PP )) == 002002 453453 110110 544544 101101 445445 100100 354354 012012 344344 101101 534534

Mm (( DD. )) == 002002 343343 110110 433433 101101 334334 100100 343343 101101 433433

Mm (( GG )) == 002002 443443 120120 344344 101101 444444 102102 344344 012012 344344

再根据实质本源项、冗余项、相对实质蕴涵项的识别方法得:And then according to the identification method of essential source item, redundant item and relative essential implicant item:

Mm (( GG EE. )) == 002002 443443 120120 344344 012012 344344

M(GR)=φM(G R )=φ

Mm (( GG PP )) == 101101 444444 102102 344344

再从相对实质蕴涵项集合GP中形成转意矩阵Then form the transfer matrix from the set of relative substantive implicants G P

BB -- == 11 00 11 11

再根据最小列覆盖选择,选取j=1,第一列即选择相对相对实质蕴涵项集合GP的第一行为最小列覆盖P*=GP[101  444],因此P*∪GE构成最优覆盖:Then according to the selection of the minimum column coverage, select j=1, the first column is to select the first row of the relative relative substantive implicant set G P , the minimum column coverage P * =G P [101 444], so P * ∪ G E constitutes the most Excellent coverage:

Mm (( PP )) == 002002 443443 120120 344344 012012 344344 101101 444444

备注说明:instruction manual:

在集合或矩阵中出现的数字0-5的解释Interpretation of numbers 0-5 appearing in sets or matrices

0-输入变量补(反)码出现,1-输入变量源码出现,2-该输入变量不出现,0-input variable complement (reverse) code appears, 1-input variable source code appears, 2-input variable does not appear,

3-输出函数中积项出现,4-输出函数中积项不出现,5-输出函数中积项为无关项。3-The product term appears in the output function, 4-The product term does not appear in the output function, 5-The product term in the output function is irrelevant.

例:逻辑函数的矩阵表示法Example: Matrix representation of logistic functions

设F为一个多输出函数,含有n个输入变量和m个输出变量,P为给定的积项集合。设pk∈P的矢量形式为Let F be a multi-output function, which contains n input variables and m output variables, and P is a given set of product terms. Let the vector form of p k ∈ P be

VV (( pp kk )) == pp 11 kk pp 22 kk ·&Center Dot; ·&Center Dot; ·&Center Dot; pp nno kk pp nno ++ 11 kk pp nno ++ 22 kk ·&Center Dot; ·· ·&Center Dot; pp nno ++ mm kk ,,

其中 p 1 k p 2 k · · · p n k 为输入部, p n + 1 k p n + 2 k · · · p n + m k 为输出部分。in p 1 k p 2 k &Center Dot; &Center Dot; &Center Dot; p no k for the input section, p no + 1 k p no + 2 k · · · p no + m k for the output part.

输入部分的表示法,即0表示变量之补,1表示原变量,2表示变量不在积项中出现。输出部分定义如下:若积项pk不属于函数ft

Figure BDA0000453887500000114
为3,否则
Figure BDA0000453887500000115
为4。若积项pk为无关项,则
Figure BDA0000453887500000116
为5。两个部分合起来为下式:The notation of the input part, that is, 0 means the complement of the variable, 1 means the original variable, and 2 means the variable does not appear in the product term. The output part is defined as follows: if the product term p k does not belong to the function f t ,
Figure BDA0000453887500000114
is 3, otherwise
Figure BDA0000453887500000115
for 4. If the product term p k is irrelevant, then
Figure BDA0000453887500000116
for 5. The two parts together form the following formula:

Figure BDA0000453887500000117
Figure BDA0000453887500000117

例.给定函数的一个覆盖为Example. An override for the given function is

ff 11 == xx 11 xx 33 ++ xx 11 xx 33 ‾‾ ++ xx 11 ‾‾ xx 33 ++ xx 11 ‾‾ xx 22 xx 33

ff 22 == xx 11 xx 33 ++ xx 11 xx 22 xx 33 ‾‾ ++ xx 11 xx 22 ‾‾ ++ xx 11 ‾‾ xx 22 xx 33

则它的矩阵形式为Then its matrix form is

Mm (( Ff )) == 121121 4444 120120 4343 110110 3434 102102 3434 021021 4343 011011 4444 (( 11 )) (( 22 )) (( 33 )) (( 44 )) (( 55 )) (( 66 )) ..

Claims (1)

1.一种二值逻辑函数快速优化处理方法,其特征是:包括下列步骤:1. a binary logic function fast optimization processing method is characterized in that: comprise the following steps: (一)实质本源项集合的形成:实质本源项集合标识为E;(1) Formation of the set of substantial original items: the set of essential original items is marked as E; (1)实质本源项的生成步骤如下:(1) The steps to generate the substantive source item are as follows: 对本源蕴涵项进行扩展,计算出相邻相交集,本源蕴涵项标识为Qi,相邻相交集标识为:AIC(Qi);若
Figure FDA0000453887490000012
则Qi为冗余项,将之从导通集中删除;否则将Qi送至无关集及E中,同时从CDC中删除Qi所蕴涵的项,冗余项标识为:Ri,导通集标识为:CON,无关集标识为:CDC
Extend the original implicant to calculate the adjacent intersection set, the original implicant is marked as Q i , and the adjacent intersection set is marked as: AIC(Q i ); if
Figure FDA0000453887490000012
Then Q i is a redundant item, delete it from the conduction set; otherwise, send Q i to the irrelevant set and E, and delete the item contained in Q i from CDC at the same time, the redundant item is identified as: Ri, lead The common set is identified as: C ON , the unrelated set is identified as: C DC ;
(2)AIC(Qi)的计算方法:(2) Calculation method of AIC(Q i ): AIC(Qi)应同时满足3个条件:(a)与Qi互为相邻项且
Figure FDA0000453887490000013
(b)在CDC中与Qi相交;(c)在CON中与Qi相交但不包含Qi;
AIC(Q i ) should satisfy three conditions at the same time: (a) and Q i are adjacent items and
Figure FDA0000453887490000013
(b) intersect Q i in C DC ; (c) intersect Q i but not include Q i in C ON ;
(3)生成规则:(3) Generation rules: (a)若CON中的某一项蕴涵于Qi展开后的集合,则从CON中将该项删除;(a) If an item in C ON is contained in the expanded set of Q i , delete the item from C ON ; (b)若满足条件:
Figure FDA0000453887490000011
则Qi为实质本源项,将Qi送至E及CDC中,同时从CON中将之删除;
(b) If the conditions are met:
Figure FDA0000453887490000011
Then Q i is the real original item, send Q i to E and C DC , and delete it from C ON at the same time;
(二)相对实质蕴涵项集合的形成:相对实质蕴涵项集合标识为:P*(2) The formation of the relative substantive implicant set: the relative substantive implicant set is identified as: P * ; (1)相对实质蕴涵项的生成步骤描述如下:相对实质蕴涵项标识为:Pi *(1) The steps of generating the relative substantial implicant are described as follows: the relative substantial implicant is identified as: P i * ; (a)找出与CDC相交的集合送至CON;(b)重塑集合——将冗余项从CON中删除,以减小CON覆盖的规模;(c)若CON中的所有项都不与CDC相交或者CDC为空时,则选择最小的相邻度的最大集合,将之送至CDC及P*中,同时将之从CON中删除,最小的相邻度标识为:DA;若CON中的最大的DA相同,则选择与CON中的其它集合非空相交的那个集合,将之送至CDC及P*中,同时将之从CON中删除;(d)对CON中的每个Pi *,若(CON∪CDC#Pi *)包含的集合不多于一个则应重塑;对Pi *扩展进行重塑后,将之移入CDC及P*中,同时将之从CON中删除;否则,若
Figure FDA0000453887490000022
(CON∪CDC#Pi *)包含的集合不止一个,则选择最大的DA的集合送至CDC及P*中,同时将之从CON中删除;执行完后转至(c),直至CON为空;
(a) Find the set that intersects with C DC and send it to C ON ; (b) Reshape the set——delete redundant items from C ON to reduce the scale of C ON coverage; (c) If in C ON When all the items in C DC do not intersect with C DC or C DC is empty, select the largest set of the smallest adjacent degree, send it to C DC and P * , and delete it from C ON at the same time, the smallest phase Neighborhood is marked as: DA; if the largest DA in C ON is the same, select the set that intersects with other sets in C ON that is non-empty, send it to C DC and P * , and transfer it from C ON Delete in; (d) For each P i * in C ON , if (C ON ∪C DC #P i * ) should be reshaped if it contains no more than one set; after reshaping the expansion of P i * , move it into C DC and P * , and remove it from C ON delete; otherwise, if
Figure FDA0000453887490000022
(C ON ∪C DC #P i * ) contains more than one set, then select the largest DA set and send it to C DC and P * , and delete it from C ON at the same time; go to (c) after execution , until C ON is empty;
(2)生成规则:(2) Generation rules: 对CON中的某个集合,若该集合的某个子集既不被其它CON覆盖,也不被CDC覆盖,则需对之扩展,以便重塑P*使之覆盖CON中的其它集合;For a set in C ON , if a certain subset of the set is neither covered by other C ON nor covered by C DC , it needs to be extended so as to reshape P * to cover other in C ON gather; (三)无冗余覆盖优化过程(3) Non-redundant coverage optimization process (1)无冗余覆盖优化处理方法:(1) Non-redundant coverage optimization processing method: 从E、P*和冗余项集合中选出一个最小的P*,使得P*∪E仍是函数的一个覆盖;冗余项集合标识为:R,是Ri的集合;Select a minimum P * from E, P * and redundant item set, so that P * ∪ E is still a coverage of the function; the redundant item set is identified as: R, which is the set of Ri; (2)生成规则:(2) Generation rules: 将本源蕴涵项集合Q分为三个互不相交的子集Q={E,R,P*};通过前面所,描述的方法中已经分别形成产生E,R,P*;求最小列覆盖,选取最小的P*Divide the original implicant set Q into three mutually disjoint subsets Q={E, R, P * }; through the above, E, R, P * have been formed respectively in the described method; find the minimum column coverage , select the smallest P * ; (四)优化结果的形成:(4) Formation of optimization results: Q=P*∪E。Q=P * ∪E.
CN201410005741.9A 2014-01-07 2014-01-07 A kind of two-valued function function rapid Optimum processing method Active CN103714258B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410005741.9A CN103714258B (en) 2014-01-07 2014-01-07 A kind of two-valued function function rapid Optimum processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410005741.9A CN103714258B (en) 2014-01-07 2014-01-07 A kind of two-valued function function rapid Optimum processing method

Publications (2)

Publication Number Publication Date
CN103714258A true CN103714258A (en) 2014-04-09
CN103714258B CN103714258B (en) 2016-08-17

Family

ID=50407224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410005741.9A Active CN103714258B (en) 2014-01-07 2014-01-07 A kind of two-valued function function rapid Optimum processing method

Country Status (1)

Country Link
CN (1) CN103714258B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105447241A (en) * 2015-11-16 2016-03-30 浙江万里学院 ESOP minimization method for logic function

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034758A (en) * 2012-12-07 2013-04-10 南通大学 Logic optimizing and parallel processing method of integrated circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034758A (en) * 2012-12-07 2013-04-10 南通大学 Logic optimizing and parallel processing method of integrated circuit

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
邱建林等: "一种基于积项扩展的大变量多输出逻辑优化算法的设计与实现", 《江南大学学报(自然科学版)》 *
邱建林等: "大变量多输出逻辑函数实质项识别算法", 《计算机工程》 *
邱建林等: "用二值逻辑对多值逻辑进行优化", 《计算机辅助设计与图形学学报》 *
邱建林等: "逻辑函数求补算法及其改进", 《计算机工程与应用》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105447241A (en) * 2015-11-16 2016-03-30 浙江万里学院 ESOP minimization method for logic function
CN105447241B (en) * 2015-11-16 2018-03-09 浙江万里学院 A kind of ESOP of logical function of Digital Logical Circuits minimizes method

Also Published As

Publication number Publication date
CN103714258B (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN102081655B (en) Information retrieval method based on Bayesian classification algorithm
CN103617157A (en) Text similarity calculation method based on semantics
Yang et al. An effective hybrid model for opinion mining and sentiment analysis
CN104361036A (en) Association rule mining method for alarm event
CN104035954A (en) Hadoop-based recognition method for fake-licensed car
CN112380394B (en) A progressive localization method for text-to-video segment localization
CN107871035A (en) A Fast and Efficient Method for Computing Circuit Input Vector Sensitivity
US10394988B2 (en) Majority logic synthesis
CN102185606B (en) Method for reducing area of digital logic circuit
CN104462689A (en) Linear nearest neighbor quantum circuit generator
CN115422125A (en) Electronic document automatic filing method and system based on intelligent algorithm
CN103714258B (en) A kind of two-valued function function rapid Optimum processing method
CN108563637A (en) A kind of sentence entity complementing method of fusion triple knowledge base
CN103020331A (en) Power consumption optimizing method for mixed polarity XNOR/OR circuit
CN107330201A (en) A kind of fixed polarity Reed Muller logic circuit polarity search methods
CN101510124A (en) Context relevant sensitization cue input method
CN117236246A (en) Unit time sequence prediction method, device and medium considering multi-input conversion effect
CN101944009B (en) Device for processing divider quotient in integrated circuit
Aksoy et al. Novel methods for efficient realization of logic functions using switching lattices
CN107679326A (en) A kind of two-value FPRM circuit areas and delay comprehensive optimization method
CN1804849B (en) Floor plan planning method for multi-clock system
CN105447008A (en) Distributed processing method and system for time series clustering
CN103729519A (en) Method for selecting and processing coverage solution logic function containing items based on minterm
CN106027032A (en) RM logic circuit delay optimization method in unit delay model
CN103745061A (en) Processing method of multi-input and multi-output logic function optimization system based on minimum terms

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210628

Address after: 226019 No.205, building 6, Nantong University, No.9, Siyuan Road, Nantong City, Jiangsu Province

Patentee after: Center for technology transfer, Nantong University

Address before: 226019 Jiangsu city of Nantong province sik Road No. 9

Patentee before: NANTONG University

EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20140409

Assignee: Jiangsu Aosen Intelligent Technology Co.,Ltd.

Assignor: Center for technology transfer, Nantong University

Contract record no.: X2022320000381

Denomination of invention: A Fast Optimization Method for Binary Logic Functions

Granted publication date: 20160817

License type: Common License

Record date: 20230104

EE01 Entry into force of recordation of patent licensing contract
CP03 Change of name, title or address

Address after: 226001 No.9, Siyuan Road, Chongchuan District, Nantong City, Jiangsu Province

Patentee after: Nantong University Technology Transfer Center Co.,Ltd.

Address before: 226019 No.205, building 6, Nantong University, No.9, Siyuan Road, Nantong City, Jiangsu Province

Patentee before: Center for technology transfer, Nantong University

CP03 Change of name, title or address
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20140409

Assignee: Yizhong (Nantong) Network Technology Co.,Ltd.

Assignor: Nantong University Technology Transfer Center Co.,Ltd.

Contract record no.: X2023980053327

Denomination of invention: A Fast Optimization Method for Binary Logic Functions

Granted publication date: 20160817

License type: Common License

Record date: 20231221

EE01 Entry into force of recordation of patent licensing contract