CN105610427B - A kind of programmable logic cells based on and-or inverter structure - Google Patents
A kind of programmable logic cells based on and-or inverter structure Download PDFInfo
- Publication number
- CN105610427B CN105610427B CN201510988404.0A CN201510988404A CN105610427B CN 105610427 B CN105610427 B CN 105610427B CN 201510988404 A CN201510988404 A CN 201510988404A CN 105610427 B CN105610427 B CN 105610427B
- Authority
- CN
- China
- Prior art keywords
- tube
- pfet
- nfet
- input data
- gate
- 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.)
- Active
Links
- 230000006870 function Effects 0.000 claims abstract description 64
- 238000010586 diagram Methods 0.000 description 10
- 239000002131 composite material Substances 0.000 description 7
- 238000012356 Product development Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K19/00—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
- H03K19/02—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components
- H03K19/173—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components using elementary logic circuits as components
- H03K19/177—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components using elementary logic circuits as components arranged in matrix form
- H03K19/17724—Structural details of logic blocks
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K19/00—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
- H03K19/02—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components
- H03K19/173—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components using elementary logic circuits as components
- H03K19/177—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components using elementary logic circuits as components arranged in matrix form
- H03K19/17736—Structural details of routing resources
Landscapes
- Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Semiconductor Memories (AREA)
- Design And Manufacture Of Integrated Circuits (AREA)
- Logic Circuits (AREA)
Abstract
本发明公开了一种基于与或非结构的可编程逻辑单元,其包括与或非基本单元,所述与或非基本单元在SRAM存储单元的输出控制信号的控制下实现第一输入数据和第二输入数据“与非”或者“或非”的功能;其中,所述与或非基本单元包括:上拉网络pFET逻辑电路模块和下拉网络nFET逻辑电路模块;上拉网络pFET逻辑电路模块包括至少一个第一至至少一个第五pFET管,所述下拉网络nFET逻辑电路模块包括至少一个第一至至少一个第五nFET管。本发明采用可编程与或非门(NANDOR)作为基本AIC单元,相比于与非锥结构,信号所需通过的电路级数少,面积更小,速度可更快,通过调整管子参数在实现不同功能延时差异较小。
The invention discloses a programmable logic unit based on an AND or NOT structure, which includes an AND or non basic unit, and the AND or non basic unit realizes the first input data and the second input data under the control of the output control signal of the SRAM storage unit. The function of two input data "and not" or "or not"; wherein, the AND or non-basic unit includes: a pull-up network pFET logic circuit module and a pull-down network nFET logic circuit module; the pull-up network pFET logic circuit module includes at least One first to at least one fifth pFET tube, the pull-down network nFET logic circuit module includes at least one first to at least one fifth nFET tube. The present invention uses a programmable NANDOR gate (NANDOR) as the basic AIC unit. Compared with the NANDOR structure, the number of circuit stages that the signal needs to pass through is less, the area is smaller, and the speed can be faster. By adjusting the parameters of the tube, it can achieve The difference in delay between different functions is small.
Description
技术领域technical field
本发明属于计算机可编程逻辑技术领域,尤其涉及一种基于与或非(NANDOR)结构的可编程逻辑单元。The invention belongs to the technical field of computer programmable logic, in particular to a programmable logic unit based on an NANDOR structure.
背景技术Background technique
可编程逻辑器件发展至今,已成为数字电路必不可少的实现媒介。可编程器件灵活的可编程能力使其可配置实现不同的逻辑功能,满足不同用户的功能需求。随着制造工艺的进步,可编程逻辑器件的性能不断提升。此外,可编程逻辑器件还具有较短的产品开发时间。上述优点使得可编程逻辑器件被广泛用于不同应用领域。Since the development of programmable logic devices, it has become an indispensable medium for the realization of digital circuits. The flexible programmability of programmable devices makes it configurable to implement different logic functions to meet the functional requirements of different users. With the advancement of manufacturing technology, the performance of programmable logic devices has been continuously improved. In addition, programmable logic devices also have a shorter product development time. The above advantages make programmable logic devices widely used in different application fields.
可编程逻辑器件主要由可编程逻辑模块(Configurable Logic Block,CLB)与可编程互连模块组成。CLB实现应用电路中的子逻辑功能,而可编程互连模块将各个子逻辑连接以形成完整的应用电路逻辑功能。A programmable logic device is mainly composed of a programmable logic block (Configurable Logic Block, CLB) and a programmable interconnection module. The CLB implements the sub-logic functions in the application circuit, and the programmable interconnection module connects each sub-logic to form a complete application circuit logic function.
目前主流的FPGA芯片的可编程逻辑单元(Logic Element,LE)通常通过查找表结构实现,如图1所示为一种典型的4输入查找表结构的可编程逻辑单元100的实现方式。可编程逻辑单元LUT4由1个多路选择器MUX16S1(16选1)110和16个SRAM存储单元121构成,其中多路选择器MUX16S1 110由5个MUX4S1(4选1)120构成。输入端接入信号,当存储单元SRAM121配置为不同值时,能够实现不同的可编程功能。这种结构的可编程逻辑单元有着强大的可编程能力,但是其高度的灵活性也带来了相应的面积、时延等性能开销。同时由于这种可编程逻辑单元结构仅有一个输出端,当查找表的可编程功能存在冗余时,无法复用可配置资源。A programmable logic element (Logic Element, LE) of a mainstream FPGA chip is usually realized by a look-up table structure. FIG. 1 shows a typical implementation of a programmable logic element 100 with a 4-input look-up table structure. The programmable logic unit LUT4 is composed of 1 multiplexer MUX16S1 (select 1 from 16) 110 and 16 SRAM storage units 121, wherein the multiplexer MUX16S1 110 is composed of 5 MUX4S1 (select 1 from 4) 120. When a signal is connected to the input terminal, when the storage unit SRAM121 is configured with different values, different programmable functions can be realized. The programmable logic unit of this structure has a powerful programmable capability, but its high flexibility also brings corresponding performance overheads such as area and delay. At the same time, since this programmable logic unit structure has only one output terminal, when there is redundancy in the programmable function of the look-up table, the configurable resources cannot be reused.
因此,瑞士洛桑理工大学的Hadi Parandeh等人首先提出了一种基于与非锥(And-Inverter Cone,AIC)结构的FPGA逻辑单元(美国专利US 8,836,368B2)。如图2所示,以一个3级的AIC逻辑锥AIC3 200为例,AIC3由4个底层AIC单元(Bottom AIC Element,EAE)210和3个基本AIC单元(Basic AIC Element,BAE)220组成。其中,基本AIC单元220由一个二输入与非门221、一个反相器222,一个二输入选择器223、一个SRAM配置单元224组成;底层AIC单元210实际上包含了一个基本AIC单元220,其余部分电路由两个二输入选择器211、两个个反相器212、两个SRAM配置单元213组成。一个AIC3200有8个输入端i0~i7,当存储单元SRAM配置成为不同值时,AIC3能够实现不同的逻辑功能。示例中AIC3从至少一个第二层开始输出,至少一个第一层次的运算结果并不输出。由于任何函数通过逻辑运算都能够改写成为与非单元的组合表达式。因而可将任意的函数映射到AIC组合结构上。这种逻辑单元有着多输出多输入的特点,一方面能够满足多位宽输入的运算功能,同时能够很方便地利用中间的输出结果有效利用可编程资源。Therefore, Hadi Parandeh et al. of the University of Technology in Lausanne, Switzerland first proposed an FPGA logic unit based on an And-Inverter Cone (AIC) structure (US Pat. No. 8,836,368B2). As shown in FIG. 2 , taking a three-level AIC logic cone AIC3 200 as an example, the AIC3 is composed of four bottom AIC units (Bottom AIC Element, EAE) 210 and three basic AIC units (Basic AIC Element, BAE) 220 . Wherein, the basic AIC unit 220 is made up of a two-input NAND gate 221, an inverter 222, a two-input selector 223, and an SRAM configuration unit 224; the bottom AIC unit 210 actually includes a basic AIC unit 220, and the rest Part of the circuit is composed of two two-input selectors 211 , two inverters 212 , and two SRAM configuration units 213 . An AIC3200 has 8 input terminals i0-i7, when the storage unit SRAM is configured with different values, AIC3 can realize different logic functions. In the example, AIC3 starts to output from at least one second layer, and at least one operation result of the first layer is not output. Because any function can be rewritten into a combined expression of AND and NOT units through logical operations. Thus any function can be mapped to the AIC combination structure. This kind of logic unit has the characteristics of multiple output and multiple input. On the one hand, it can satisfy the operation function of multi-bit width input, and at the same time, it can conveniently use the intermediate output results to effectively utilize programmable resources.
其中基本AIC单元BAE220的实现形式通常如图3中300所示,相应的二输入与非门221、一个反相器222,一个二输入选择器223、一个SRAM配置单元224的电路实现形式如310、320、330、340所示。整个AIC单元BAE220需12个晶体管实现。Wherein the implementation form of the basic AIC unit BAE220 is generally shown as 300 in FIG. , 320, 330, 340 shown. The whole AIC unit BAE220 needs 12 transistors to realize.
这种基于与非锥结构的可编程逻辑单元配置成为不同运算功能时,基本AIC单元将有着不同的路径选择,即是否通过反相器。不通过反相器,基本AIC单元实现了与非门的功能;选择通过反相器路径,基本AIC单元则实现了与门的功能。在延时路径上两种配置有着不同的延时性能,这给应用电路实现后期的时序约束带来了不便。When this programmable logic unit based on the NAND structure is configured for different operation functions, the basic AIC unit will have different path selections, that is, whether to pass through the inverter or not. Without the inverter, the basic AIC unit realizes the function of the NAND gate; if the path of the inverter is selected, the basic AIC unit realizes the function of the AND gate. The two configurations have different delay performances on the delay path, which brings inconvenience to the application circuit to realize the later timing constraints.
发明内容Contents of the invention
有鉴于此,本发明提出了一种基于与或非锥结构的可编程逻辑单元,即采用可编程与或非门(NANDOR)作为基本逻辑锥单元。In view of this, the present invention proposes a programmable logic unit based on an NOR cone structure, that is, a programmable NOR gate (NANDOR) is used as a basic logic cone unit.
本发明提出的一种基于与或非结构的可编程逻辑单元,其包括与或非基本单元,所述与或非基本单元在SRAM存储单元的输出控制信号的控制下实现第一输入数据和第二输入数据“与非”或者“或非”的功能,通过多级互连,可实现任何逻辑功能表达式;The present invention proposes a programmable logic unit based on an AND or NOT structure, which includes an AND or non-basic unit, and the AND or non-basic unit realizes the first input data and the second input data under the control of the output control signal of the SRAM storage unit. 2. The function of "AND" or "OR" of the input data can realize any logical function expression through multi-level interconnection;
其中,所述与或非基本单元包括:上拉网络pFET逻辑电路模块和下拉网络nFET逻辑电路模块;上拉网络pFET逻辑电路模块包括至少一个第一pFET至至少一个第五pFET管;Wherein, the AND-OR basic unit includes: a pull-up network pFET logic circuit module and a pull-down network nFET logic circuit module; the pull-up network pFET logic circuit module includes at least one first pFET to at least one fifth pFET tube;
所述至少一个第一pFET管和至少一个第三pFET管的源极接电源,所述至少一个第一pFET管的漏极接至少一个第二pFET管和至少一个第五pFET管的源极,所述至少一个第三pFET管的漏极接所述至少一个第四pFET管的源极和所述至少一个第五pFET管的漏极,所述至少一个第二pFET和所述至少一个第四pFET管的的漏极信号线y端;所述至少一个第一至pFET至少一个第二pFET管的栅极分别接所述第一输入数据和SRAM存储单元的输出控制信号中的一个,所述至少一个第三pFET至至少一个第四pFET管至少之一的栅极接所述第二输入数据,至少一个第五pFET管的栅极接所述SRAM存储单元的输出控制信号的反相信号。The sources of the at least one first pFET tube and the at least one third pFET tube are connected to a power supply, the drains of the at least one first pFET tube are connected to the sources of at least one second pFET tube and at least one fifth pFET tube, The drain of the at least one third pFET is connected to the source of the at least one fourth pFET and the drain of the at least one fifth pFET, and the at least one second pFET and the at least one fourth The drain signal line y end of the pFET tube; the gates of the at least one first to the at least one second pFET tube are respectively connected to one of the first input data and the output control signal of the SRAM memory unit, the said A gate of at least one of at least one third pFET to at least one fourth pFET is connected to the second input data, and a gate of at least one fifth pFET is connected to an inversion signal of an output control signal of the SRAM memory unit.
本发明的电路实现所需的管子数目小于现有技术中的与非锥结构,面积优于图2中的与非锥基本AIC单元,速度优于原结构,在实现不同功能时,其延时差异较小,并且可以通过调整管子参数使得实现不同功能时的延时相同。The number of tubes required for the realization of the circuit of the present invention is less than that of the NAND-cone structure in the prior art, the area is better than that of the NAND-cone basic AIC unit in Fig. 2, and the speed is better than that of the original structure. When different functions are realized, its time delay The difference is small, and the delay of different functions can be the same by adjusting the tube parameters.
附图说明Description of drawings
图1是现有技术中一种典型的4输入查找表结构的可编程逻辑单元结构示意图;Fig. 1 is a schematic diagram of the programmable logic unit structure of a typical 4-input look-up table structure in the prior art;
图2是现有技术中一种基于与非锥(And-Inverter Cone,AIC)结构的FPGA逻辑单元结构示意图;Fig. 2 is a kind of structure schematic diagram of FPGA logic unit based on and non-cone (And-Inverter Cone, AIC) structure in the prior art;
图3是现有技术中基于与非锥(And-Inverter Cone,AIC)结构中基本AIC单元的实现结构图;Fig. 3 is the realization structure diagram based on the basic AIC unit in the And-Inverter Cone (AIC) structure in the prior art;
图4是本发明中第一实施例中与或非单元(NANDOR)通过COMS标准复合逻辑门的电路实现图;Fig. 4 is the circuit realization diagram of NANDOR unit (NANDOR) by COMS standard composite logic gate in the first embodiment of the present invention;
图5是本发明中第二实施例中与或非单元(NANDOR)通过COMS标准复合逻辑门的电路实现图;Fig. 5 is the circuit realization diagram of NANDOR unit (NANDOR) by COMS standard composite logic gate in the second embodiment of the present invention;
图6是本发明中第三实施例中与或非单元(NANDOR)通过COMS标准复合逻辑门的电路实现图;Fig. 6 is the circuit implementation diagram of the NANDOR unit (NANDOR) by the COMS standard composite logic gate in the third embodiment of the present invention;
图7是本发明中第四实施例中与或非单元(NANDOR)通过COMS标准复合逻辑门的电路实现图;Fig. 7 is the circuit implementation diagram of the NANDOR unit (NANDOR) by the COMS standard composite logic gate in the fourth embodiment of the present invention;
图8是本发明中第五实施例中与或非单元(NANDOR)通过COMS标准复合逻辑门的电路实现图;Fig. 8 is the circuit implementation diagram of the NANDOR unit (NANDOR) by the COMS standard composite logic gate in the fifth embodiment of the present invention;
图9是本发明中第六实施例中与或非单元(NANDOR)通过COMS标准复合逻辑门的电路实现图。FIG. 9 is a circuit realization diagram of the NANDOR unit (NANDOR) through the CMOS standard composite logic gate in the sixth embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明作进一步的详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.
本发明提出一种基于与或非(NANDOR)结构的可编程逻辑单元,用于替代图3所示的300的AIC基本单元模块BAE。BAE的基本工作原理在于其能够通过编程控制SRAM单元的存储值,实现“与非”或者“与”的逻辑功能,通过如图2所示的架构多级连接,即可以实现复杂逻辑功能。而根据Demogan定理,任何函数通过逻辑运算都能够改写成为与非单元的组合表达式,因此可以通过AIC结构实现功能。The present invention proposes a programmable logic unit based on a NANDOR structure, which is used to replace the AIC basic unit module BAE of 300 shown in FIG. 3 . The basic working principle of BAE is that it can control the storage value of the SRAM unit through programming to realize the logic function of "and not" or "and". Through the multi-level connection of the structure shown in Figure 2, complex logic functions can be realized. According to Demogan's theorem, any function can be rewritten into a combined expression of AND and NOT units through logical operations, so the function can be realized through the AIC structure.
本发明提出的可编程与或非单元(NANDOR),同样可以通过控制SRAM存储单元,可以将该单元模块功能配置成为“与非”或者“或非”功能,通过多级互连同样可以实现任何逻辑功能表达式。The programmable NANDOR unit (NANDOR) proposed by the present invention can also control the SRAM storage unit, and the unit module function can be configured as a “AND” or “NOR” function, and any NANDOR can also be realized through multilevel interconnection. logical function expression.
本发明提出的与或非单元(NANDOR)通过COMS标准复合逻辑门实现,整个与或非单元(NANDOR)模块包括两个部分:上拉网络pFET逻辑电路模块和下拉网络nFET逻辑电路模块。The NANDOR unit proposed by the present invention is realized by the COMS standard composite logic gate, and the whole NANDOR unit (NANDOR) module includes two parts: a pull-up network pFET logic circuit module and a pull-down network nFET logic circuit module.
本发明第一实施例中提出了一种基于与或非结构的可编程逻辑单元,其包括与或非基本单元,所述与或非基本单元在SRAM存储单元的输出控制信号的控制下实现第一输入数据和第二输入数据“与非”或者“或非”的功能,通过多级互连,可实现任何逻辑功能表达式;In the first embodiment of the present invention, a programmable logic unit based on an AND or NOT structure is proposed, which includes an AND or non-basic unit, and the AND or non-basic unit realizes the first step under the control of the output control signal of the SRAM storage unit. The function of "AND" or "NOR" of the first input data and the second input data can realize any logical function expression through multi-level interconnection;
其中,所述与或非基本单元包括:上拉网络pFET逻辑电路模块和下拉网络nFET逻辑电路模块;所述上拉网络pFET逻辑电路模块包括至少一个第一pFET管至至少一个第五pFET管;Wherein, the AND-OR basic unit includes: a pull-up network pFET logic circuit module and a pull-down network nFET logic circuit module; the pull-up network pFET logic circuit module includes at least one first pFET tube to at least one fifth pFET tube;
所述至少一个第一pFET管和至少一个第四pFET管的源极接电源,所述至少一个第一pFET管的漏极接至少一个第二pFET管的源极,所述至少一个第四pFET管的漏极接所述至少一个第五pFET管的源极,所述至少一个第二pFET的漏极接所述至少一个第三pFET管的源极,所述至少一个第三pFET管和所述至少一个第五pFET管的漏极接信号线y端;其中,所述至少一个第四pFET管漏极与所述至少一个第一pFET管的漏极互连或者所述至少一个第四pFET管的漏极与至少一个第二pFET管的漏极互连,以将所述上拉网络pFET逻辑电路模块分成上下串联的两部分;所述至少一个第一pFET管至至少一个第三pFET管的栅极分别接所述第一输入数据和SRAM存储单元的输出控制信号中的一个,所述至少一个第四pFET管至至少一个第五pFET管的栅极接所述第二输入数据和SRAM存储单元的输出控制信号中的一个。The source of the at least one first pFET tube and the at least one fourth pFET tube is connected to the power supply, the drain of the at least one first pFET tube is connected to the source of at least one second pFET tube, and the at least one fourth pFET tube The drain of the tube is connected to the source of the at least one fifth pFET tube, the drain of the at least one second pFET is connected to the source of the at least one third pFET tube, and the at least one third pFET tube is connected to the source of the at least one third pFET tube. The drain of the at least one fifth pFET tube is connected to the y terminal of the signal line; wherein, the drain of the at least one fourth pFET tube is interconnected with the drain of the at least one first pFET tube or the at least one fourth pFET tube The drain of the tube is interconnected with the drain of at least one second pFET tube to divide the pull-up network pFET logic circuit module into two parts connected in series up and down; the at least one first pFET tube to at least one third pFET tube The gates of the gates are respectively connected to one of the first input data and the output control signal of the SRAM storage unit, and the gates of the at least one fourth pFET to at least one fifth pFET are connected to the second input data and the SRAM One of the output control signals of the storage unit.
所述下拉网络nFET逻辑电路模块包括至少一个第一nFET管至至少一个第五nFET管;The pull-down network nFET logic circuit module includes at least one first nFET tube to at least one fifth nFET tube;
所述至少一个第一nFET管和至少一个第四nFET管的漏极接信号线y端,所述至少一个第一nFET管的源极接至少一个第二nFET管的漏极,所述至少一个第四nFET管的源极接所述至少一个第五nFET管的漏极,所述至少一个第二nFET的源极接所述至少一个第三nFET管的漏极,所述至少一个第三nFET管和所述至少一个第五nFET管的源极接地;其中,所述至少一个第四nFET管源极与所述至少一个第一nFET管的源极互连或者所述至少一个第四nFET管的源极与至少一个第二nFET管的源极互连,以将所述下拉网络nFET逻辑电路模块分成上下串联的两部分;所述至少一个第一nFET管至至少一个第三nFET管的栅极分别接所述第一输入数据和SRAM存储单元的输出控制信号中的一个,所述至少一个第四nFET管至至少一个第五nFET管的栅极接所述第二输入数据和SRAM存储单元的输出控制信号中的一个。The drains of the at least one first nFET and the at least one fourth nFET are connected to the signal line y terminal, the source of the at least one first nFET is connected to the drain of at least one second nFET, and the at least one The source of the fourth nFET is connected to the drain of the at least one fifth nFET, the source of the at least one second nFET is connected to the drain of the at least one third nFET, and the at least one third nFET The source of the tube and the at least one fifth nFET tube is grounded; wherein, the source of the at least one fourth nFET tube is interconnected with the source of the at least one first nFET tube or the at least one fourth nFET tube The source of the at least one second nFET tube is interconnected to divide the pull-down network nFET logic circuit module into two parts connected in series up and down; the gate of the at least one first nFET tube to at least one third nFET tube The poles are respectively connected to one of the output control signals of the first input data and the SRAM storage unit, and the gates of the at least one fourth nFET to at least one fifth nFET are connected to the second input data and the SRAM storage unit One of the output control signals.
图4-图6示出的电路结构为本发明第一实施例提出的基于与或非结构的可编程逻辑单元的几种典型电路结构示意图。The circuit structures shown in FIGS. 4-6 are schematic diagrams of several typical circuit structures of the programmable logic unit based on the AND or NOR structure proposed by the first embodiment of the present invention.
如图4所示,其中该上拉pFET逻辑电路模块410由411、412、413、414、415五个pFET管和一个SRAM单元416组成。其中,管子411的源极接电源,漏极接管子412的源极,栅极由SRAM单元输出s控制;管子412的源极接管子411的漏极,漏极接管子413、415的源极,同时接管子414的漏极,栅极由信号a控制;管子413的源极接412的漏极,漏极接信号线y端,栅极由信号a控制;管子414源极接电源,漏极接管子415的源极,栅极由信号b控制;管子415源极接管子412、414的漏极,漏极接信号线y端,栅极由SRAM单元输出s控制。As shown in FIG. 4 , the pull-up pFET logic circuit module 410 is composed of five pFET transistors 411 , 412 , 413 , 414 , and 415 and one SRAM unit 416 . Among them, the source of the tube 411 is connected to the power supply, the drain is connected to the source of the tube 412, and the gate is controlled by the output s of the SRAM unit; the source of the tube 412 is connected to the drain of the tube 411, and the drain is connected to the sources of the tubes 413 and 415 , and connect the drain of tube 414 at the same time, the gate is controlled by signal a; the source of tube 413 is connected to the drain of 412, the drain is connected to signal line y terminal, and the gate is controlled by signal a; the source of tube 414 is connected to power supply, and the drain The source of the tube 415 is connected to the source, and the gate is controlled by the signal b; the source of the tube 415 is connected to the drain of the tubes 412 and 414, and the drain is connected to the signal line y, and the gate is controlled by the output s of the SRAM unit.
当SRAM单元416中存储值被配置成高电平1时,pFET管411、415截止,管子413和414串联,a和b信号分别控制管子413和414,实现了NOR操作的pFET电路逻辑功能;当SRAM单元416中存储值被配置成低电平0时,pFET管411、415导通,管子412和414并联,a和b信号分别控制管子412和414,413和415并联,二者再串联,实现了NAND操作的pFET电路逻辑功能。即SRAM单元416中的存储值决定了NANDOR pFET电路的逻辑功能。When the stored value in the SRAM unit 416 is configured as a high level 1, the pFET tubes 411 and 415 are cut off, the tubes 413 and 414 are connected in series, and the a and b signals respectively control the tubes 413 and 414, realizing the pFET circuit logic function of NOR operation; When the stored value in the SRAM unit 416 is configured as low level 0, the pFET tubes 411 and 415 are turned on, the tubes 412 and 414 are connected in parallel, the a and b signals respectively control the parallel connection of the tubes 412 and 414, 413 and 415, and the two are connected in series , realizing the logic function of pFET circuit for NAND operation. That is, the stored value in the SRAM unit 416 determines the logic function of the NANDOR pFET circuit.
同样,图4中的420模块为nFET逻辑电路模块,由421、422、423、424、425五个nFET管组成,与图4中pFET逻辑电路部分对称。Similarly, module 420 in FIG. 4 is an nFET logic circuit module, which is composed of five nFET tubes 421, 422, 423, 424, and 425, and is symmetrical to the pFET logic circuit in FIG. 4.
其中,管子421的漏极接信号线y端,源极接管子422的漏极,栅极由SRAM单元输出s控制;管子422的漏极接管子421的源极,源极接管子423、425的漏极,同时接管子424的源极,栅极由信号a控制;管子423的漏极接422的源极,源极接地,栅极由信号a控制;管子424漏极极接信号线y端,源极接管子425的漏极,栅极由信号b控制;管子425漏极极接管子422、424的源极,源极接地,栅极由SRAM单元输出s控制。其s信号来自于410模块共享的SRAM单元。Among them, the drain of the tube 421 is connected to the signal line y terminal, the source is connected to the drain of the tube 422, and the gate is controlled by the output s of the SRAM unit; the drain of the tube 422 is connected to the source of the tube 421, and the source is connected to the tubes 423 and 425 The drain of the tube 424 is connected to the source of the tube 424, and the gate is controlled by the signal a; the drain of the tube 423 is connected to the source of the 422, the source is grounded, and the gate is controlled by the signal a; the drain of the tube 424 is connected to the signal line y The source is connected to the drain of the tube 425, and the gate is controlled by the signal b; the drain of the tube 425 is connected to the source of the tubes 422 and 424, the source is grounded, and the gate is controlled by the output s of the SRAM unit. Its s signal comes from the SRAM unit shared by 410 modules.
当SRAM单元中存储值被配置成高电平1时,nFET管421、425导通,管子422和424并联,a和b信号分别控制管子422和424,423和425并联,二者再串联,实现了NOR操作的nFET电路逻辑功能;当SRAM单元中存储值被配置成低电平0时,nFET管421、425截止,管子423和424串联,a和b信号分别控制管子423和424,实现了NAND操作的nFET电路逻辑功能。When the stored value in the SRAM unit is configured as high level 1, the nFET tubes 421 and 425 are turned on, the tubes 422 and 424 are connected in parallel, the a and b signals respectively control the parallel connection of the tubes 422 and 424, 423 and 425, and the two are connected in series again. The nFET circuit logic function of NOR operation is realized; when the storage value in the SRAM unit is configured as low level 0, the nFET tubes 421 and 425 are cut off, the tubes 423 and 424 are connected in series, and the a and b signals respectively control the tubes 423 and 424 to realize nFET circuit logic function for NAND operation.
模块410和模块420通过y信号线相连并从y信号线引端口输出,即可以通过配置该SRAM单元可以实现完整的NAND或者NOR逻辑功能。The module 410 and the module 420 are connected through the y signal line and output from the port of the y signal line, that is, the complete NAND or NOR logic function can be realized by configuring the SRAM unit.
类似的,NANDOR基本单元的pFET逻辑电路也可以通过图5中510、图6中610模块等所示电路结构实现。Similarly, the pFET logic circuit of the NANDOR basic unit can also be realized by the circuit structures shown in 510 in FIG. 5 and 610 in FIG. 6 .
其中,图4示出的模块410中第一-第三pFET管上接的s信号和a数据可互换,同样,模块420中的第一-第三nFET管上接的s信号和a数据可互换。Wherein, the s signal and a data connected to the first-third pFET tube in the module 410 shown in FIG. 4 are interchangeable. Similarly, the s signal and a data connected to the first-third nFET tube in the module 420 interchangeable.
如图5所示,510模块中管子511的源极接电源,漏极接管子512的源极,同时接管子514的漏极,栅极由信号a控制;管子512的源极接管子511、514的漏极,漏极接管子513的源极,同时接管子515的源极,栅极由信号a控制;管子513的源极接512的漏极,漏极接信号线y端,栅极由SRAM单元输出s控制;管子514源极接电源,漏极接管子512、515的源极,栅极由SRAM单元输出s控制;管子515源极接管子511、514的漏极,漏极接信号线y端,栅极由信号b控制。As shown in Figure 5, the source of tube 511 in the 510 module is connected to the power supply, the drain is connected to the source of tube 512, and the drain of tube 514 is connected at the same time, and the gate is controlled by signal a; the source of tube 512 is connected to tube 511, The drain of 514 is connected to the source of tube 513 and the source of tube 515. The gate is controlled by signal a; the source of tube 513 is connected to the drain of 512, the drain is connected to the y terminal of the signal line, and the gate It is controlled by the output s of the SRAM unit; the source of the tube 514 is connected to the power supply, the drain is connected to the source of the tubes 512 and 515, and the gate is controlled by the output s of the SRAM unit; the source of the tube 515 is connected to the drain of the tubes 511 and 514, and the drain is connected to the Signal line y terminal, the gate is controlled by signal b.
如图6所示,610模块中管子611的源极接电源,漏极接管子612、的源极,同时接管子614的漏极,栅极由信号a控制;管子612的源极接管子611、614的漏极,同时接615的源极,漏极接管子613的源极,栅极由SRAM单元输出s控制;管子613的源极接612的漏极,漏极接信号线y端,栅极由信号a控制;管子614源极接电源,漏极接管子612、615的源极,栅极由SRAM单元输出s控制;管子615源极接管子611、614的漏极,漏极接信号线y端,栅极由信号b控制。As shown in Figure 6, the source of the tube 611 in the 610 module is connected to the power supply, the drain is connected to the source of the tube 612, and the drain of the tube 614 is connected at the same time, and the gate is controlled by the signal a; the source of the tube 612 is connected to the tube 611 , The drain of 614 is connected to the source of 615 at the same time, the drain is connected to the source of the tube 613, and the gate is controlled by the output s of the SRAM unit; the source of the tube 613 is connected to the drain of 612, and the drain is connected to the y terminal of the signal line, The gate is controlled by signal a; the source of the tube 614 is connected to the power supply, the drain is connected to the source of the tubes 612 and 615, and the gate is controlled by the output s of the SRAM unit; the source of the tube 615 is connected to the drain of the tubes 611 and 614, and the drain is connected to Signal line y terminal, the gate is controlled by signal b.
NANDOR基本单元的nFET逻辑电路也可以通过图5中511、图6中611模块等所示电路结构实现。The nFET logic circuit of the NANDOR basic unit can also be realized by the circuit structures shown in 511 in FIG. 5 and 611 in FIG. 6 .
如图5所示,520模块中管子521的漏极接信号线y端,源极接管子522的漏极,同时接管子524的源极,栅极由信号a控制;管子522的漏极接管子521、524的源极,源极接管子523的漏极,栅极由信号a控制;管子523的漏极接522的源极,源极接地,栅极由SRAM单元输出s控制;管子524漏极接信号线y端,源极接管子522、525的漏极,同时接521的源极,栅极由SRAM单元输出s控制;管子525漏极极接管子521、524的源极,同时接管子522的漏极,源极接地,栅极由信号b控制。As shown in Figure 5, the drain of the tube 521 in the 520 module is connected to the y terminal of the signal line, the source is connected to the drain of the tube 522, and the source of the tube 524 is connected at the same time, and the gate is controlled by the signal a; the drain of the tube 522 is connected to The source of the sub 521, 524, the source is connected to the drain of the sub 523, and the gate is controlled by the signal a; the drain of the tube 523 is connected to the source of the 522, the source is grounded, and the gate is controlled by the output s of the SRAM unit; the tube 524 The drain is connected to the y terminal of the signal line, the source is connected to the drain of the tubes 522 and 525, and the source of 521 is connected at the same time, and the gate is controlled by the output s of the SRAM unit; the drain of the tube 525 is connected to the source of the tubes 521 and 524, and at the same time Take over the drain of sub-522, the source is grounded, and the gate is controlled by signal b.
如图6所示,620模块中管子621的漏极接信号线y端,源极接管子622的漏极,同时接管子624的源极,栅极由信号a控制;管子622的漏极接管子621、624的源极,源极接管子623的漏极,栅极由SRAM单元输出s控制;管子623的漏极接622的源极,源极接地,栅极由信号a控制;管子624漏极接信号线y端,源极接管子622、625的漏极,同时接管子621的源极,栅极由SRAM单元输出s控制;管子625漏极接管子621、624的源极,源极接地,栅极由信号b控制。As shown in Figure 6, the drain of the tube 621 in the 620 module is connected to the y terminal of the signal line, the source is connected to the drain of the tube 622, and the source of the tube 624 is connected at the same time, and the gate is controlled by the signal a; the drain of the tube 622 is connected to the The source of the sub 621, 624, the source is connected to the drain of the sub 623, and the gate is controlled by the output s of the SRAM unit; the drain of the tube 623 is connected to the source of the 622, the source is grounded, and the gate is controlled by the signal a; the tube 624 The drain is connected to the y terminal of the signal line, the source is connected to the drains of the tubes 622 and 625, and the source of the tube 621, and the gate is controlled by the output s of the SRAM unit; the drain of the tube 625 is connected to the sources of the tubes 621 and 624, and the source The pole is grounded and the gate is controlled by signal b.
上述图5和图6中示出的电路结构所实现的逻辑功能与所述图4示出的结构的逻辑功能相同,即当s为高电平1时,所述上拉网络pFET逻辑电路模块实现“或非”操作的pFET电路逻辑功能,所述下拉网络nFET逻辑电路模块实现“或非”操作的nFET电路逻辑功能;当SRAM存储单元的输出控制信号为低电平时,所述上拉网络pFET逻辑电路模块实现“与非”操作的pFET电路逻辑功能,所述下拉网络nFET逻辑电路模块实现“与非”操作的nFET电路逻辑功能。The logic function realized by the circuit structure shown in above-mentioned Fig. 5 and Fig. 6 is the same as the logic function of the structure shown in Fig. 4, that is, when s is high level 1, the pull-up network pFET logic circuit module Realize the pFET circuit logic function of "NOR" operation, the pull-down network nFET logic circuit module realizes the nFET circuit logic function of "NOR" operation; when the output control signal of the SRAM storage unit is low level, the pull-up network The pFET logic circuit module realizes the pFET circuit logic function of "AND" operation, and the pull-down network nFET logic circuit module realizes the nFET circuit logic function of "AND" operation.
本发明还提出的上述基于与或非结构的可编程逻辑单元还可以通过第二实施例中提出的第二种电路结构来实现。The above programmable logic unit based on the AND-OR structure proposed by the present invention can also be realized by the second circuit structure proposed in the second embodiment.
本发明第二实施例中公开的基于与或非结构的可编程逻辑单元,其包括与或非基本单元,所述与或非基本单元在SRAM存储单元的输出控制信号的控制下实现第一输入数据和第二输入数据“与非”或者“或非”的功能,通过多级互连,可实现任何逻辑功能表达式;The programmable logic unit based on the AND or NOR structure disclosed in the second embodiment of the present invention includes an AND or non-basic unit, and the AND or non-basic unit realizes the first input under the control of the output control signal of the SRAM storage unit The function of "AND" or "OR" between the data and the second input data can realize any logical function expression through multi-level interconnection;
其中,所述与或非基本单元包括:上拉网络pFET逻辑电路模块和下拉网络nFET逻辑电路模块;上拉网络pFET逻辑电路模块包括至少一个第一pFET至至少一个第五pFET管;Wherein, the AND-OR basic unit includes: a pull-up network pFET logic circuit module and a pull-down network nFET logic circuit module; the pull-up network pFET logic circuit module includes at least one first pFET to at least one fifth pFET tube;
所述至少一个第一pFET管和至少一个第三pFET管的源极接电源,所述至少一个第一pFET管的漏极接至少一个第二pFET管和至少一个第五pFET管的源极,所述至少一个第三pFET管的漏极接所述至少一个第四pFET管的源极和所述至少一个第五pFET管的漏极,所述至少一个第二pFET和所述至少一个第四pFET管的的漏极信号线y端;所述至少一个第一至pFET至少一个第二pFET管的栅极分别接所述第一输入数据和SRAM存储单元的输出控制信号中的一个,所述至少一个第三pFET至至少一个第四pFET管至少之一的栅极接所述第二输入数据,至少一个第五pFET管的栅极接所述SRAM存储单元的输出控制信号的反相信号。The sources of the at least one first pFET tube and the at least one third pFET tube are connected to a power supply, the drains of the at least one first pFET tube are connected to the sources of at least one second pFET tube and at least one fifth pFET tube, The drain of the at least one third pFET is connected to the source of the at least one fourth pFET and the drain of the at least one fifth pFET, and the at least one second pFET and the at least one fourth The drain signal line y end of the pFET tube; the gates of the at least one first to the at least one second pFET tube are respectively connected to one of the first input data and the output control signal of the SRAM memory unit, the said A gate of at least one of at least one third pFET to at least one fourth pFET is connected to the second input data, and a gate of at least one fifth pFET is connected to an inversion signal of an output control signal of the SRAM memory unit.
所述下拉网络nFET逻辑电路模块包括至少一个第一nFET至至少一个第五nFET管;The pull-down network nFET logic circuit module includes at least one first nFET to at least one fifth nFET;
所述至少一个第一nFET管和至少一个第三nFET管的漏极接信号线y端,所述至少一个第一nFET管的源极极接至少一个第二nFET管和至少一个第五nFET管的漏极,所述至少一个第三nFET管的源极接所述至少一个第四nFET管的漏极和所述至少一个第五nFET管的源极,所述至少一个第二nFET和所述至少一个第四nFET管的源极接地;所述至少一个第一至至少一个第二nFET管的栅极分别接所述第一输入数据和SRAM存储单元的输出控制信号中的其中之一,所述至少一个第三nFET至至少一个第四nFET管至少之一的栅极接所述第二输入数据,至少一个第五nFET管的栅极接所述SRAM存储单元的输出控制信号的反相信号。The drains of the at least one first nFET tube and the at least one third nFET tube are connected to the y terminal of the signal line, and the source electrodes of the at least one first nFET tube are connected to at least one second nFET tube and at least one fifth nFET tube the drain of the at least one third nFET, the source of the at least one third nFET is connected to the drain of the at least one fourth nFET and the source of the at least one fifth nFET, the at least one second nFET and the The source of at least one fourth nFET tube is grounded; the gates of the at least one first to at least one second nFET tube are respectively connected to one of the first input data and the output control signal of the SRAM memory unit, so The gate of at least one of the at least one third nFET to at least one fourth nFET is connected to the second input data, and the gate of at least one fifth nFET is connected to the inversion signal of the output control signal of the SRAM memory unit .
本发明第二实施例提出的第二种电路结构的典型实现如图7-8所示,下面详细介绍。A typical implementation of the second circuit structure proposed in the second embodiment of the present invention is shown in FIGS. 7-8 and will be described in detail below.
NANDOR基本单元的pFET逻辑电路模块也可以通过图7所示的710模块实现,710由711、712、713、714、715五个pFET管、一个SRAM单元716及一个反相器模块组成。The pFET logic circuit module of the NANDOR basic unit can also be realized by the module 710 shown in FIG. 7 . The module 710 is composed of five pFET tubes 711, 712, 713, 714 and 715, a SRAM unit 716 and an inverter module.
SRAM单元716输出端s连接到反相器输入端,产生反向输出ns。The output terminal s of the SRAM cell 716 is connected to the input terminal of the inverter to generate an inverted output ns.
710模块中,管子711源极接电源,漏极接管子712、715的源极,栅极由信号a控制;管子712源极接管子711的漏极,漏极接信号线y端,栅极由信号s控制;管子713源极接电源,漏极接管子714的源极和管子715的漏极,栅极由信号s控制;管子714源极接713的漏极,漏极接信号线y端,栅极由信号b控制;管子715的栅极由信号ns控制。In the 710 module, the source of the tube 711 is connected to the power supply, the drain is connected to the source of the tubes 712 and 715, and the gate is controlled by signal a; the source of the tube 712 is connected to the drain of the tube 711, the drain is connected to the y terminal of the signal line, and the gate Controlled by the signal s; the source of the tube 713 is connected to the power supply, the drain is connected to the source of the tube 714 and the drain of the tube 715, and the gate is controlled by the signal s; the source of the tube 714 is connected to the drain of the 713, and the drain is connected to the signal line y terminal, the gate is controlled by signal b; the gate of tube 715 is controlled by signal ns.
当SRAM单元716中存储值被配置成高电平1时,即s信号端为1,ns则是低电平0,管子712,713截止,715导通,a和b信号分别控制管子711和714,管子711和714串联,实现了NOR操作的pFET电路逻辑功能;当SRAM单元716中存储值被配置成低电平0时,即s信号端为0,ns则是低电平1,管子715截止,712和713导通,管子711和714并联,通过a和b信号分别控制,实现了NAND操作的pFET电路逻辑功能。When the value stored in the SRAM unit 716 is configured as a high level 1, that is, the s signal terminal is 1, and the ns is a low level 0, the tubes 712 and 713 are turned off, and the 715 is turned on, and the a and b signals control the tubes 711 and 715 respectively. 714, tubes 711 and 714 are connected in series to realize the logic function of pFET circuit for NOR operation; when the stored value in SRAM unit 716 is configured as low level 0, that is, the s signal terminal is 0, ns is low level 1, the tube 715 is turned off, 712 and 713 are turned on, and tubes 711 and 714 are connected in parallel, respectively controlled by a and b signals, realizing the pFET circuit logic function of NAND operation.
同样,图7中的720模块为nFET逻辑电路模块,由721、722、723、724、725五个nFET管组成,与图7中pFET逻辑电路部分对称。其中s信号来自与710模块共享的SRAM单元。Similarly, module 720 in FIG. 7 is an nFET logic circuit module, which is composed of five nFET tubes 721, 722, 723, 724, and 725, and is symmetrical to the pFET logic circuit in FIG. 7. Among them, the s signal comes from the SRAM unit shared with the 710 module.
720模块中,管子721漏极接信号y端,源极接管子722、725的漏极,栅极由信号a控制;管子722漏极接管子721的源极,源极接地,栅极由信号s控制;管子723漏极接信号y端,源极接管子724的漏极和管子725的源极,栅极由信号s控制;管子724漏极接723的源极,源极接地,栅极由信号b控制;管子725的栅极由信号ns控制。In the 720 module, the drain of the tube 721 is connected to the signal y terminal, the source is connected to the drains of the tubes 722 and 725, and the gate is controlled by the signal a; the drain of the tube 722 is connected to the source of the tube 721, the source is grounded, and the gate is controlled by the signal s control; the drain of the tube 723 is connected to the signal y terminal, the source is connected to the drain of the tube 724 and the source of the tube 725, and the gate is controlled by the signal s; the drain of the tube 724 is connected to the source of the 723, the source is grounded, and the gate Controlled by signal b; the gate of tube 725 is controlled by signal ns.
当SRAM单元中存储值被配置成高电平1时,s信号端为1,ns则是低电平0。nFET管722、723导通,715截止,管子722和723并联,a和b信号分别控制管子722和723,实现了NOR操作的nFET电路逻辑功能;当SRAM单元中存储值被配置成低电平0时,s信号端为0,ns则是低电平1。nFET管722、723截止,管子721和724串联,a和b信号分别控制管子721和724,实现了NAND操作的nFET电路逻辑功能。When the stored value in the SRAM unit is configured as high level 1, the s signal terminal is 1, and ns is low level 0. The nFET tubes 722 and 723 are turned on, 715 is turned off, the tubes 722 and 723 are connected in parallel, and the a and b signals control the tubes 722 and 723 respectively, realizing the nFET circuit logic function of the NOR operation; when the stored value in the SRAM unit is configured as a low level When 0, the s signal terminal is 0, and ns is low level 1. The nFET tubes 722 and 723 are cut off, the tubes 721 and 724 are connected in series, and the signals a and b respectively control the tubes 721 and 724, realizing the nFET circuit logic function of NAND operation.
模块710和模块720通过y信号线相连并从y信号线引端口输出,即可以通过配置该SRAM单元可以实现完整的NAND或者NOR逻辑功能。The module 710 and the module 720 are connected through the y signal line and output from the port of the y signal line, that is, the complete NAND or NOR logic function can be realized by configuring the SRAM unit.
类似的,NANDOR基本单元的pFET和nPFET逻辑电路也可以通过图8所示810和820模块电路实现。Similarly, the pFET and nPFET logic circuits of the NANDOR basic unit can also be realized by the module circuits 810 and 820 shown in FIG. 8 .
810模块中,管子811源极接电源,漏极接管子812、815的源极,栅极由信号a控制;管子812源极接管子811的漏极,漏极接信号线y端,栅极由信号s控制;管子813源极接电源,漏极接管子814的源极和管子815的漏极,栅极由信号b控制;管子814源极接813的漏极,漏极接信号线y端,栅极由信号b控制;管子815的栅极由信号ns控制。In the 810 module, the source of the tube 811 is connected to the power supply, the drain is connected to the source of the tubes 812 and 815, and the gate is controlled by signal a; the source of the tube 812 is connected to the drain of the tube 811, the drain is connected to the y terminal of the signal line, and the gate Controlled by the signal s; the source of the tube 813 is connected to the power supply, the drain is connected to the source of the tube 814 and the drain of the tube 815, and the gate is controlled by the signal b; the source of the tube 814 is connected to the drain of the 813, and the drain is connected to the signal line y terminal, the gate is controlled by the signal b; the gate of the tube 815 is controlled by the signal ns.
820模块中,管子821漏极接信号y端,源极接管子822、825的漏极,栅极由信号a控制;管子822漏极接管子821的源极,源极接地,栅极由信号s控制;管子823漏极接信号y端,源极接管子824的漏极和管子825的源极,栅极由信号b控制;管子824漏极接823的源极,源极接地,栅极由信号b控制;管子825的栅极由信号ns控制。In the 820 module, the drain of the tube 821 is connected to the signal y terminal, the source is connected to the drains of the tubes 822 and 825, and the gate is controlled by the signal a; the drain of the tube 822 is connected to the source of the tube 821, the source is grounded, and the gate is controlled by the signal s control; the drain of tube 823 is connected to the signal y terminal, the source is connected to the drain of tube 824 and the source of tube 825, and the gate is controlled by signal b; the drain of tube 824 is connected to the source of 823, the source is grounded, and the gate Controlled by signal b; the gate of tube 825 is controlled by signal ns.
其中,图8示出的模块810中第一-第二pFET管上接的s信号和a数据可互换,同样,模块820中的第一-第二nFET管上接的s信号和a数据可互换。Among them, the s signal and a data connected to the first-second pFET tube in the module 810 shown in FIG. 8 are interchangeable. Similarly, the s signal and a data connected to the first-second nFET tube in the module 820 interchangeable.
图7-8中示出的上拉网络pFET逻辑电路模块和下拉网络nFET逻辑电路模块可任意组合构成NANDOR基本单元。The pull-up network pFET logic circuit modules and the pull-down network nFET logic circuit modules shown in Figures 7-8 can be combined arbitrarily to form a NANDOR basic unit.
本发明还提出的上述基于与或非结构的可编程逻辑单元还可以通过第三实施例中提出的第三种电路结构来实现。The above programmable logic unit based on the AND-OR structure proposed by the present invention can also be realized by the third circuit structure proposed in the third embodiment.
本发明第三实施例中提出的基于与或非结构的可编程逻辑单元,其包括与或非基本单元,所述与或非基本单元在SRAM存储单元的输出控制信号的控制下实现第一输入数据和第二输入数据“与非”或者“或非”的功能,通过多级互连,可实现任何逻辑功能表达式;The programmable logic unit based on the AND or NOT structure proposed in the third embodiment of the present invention includes an AND or non-basic unit, and the AND or non-basic unit realizes the first input under the control of the output control signal of the SRAM storage unit The function of "AND" or "OR" between the data and the second input data can realize any logical function expression through multi-level interconnection;
其中,所述与或非基本单元包括:上拉网络pFET逻辑电路模块和下拉网络nFET逻辑电路模块;上拉网络pFET逻辑电路模块包括至少一个第一pFET管至至少一个第六pFET管;Wherein, the AND-OR basic unit includes: a pull-up network pFET logic circuit module and a pull-down network nFET logic circuit module; the pull-up network pFET logic circuit module includes at least one first pFET tube to at least one sixth pFET tube;
所述至少一个第一pFET管和至少一个第四pFET管的源极接电源,所述至少一个第一pFET管的漏极接至少一个第二pFET管的源极,所述至少一个第四pFET管的漏极接所述至少一个第五pFET管的源极,所述至少一个第二pFET的漏极接所述至少一个第三pFET管的源极,所述至少一个第五pFET管的漏极接所述至少一个第六pFET管的源极,所述至少一个第三pFET管和所述至少一个第六pFET管的漏极接信号线y端;其中,所述至少一个第四pFET管漏极与所述至少一个第一pFET管的漏极互连或者所述至少一个第四pFET管的漏极与至少一个第二pFET管的漏极互连,以将所述上拉网络pFET逻辑电路模块分成上下串联的两部分;所述至少一个第一pFET管至至少一个第三pFET管的栅极分别接所述第一输入数据和SRAM存储单元的输出控制信号中的一个,所述至少一个第四pFET管至至少一个第六pFET管的栅极接所述第二输入数据和SRAM存储单元的输出控制信号中的一个。The source of the at least one first pFET tube and the at least one fourth pFET tube is connected to the power supply, the drain of the at least one first pFET tube is connected to the source of at least one second pFET tube, and the at least one fourth pFET tube The drain of the tube is connected to the source of the at least one fifth pFET tube, the drain of the at least one second pFET is connected to the source of the at least one third pFET tube, and the drain of the at least one fifth pFET tube is The pole is connected to the source of the at least one sixth pFET tube, and the drains of the at least one third pFET tube and the at least one sixth pFET tube are connected to the y terminal of the signal line; wherein, the at least one fourth pFET tube The drain is interconnected with the drain of the at least one first pFET or the drain of the at least one fourth pFET is interconnected with the drain of at least one second pFET, so that the pull-up network pFET logic The circuit module is divided into two parts connected in series up and down; the gates of the at least one first pFET tube to at least one third pFET tube are respectively connected to one of the first input data and the output control signal of the SRAM memory unit, and the at least one Gates of one fourth pFET to at least one sixth pFET are connected to one of the second input data and the output control signal of the SRAM memory unit.
所述下拉网络nFET逻辑电路模块包括至少一个第一nFET管至至少一个第六nFET管;The pull-down network nFET logic circuit module includes at least one first nFET tube to at least one sixth nFET tube;
所述至少一个第一nFET管和至少一个第四nFET管的漏极接信号线y端,所述至少一个第一nFET管的源极接至少一个第二nFET管的漏极,所述至少一个第四nFET管的源极接所述至少一个第五nFET管的漏极,所述至少一个第二nFET的源极接所述至少一个第三nFET管的漏极,所述至少一个第五nFET管的源极接所述至少一个第六nFET管的漏极,所述至少一个第三nFET管和所述至少一个第六nFET管的源极接信号线y端;其中,所述至少一个第四nFET管的源极与至少一个第二nFET管的源极相连,以将所述上拉网络pFET逻辑电路模块分成上下串联的两部分;所述至少一个第一nFET管至至少一个第三nFET管的栅极分别接所述第一输入数据和SRAM存储单元的输出控制信号中的一个,所述至少一个第四nFET管至至少一个第六nFET管的栅极接所述第二输入数据和SRAM存储单元的输出控制信号中的一个。The drains of the at least one first nFET and the at least one fourth nFET are connected to the signal line y terminal, the source of the at least one first nFET is connected to the drain of at least one second nFET, and the at least one The source of the fourth nFET is connected to the drain of the at least one fifth nFET, the source of the at least one second nFET is connected to the drain of the at least one third nFET, and the at least one fifth nFET The source of the tube is connected to the drain of the at least one sixth nFET tube, and the sources of the at least one third nFET tube and the at least one sixth nFET tube are connected to the signal line y end; The sources of the four nFET tubes are connected to the sources of at least one second nFET tube, so as to divide the pull-up network pFET logic circuit module into two parts connected in series up and down; the at least one first nFET tube to at least one third nFET tube The gates of the tubes are respectively connected to one of the first input data and the output control signal of the SRAM memory unit, and the gates of the at least one fourth nFET tube to at least one sixth nFET tube are connected to the second input data and One of the output control signals of the SRAM memory cell.
第三种电路结构的典型实现如图9所示,下面详细介绍。A typical implementation of the third circuit structure is shown in Fig. 9, which will be described in detail below.
NANDOR基本单元的pFET逻辑电路模块也可以通过图9所示的910模块实现,910由911、912、913、914、915、916六个pFET管、一个SRAM单元917组成。The pFET logic circuit module of the NANDOR basic unit can also be realized by the 910 module shown in FIG.
如图9所示,910模块中管子911的源极接电源,漏极接管子912的源极,栅极由SRAM单元输出s控制;管子912的源极接管子911的漏极,漏极接管子913、915的源极,栅极由信号a控制;管子913的源极接管子912、914的漏极,漏极接信号线y端,栅极由信号a控制;管子914源极接电源,漏极接管子913、915的源极,栅极由信号b控制;管子915源极接管子912、914的漏极,漏极接管子916的源极,栅极由SRAM单元输出s控制;管子916源极接管子915的漏极,漏极接信号线y端,栅极由信号b控制。As shown in Figure 9, the source of the tube 911 in the 910 module is connected to the power supply, the drain is connected to the source of the tube 912, and the gate is controlled by the output s of the SRAM unit; the source of the tube 912 is connected to the drain of the tube 911, and the drain is connected to the The source and gate of tube 913 and 915 are controlled by signal a; the source of tube 913 is connected to the drain of tube 912 and 914, the drain is connected to signal line y terminal, and the gate is controlled by signal a; the source of tube 914 is connected to power supply , the drain is connected to the source of the tube 913, 915, the gate is controlled by the signal b; the source of the tube 915 is connected to the drain of the tube 912, 914, the drain is connected to the source of the tube 916, and the gate is controlled by the output s of the SRAM unit; The source of the tube 916 is connected to the drain of the tube 915, the drain is connected to the y terminal of the signal line, and the gate is controlled by the signal b.
当SRAM单元917中存储值被配置成高电平1时,管子911,915截止,a信号控制912和913,b信号控制管子914和916,管子913和914串联,实现了NOR操作的pFET电路逻辑功能;当SRAM单元917中存储值被配置成低电平0时,管子911和915导通,实现了NAND操作的pFET电路逻辑功能。When the stored value in the SRAM unit 917 is configured as a high level 1, the tubes 911 and 915 are turned off, the a signal controls the tubes 912 and 913, the b signal controls the tubes 914 and 916, and the tubes 913 and 914 are connected in series to realize the pFET circuit of the NOR operation Logic function; when the value stored in the SRAM unit 917 is configured as low level 0, the tubes 911 and 915 are turned on, realizing the logic function of the pFET circuit for NAND operation.
同样,图9中的920模块为nFET逻辑电路模块,由921、922、923、924、925、926六个pFET管组成,与图9中pFET逻辑电路部分对称。其中s信号来自与910模块共享的SRAM单元。Similarly, module 920 in FIG. 9 is an nFET logic circuit module, which is composed of six pFET tubes 921, 922, 923, 924, 925, and 926, which are symmetrical to the pFET logic circuit in FIG. 9 . Among them, the s signal comes from the SRAM unit shared with the 910 module.
920模块中管子921的漏极接信号线y端,源极接管子922的漏极,栅极由SRAM单元输出s控制;管子922的漏极接管子921的源极,源极接管子923、925的漏极,同时接管子924的源极,栅极由信号a控制;管子923的漏极接922的源极,源极接地,栅极由信号a控制;管子924漏极极接信号线y端,源极接管子923、925的漏极,栅极由信号b控制;管子925漏极接管子922、924的源极,源极接管子926的漏极,栅极由SRAM单元输出s控制;管子926漏极接管子925的源极,源极接地,栅极由信号b控制。In the 920 module, the drain of the tube 921 is connected to the signal line y terminal, the source is connected to the drain of the tube 922, and the gate is controlled by the output s of the SRAM unit; the drain of the tube 922 is connected to the source of the tube 921, and the source is connected to the tube 923, The drain of tube 925 is connected to the source of tube 924, and the gate is controlled by signal a; the drain of tube 923 is connected to the source of tube 922, the source is grounded, and the gate is controlled by signal a; the drain of tube 924 is connected to the signal line At the y terminal, the source is connected to the drain of the sub-923 and 925, and the gate is controlled by the signal b; the drain of the tube 925 is connected to the source of the sub-922 and 924, and the source is connected to the drain of the sub-926, and the gate is output by the SRAM unit s Control: the drain of the tube 926 is connected to the source of the tube 925, the source is grounded, and the gate is controlled by signal b.
当SRAM单元中存储值被配置成高电平1时,nFET管921和923导通,实现了NOR操作的nFET电路逻辑功能;当SRAM单元中存储值被配置成低电平0时,nFET管921和923截止,管子923和924串联,a和b信号分别控制管子923和924,实现了NAND操作的nFET电路逻辑功能。When the stored value in the SRAM unit is configured as a high level 1, the nFET tubes 921 and 923 are turned on, realizing the nFET circuit logic function of the NOR operation; when the stored value in the SRAM unit is configured as a low level 0, the nFET tube 921 and 923 are cut off, tubes 923 and 924 are connected in series, a and b signals respectively control tubes 923 and 924, realizing the nFET circuit logic function of NAND operation.
模块910和模块920通过y信号线相连并从y信号线引端口输出,即可以通过配置该SRAM单元可以实现完整的NAND或者NOR逻辑功能。The module 910 and the module 920 are connected through the y signal line and output from the port of the y signal line, that is, the complete NAND or NOR logic function can be realized by configuring the SRAM unit.
其中,图9示出的模块910中第一-第三pFET管上接的s信号和a数据可互换,第三至第六pFET管上接的s信号和b信号可互换,同样,模块920中的第一-第三nFET管上接的s信号和a数据可互换,第三至第六nFET管上接的s信号和b信号可互换。Wherein, the s signal and a data connected to the first-third pFET tubes in the module 910 shown in FIG. 9 are interchangeable, and the s signal and b signal connected to the third to sixth pFET tubes are interchangeable. Similarly, The s signal and a data connected to the first-third nFET tubes in the module 920 are interchangeable, and the s signal and b signal connected to the third to sixth nFET tubes are interchangeable.
NANDOR基本单元的实现形式同样可以是上述单元中的pFET逻辑电路模块和nFET逻辑电路模块的任意组合实现。The implementation form of the NANDOR basic unit can also be realized by any combination of pFET logic circuit modules and nFET logic circuit modules in the above units.
图4-9中示出的上拉网络pFET逻辑电路模块和下拉网络nFET逻辑电路模块可任意组合构成NANDOR基本单元。更进一步地,本发明提出的图4-9中示出的上拉网络pFET逻辑电路模块还可以与现有技术中任何其他下拉网nFET逻辑电路模块可任意组合构成NANDOR基本单元。The pull-up network pFET logic circuit module and the pull-down network nFET logic circuit module shown in Figure 4-9 can be combined arbitrarily to form a NANDOR basic unit. Furthermore, the pull-up network pFET logic circuit modules shown in FIGS. 4-9 proposed by the present invention can also be combined with any other pull-down network nFET logic circuit modules in the prior art to form a NANDOR basic unit.
本发明提出了一种基于与或非锥结构的可编程逻辑单元,可将此单元作为基本的AIC逻辑的基本组成单元,通过多层级联,实现各种不同的复杂逻辑功能。该NANDOR逻辑单元结构简单,与图2中的基本AIC单元相比,实现完整功能所需的管子数目可以减少,所经过的延时路径也比较小,故在面积和延时性能上都比现有技术图2中的AIC基本单元更优。同时该NANDOR逻辑单元缓解了图2中的AIC基本单元存在的不同配置情况路径延时差异较大的问题,可以通过对本发明结构中的管子参数进行调整,可以实现将不同配置延时的差异调到所需范围。The present invention proposes a programmable logic unit based on an AND-OR cone structure, which can be used as a basic unit of AIC logic to realize various complex logic functions through multi-layer cascading. The structure of this NANDOR logic unit is simple. Compared with the basic AIC unit in Figure 2, the number of tubes required to realize a complete function can be reduced, and the delay path passed is also relatively small, so the area and delay performance are better than the existing ones. The AIC basic unit in Figure 2 of the prior art is better. At the same time, the NANDOR logic unit alleviates the problem that the AIC basic unit in FIG. to the desired range.
本发明提出的NANDOR单元在保持了图2AIC基本单元与传统LUT结构相比的速度快,可扩展性强,能复用逻辑资源,提升资源利用率的特点的基础上,在结构实现上更为简单,面积更小,速度更快,而且可以通过调整管子参数的方法弥补了图2AIC基本单元存在的配置路径延时差异问题。The NANDOR unit proposed by the present invention maintains the fast speed compared with the traditional LUT structure of the AIC basic unit in Figure 2, has strong scalability, can reuse logic resources, and improves resource utilization, and is more efficient in structural realization. It is simple, smaller in area, faster in speed, and can make up for the configuration path delay difference problem of the AIC basic unit in Figure 2 by adjusting the tube parameters.
以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention, and are not intended to limit the present invention. Within the spirit and principles of the present invention, any modifications, equivalent replacements, improvements, etc., shall be included in the protection scope of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510988404.0A CN105610427B (en) | 2015-12-24 | 2015-12-24 | A kind of programmable logic cells based on and-or inverter structure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510988404.0A CN105610427B (en) | 2015-12-24 | 2015-12-24 | A kind of programmable logic cells based on and-or inverter structure |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105610427A CN105610427A (en) | 2016-05-25 |
CN105610427B true CN105610427B (en) | 2018-09-11 |
Family
ID=55990007
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510988404.0A Active CN105610427B (en) | 2015-12-24 | 2015-12-24 | A kind of programmable logic cells based on and-or inverter structure |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105610427B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111429956B (en) * | 2020-03-11 | 2022-04-05 | 浙江大学 | A multi-mode computable SRAM cell circuit and its control method |
CN114337646B (en) * | 2021-12-17 | 2024-06-25 | 无锡中微亿芯有限公司 | Cluster circuit-based p-flash type programmable logic device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1547324A (en) * | 2003-12-16 | 2004-11-17 | 复旦大学 | Programmable logic unit structure |
CN101682329A (en) * | 2008-01-30 | 2010-03-24 | 雅格罗技(北京)科技有限公司 | A kind of integrated circuit with improved logical block |
CN102647181A (en) * | 2008-01-30 | 2012-08-22 | 雅格罗技(北京)科技有限公司 | Integrated circuit with improved logic cells |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8836368B2 (en) * | 2011-12-21 | 2014-09-16 | Ecole Polytechnique Federale De Lausanne (Epfl) | Non-LUT field-programmable gate arrays |
US9285808B2 (en) * | 2013-03-05 | 2016-03-15 | Qualcomm Incorporated | Adaptive switching voltage regulator |
US8981831B1 (en) * | 2013-09-11 | 2015-03-17 | International Business Machines Corporation | Level shifter with built-in logic function for reduced delay |
-
2015
- 2015-12-24 CN CN201510988404.0A patent/CN105610427B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1547324A (en) * | 2003-12-16 | 2004-11-17 | 复旦大学 | Programmable logic unit structure |
CN101682329A (en) * | 2008-01-30 | 2010-03-24 | 雅格罗技(北京)科技有限公司 | A kind of integrated circuit with improved logical block |
CN102647181A (en) * | 2008-01-30 | 2012-08-22 | 雅格罗技(北京)科技有限公司 | Integrated circuit with improved logic cells |
Also Published As
Publication number | Publication date |
---|---|
CN105610427A (en) | 2016-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20050218929A1 (en) | Field programmable gate array logic cell and its derivatives | |
CN101969306B (en) | FPGA (Field Programmable Gate Array) configurable five-input lookup table structure | |
US7759974B1 (en) | Pipelined unidirectional programmable interconnect in an integrated circuit | |
JP6718442B2 (en) | Circuit and method for controlling power in an integrated circuit | |
US9281807B1 (en) | Master-slave flip-flops and methods of implementing master-slave flip-flops in an integrated circuit | |
US7605604B1 (en) | Integrated circuits with novel handshake logic | |
US10686446B2 (en) | Power gated lookup table circuitry | |
US9923555B2 (en) | Fine-grained power gating in FPGA interconnects | |
JP6705814B2 (en) | Circuit and method for voltage level shifting in integrated circuit devices | |
CN105391443B (en) | Logic cell for programmable logic device | |
US7746113B1 (en) | Circuit structures utilizing multiple voltage level inputs | |
CN105356875B (en) | A kind of single-particle reinforces the lut circuits of FPGA | |
US7743175B1 (en) | Methods of initializing routing structures in integrated circuits | |
CN105610427B (en) | A kind of programmable logic cells based on and-or inverter structure | |
US9007110B1 (en) | Register circuits and methods of storing data in a register circuit | |
CN105610428B (en) | A kind of programmable logic cells based on and-or inverter structure | |
US7193436B2 (en) | Fast processing path using field programmable gate array logic units | |
KR102688777B1 (en) | Circuit and method for ensuring reliable IO interface during partial reconfiguration of a reprogrammable integrated circuit device | |
CN105610429B (en) | A kind of programmable logic cells based on and-or inverter structure | |
JP2017532850A (en) | Programmable delay circuit block | |
US20180006653A1 (en) | Integrated circuits with hybrid fixed/configurable clock networks | |
US9553592B1 (en) | Circuits for and methods of generating a divided clock signal with a configurable phase offset | |
US9825632B1 (en) | Circuit for and method of preventing multi-bit upsets induced by single event transients | |
CN105471422A (en) | Programmable logic module integrating auxiliary logic operation unit | |
US7423452B1 (en) | Integrated circuit including a multiplexer circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |