<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">Simulation of Logic Elements in Reverse Mode for Building Neural Networks</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Serhii</forename><surname>Tsyrulnyk</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">Vinnytsia Technical College</orgName>
								<address>
									<addrLine>Khmelnytske highway, 91/2</addrLine>
									<postCode>21000</postCode>
									<settlement>Vinnytsia</settlement>
									<country key="UA">Ukraine</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Volodymyr</forename><surname>Tromsyuk</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">Vinnytsia Technical College</orgName>
								<address>
									<addrLine>Khmelnytske highway, 91/2</addrLine>
									<postCode>21000</postCode>
									<settlement>Vinnytsia</settlement>
									<country key="UA">Ukraine</country>
								</address>
							</affiliation>
						</author>
						<author role="corresp">
							<persName><forename type="first">Valentyna</forename><surname>Vernygora</surname></persName>
							<email>valentina.vernugora@vtc.vn.ua</email>
							<affiliation key="aff0">
								<orgName type="institution">Vinnytsia Technical College</orgName>
								<address>
									<addrLine>Khmelnytske highway, 91/2</addrLine>
									<postCode>21000</postCode>
									<settlement>Vinnytsia</settlement>
									<country key="UA">Ukraine</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Yaroslav</forename><surname>Borodai</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">Vinnytsia Technical College</orgName>
								<address>
									<addrLine>Khmelnytske highway, 91/2</addrLine>
									<postCode>21000</postCode>
									<settlement>Vinnytsia</settlement>
									<country key="UA">Ukraine</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">Simulation of Logic Elements in Reverse Mode for Building Neural Networks</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">58574042EBFBB0C8AF75F008D4290249</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-24T11:55+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>Logic element</term>
					<term>buffer</term>
					<term>inverter</term>
					<term>NAND</term>
					<term>NOR</term>
					<term>neural network</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>The hardware implementation of a feedback neural network, which is based on two ideas: Stephen Grasberg's adaptive resonance theory and Hopfield's auto-associative memory, requires that all elements be connected by direct and feedback connections. This paper presents a simulation of ordinary logic elements, but with reversible properties. The proposed structure allows the signals to move both in the forward and the opposite directions. In practice, this will mean that with the help of control signals, neuron signals can be directed along the same lines of communication in different directions. In this way, all elements of the system will be interconnected and the system will be able to remember and choose the best way to solve the problem. The authors propose modeling of ordinary logic elements using a special inclusion scheme based on resistive dividers, which allows providing their reversible mode of operation. It is also proposed to use the following logical elements to build neural networks such as the Cosco architecture. The work simulates the reversible operation of the following logical elements: 1) repeater (buffer); 2) inverter; 3) the logical element NAND; 4) logical element NOR.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>The hardware implementation of neural networks is no less important than the development of algorithms and software for the training and operation of artificial intelligence. To build any device or network requires building materials, i.e. a set of similar and simple structural components. In conventional digital technology, structural units are logical elements that can be used to implement any function. In neural networks, such structural units are neurons. Conventional logic elements can also be used to build connections between neurons and some parts of neurons. However, these logical elements must work in reverse mode to ensure the reverse propagation of Verbos <ref type="bibr" target="#b0">[1]</ref>.</p><p>Logical elements with feedback should be used to build fully connected networks. A characteristic feature of neural networks of this type is the presence of connections between all neurons <ref type="bibr" target="#b1">[2,</ref><ref type="bibr" target="#b2">3]</ref>. The most well-known type of fully connected network is Hopfield networks (Fig. <ref type="figure" target="#fig_0">1</ref>). In them, each neuron has two-way connections with all other neurons in the network. In the general case, the Hopfield network has a symmetrical ring structure, it is impossible to identify hidden neurons and a single direction of signal propagation. The operation of a fully connected neural network and data exchange is controlled by one main neuron <ref type="bibr" target="#b1">[2]</ref>.</p><p>The main problem that hinders the practical application of most neural networks is the complexity and high complexity of the learning process. The use of reversible logic elements allows you to avoid adjusting the feedback when learning the neural network. This idea is the basis of Jagger's proposed recurrent neural network ESN (Echo State Network) <ref type="bibr" target="#b3">[4]</ref><ref type="bibr" target="#b4">[5]</ref><ref type="bibr" target="#b5">[6]</ref>, schematically depicted in Figure <ref type="figure" target="#fig_1">2</ref>. During its training, only the direct connections of the neurons of the hidden layer with the effectors are modified. The forward and feedback connections between the neurons of the hidden layer do not change. Some ESN models may also have constant feedback between effector outputs and hidden layer neuron inputs. In cases where you want to combine two-way communication lines, such as from a programmer or debugger to a microcontroller or between two microcontrollers, you can also use reversible logic elements as a prototype of a fully connected neural network to simplify the circuit <ref type="bibr" target="#b1">[2]</ref><ref type="bibr" target="#b2">[3]</ref><ref type="bibr" target="#b3">[4]</ref>.</p><note type="other">Input Output</note></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Hidden layer</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Layer of effectors</head><p>Receptor layer To study the circuits of reversible logic elements requires information about the features of their inputs and outputs in normal operation. Today there is a large variety of element base with Z state of outputs, which allows you to easily use them in reverse mode. Elements with three states are widely used in microprocessor technology to connect the pins of various devices of the microprocessor system to a common bus. However, in some cases, it is interesting and even necessary to use the usual element base in reverse mode. Reversible operation of logic elements allows signals to move along the same line in both directions but at different times. In addition, the signal can be processed by the same logic element, both in the forward and reverse directions. When using the reversible mode of logical elements, it is possible to achieve reversible calculations in the neural network <ref type="bibr" target="#b7">[8]</ref><ref type="bibr" target="#b8">[9]</ref><ref type="bibr" target="#b9">[10]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Inputs and outputs of logic elements</head><p>To understand the logic of reversible operation of logic elements, it is necessary to understand the models of inputs and outputs of these elements <ref type="bibr" target="#b10">[11]</ref><ref type="bibr" target="#b11">[12]</ref><ref type="bibr" target="#b12">[13]</ref>.</p><p>At the first level of representation of the logical model and even the second level of representation about the inputs of the chips, do not need to know anything at all. The input is considered as an infinitely large resistance, which does not affect the connection of circuit elements. However, the number of inputs connected to one output affects the signal propagation delay.</p><p>Even at the third level of representation of the electrical model in most cases, it is not necessary to know about the internal structure of the chip and the circuitry of its inputs. When using a logic zero input signal, a current not exceeding I1L (minimum allowable current) flows from this input, and when a logic unit signal is applied, a current not exceeding I1H (maximum allowable current) flows into this input. In addition, for the correct logic of the chip, it is enough that the voltage level of the input signal of the logic zero was less than U1L, and the voltage level of the input signal of the logic unit was greater than U1H.</p><p>A special case is a situation when any input is not connected to any of the outputs, or the common wire, or the power bus (the so-called hanging input). Sometimes the capabilities of the chip are not fully used, and some inputs do not send signals. However, the chip may not work or work erratically, as its proper inclusion implies the presence of logic levels at all inputs. When such a chip is used in a neural network, all outputs must always be used for signal processing.</p><p>The outputs of the chips are fundamentally different from the inputs in that taking into account their features is necessary even at the first and second levels of representation.</p><p>There are three types of output stages, which differ significantly, both in their characteristics and in application <ref type="bibr" target="#b10">[11]</ref>.</p><p>1. Standard output or output with two states (denoted by 2C, 2S or, less frequently, TTL, TTL); 2.</p><p>Output with an open collector (denoted OK, OС); 3. Output with three states or (high-impedance, Z-state) with the possibility of disconnection (denoted by 3С, 3S). The standard output 2C has only two states: logical zero and logical one, and both of these states are active, i.e. the output currents in both of these states (I0L and I0H) can reach appreciable values. At the first and second levels of representation, such outputs can be considered to consist of two switches that are closed alternately (Fig. <ref type="figure" target="#fig_2">3</ref>), and the circuit of the upper switch corresponds to the logic unit at the output and the circuit of the lowerlogical zero. The output with the open collector OK also has two possible states, but only one of them (the state of logical zero) is active, ie provides a large inflow current I0L. The second state is essentially reduced to the fact that the output is completely disconnected from the inputs connected to it. This state can be used as a logic unit, but for this purpose between the output OK and the supply voltage, it is necessary to connect a load resistor R of the order of hundreds of kOhm (in our case 200 kOhm).</p><p>The output with three states of the 3C is very similar to the standard output, but to the two states is added a third -passive, in which the output can be considered disconnected from such a scheme. At the first and second levels of representation, such an output can be considered to consist of two switches (Fig. <ref type="figure" target="#fig_2">3</ref>), which can be closed alternately, giving a logical zero and a logical unit, but can also open simultaneously. This third state is also called high-impedance or Z-state.</p><p>For example, if signals from two outputs need to be applied to the same input in turn (Fig. <ref type="figure" target="#fig_3">4</ref>), then outputs 2C are not suitable for this, but outputs OK and 3C are suitable. That is, logic elements with such outputs can be used in reverse mode to build multidirectional neural networks. When combining two or more outputs 2C, one output may give a signal of a logical unit, and the othera signal of logical zero. It is easy to see that in this case, through the upper closed key of the output, issuing one, and through the lower closed key of the output, issuing zero will go unacceptably high short-circuit current Isc. This is an emergency in which the level of the received output logic signal is not precisely defined, it can be perceived by the subsequent input as zero and as one. Conflicting outputs can even fail, disrupting chips and circuits in general. Logic elements with such outputs can be used in reverse mode, but only in special switching circuits that will prevent short circuits.</p><p>However, in the case of combining the two outputs of the OK, such a conflict in principle cannot happen. Even if the key of one output is closed and the other is opened, an emergency will not occur, because there will be no unacceptably large current, and the combined output will have a logic zero signal. And when combining two outputs of the Armed Forces, an emergency is possible (if both outputs are simultaneously in the active state), but it can be easily prevented if you organize the circuit so that only one of the combined outputs of the Armed Forces will always be in the active state. <ref type="bibr" target="#b10">[11]</ref><ref type="bibr" target="#b11">[12]</ref><ref type="bibr" target="#b12">[13]</ref>.</p><p>Combining the outputs of logic elements in the bus organization of communication between digital elements to form simple neural networks. Most often, the bus organization is used in microcontroller devices; it simplifies the scheme, but is not yet a neural network. This approach allows generalized modeling of neural networks on standard logic elements <ref type="bibr" target="#b1">[2]</ref><ref type="bibr" target="#b2">[3]</ref><ref type="bibr" target="#b3">[4]</ref><ref type="bibr" target="#b10">11]</ref>.</p><p>By bidirectional, lines are understood such lines (wires), the signals of which can propagate in two opposite directions. Unlike unidirectional lines that go from one output to one or more inputs, multiple outputs and multiple inputs can be connected to a two-way line at the same time (Fig. <ref type="figure" target="#fig_4">5</ref>). Bidirectional lines can be organized only based on the outputs of the OK or AP <ref type="bibr" target="#b10">[11]</ref><ref type="bibr" target="#b11">[12]</ref><ref type="bibr" target="#b12">[13]</ref>. Therefore, almost all buffers have just such outputs. The construction of a neural network implies that all logical elements are interconnected, both at the input and at output. It is the reversible inclusion of logical elements that can provide the hardware of the neural network to provide logical calculations of artificial intelligence <ref type="bibr" target="#b13">[14]</ref><ref type="bibr" target="#b14">[15]</ref><ref type="bibr" target="#b15">[16]</ref><ref type="bibr" target="#b16">[17]</ref>.</p><p>In. Out</p><p>In. Out. In. Out. In. Out. A bidirectional line must be multiplexed, and a multiplexed line can be both unidirectional and two-way. In any case, it is joined by several outputs, only one of which at any given time is in the active state. The remaining outputs are currently disabled (switched to passive state). Unlike a twoway line, only one input can be connected to a buffer-based multiplexed line, but necessarily several outputs from the OK or 3C <ref type="bibr" target="#b10">[11]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Simulation of logic elements in reverse mode in Multisim environment 12</head><p>Reversibility in the operation of electronic devices allows equivalent transmission and/or signal processing through these devices in the direction from input to output, and in the opposite direction <ref type="bibr" target="#b13">[14]</ref><ref type="bibr" target="#b14">[15]</ref><ref type="bibr" target="#b15">[16]</ref><ref type="bibr" target="#b16">[17]</ref><ref type="bibr" target="#b17">[18]</ref><ref type="bibr" target="#b18">[19]</ref><ref type="bibr" target="#b19">[20]</ref><ref type="bibr" target="#b20">[21]</ref>, i.e. the inputs and outputs of reversible devices are mutually inverted. The study of the operation of logic elements in reverse mode is to build a switching circuit that allows the logic signal to flow, both in the forward and reverse directions <ref type="bibr" target="#b13">[14]</ref><ref type="bibr" target="#b14">[15]</ref><ref type="bibr" target="#b19">[20]</ref><ref type="bibr" target="#b20">[21]</ref>. To do this, you need to provide a large input resistance at the input of the logic element: more than 50 kOhm and a load resistance of the order of several 100 kOhm. The output resistance to avoid subsidence of the output signal level must correspond to the ratio <ref type="bibr" target="#b19">[20]</ref>:</p><p>𝑅𝑖𝑛 ≥ 2𝑅𝑜𝑢𝑡, where Rin and Routinput and output pair of reversible logic element.</p><p>To ensure minimal amplitude-frequency distortion of the output logic signals, the circuit of the logic elements must be symmetrical, both in input and in output. At such inclusion, logical elements will work equally both indirect inclusion and in return (Figure <ref type="figure" target="#fig_5">6</ref>). When a signal source (IN) is connected to terminal b, the load to terminal a of the logic element will operate in direct connection (input on the left and output on the right). When a signal source (IN) is connected to pin a, the load on pin b of the logic element will operate in reverse (input on the right and output on the left). If you provide the connection of several inputs of the logic element, the symmetry will be broken, which will lead to a slight distortion of the output signal. However, this will provide information about the current state of the input signals, which will be shown later in the process of modeling reversible logic elements.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">. The Buffer simulation in Multisim environment 12</head><p>Figure <ref type="figure">7</ref> shows a diagram of the study of the buffer 4010VS1 in reverse mode. The circuit consists of: a rectangular signal generator G1 with a frequency of 100 kHz and a voltage of 5V; resistors R1 and R3 to provide high input resistance; resistors R2 and R4 to provide output decoupling (matching output resistances); load resistance R5 (signal receiver); switches SA1 and SA2, which act as controllers, determining the input and output of the reversible logic element, in this case, the buffer.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Figure 7: Scheme of the study of the buffer direct inclusion</head><p>Figure <ref type="figure">8</ref> shows the timing diagrams of the buffer indirect inclusion, which show that such a logic element repeats the input signal without significant distortion. The delay of the output signal for the test buffer is 124 ns.</p><p>To study the buffer in inverse mode, you need to switch switches SA1, SA2 to the opposite value. In this case, the signal is fed to the right (in the previous scheme it was the input) and removed to the left (in the previous scheme it was the output).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Figure 8: The Oscillograms of the buffer in the direct-on mode</head><p>The results of the study of the buffer in the inverse mode are shown in Figure <ref type="figure">9</ref>. The delay of the output signal for the studied buffer is 124 ns.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Figure 9:</head><p>The Oscillograms of the buffer in the reverse mode From Figures <ref type="figure">8 and 9</ref> it is seen that the studied circuit of the inverter works the same, both in direct connection and in reverse. It is determined that the output signal delay is 124 ns, and the buffer is limited to a maximum frequency of 100 MHz.    <ref type="figure" target="#fig_0">11</ref> shows the timing diagrams of the inverter in direct inclusion, which shows that such a logic element inverts the input signal without significant distortion. The delay of the output signal for the investigated inverter is equal to 5ns. Negative voltage output at the beginning of the pulses and positive -at the end of the pulses is 0.3V.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">. The Inverter simulation in Multisim environment 12</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Figure 11: The Oscillograms of the inverter in the direct-on mode</head><p>Figure <ref type="figure" target="#fig_1">12</ref> shows a study diagram of the inverter NC7SZU04 in reverse inclusion. In this case, the input of the element to the right, where previously there was input, and the output to the left, where previously there was an output. This ensures the reversibility of the investigated logical element.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Figure 12: The scheme of the study of the inverter in reverse inclusion</head><p>Figure <ref type="figure" target="#fig_2">13</ref> shows the timing diagrams of the inverter in reverse switching, which show that such a logic element inverts the input signal with a delay of the output signal of 5.5ns and a negative voltage output at the beginning of the pulses and positive at the end of the pulses 0.32V.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Figure 13: The Oscillograms of the inverter in reverse mode</head><p>The results of the study of the inverter in reverse mode show that such a logic element works the same in both cases. Although due to the above switching scheme there are some insignificant amplitude-frequency distortions of the output signal (0.3-0.32V), which can be easily eliminated using amplitude limiters.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3">. The Logical element of NAND simulation in Multisim environment 12</head><p>Figure <ref type="figure" target="#fig_9">14</ref> shows a diagram of the study of the basic logic element NAND (NC7SZ00) in the mode of direct inclusion. In this inclusion, the logic element NAND (Figure <ref type="figure" target="#fig_10">15</ref>) works like a normal inverter with a delay of the output signal of 5.8ns and voltage output of 0.32V.  Figure <ref type="figure" target="#fig_11">16</ref> shows a diagram of the study of the logic element NAND NC7SZ00 in direct connection in the case when the inputs are connected to two input signals. The pulse duration of the first signal is 2 times less than the pulse duration of the second signal. That is, the frequency of the first signal is 2 times higher than the frequency of the second signal. This inclusion allows you to explore all possible combinations at the input of the element NAND, both in direct inclusion and in reverse. Figure <ref type="figure" target="#fig_12">17</ref> shows the timing diagrams of the logic element NAND in direct connection, which shows that the delay of the output signal is 5.8ns, and the amplitude emission is 0.32V. In the pause, the signal differs from the logic zero by 0.32V, now when on both inputs of a logical element logical zero, subsidence of an output signal on 0,32V with a delay of 5.8ns is observed. Figure <ref type="figure" target="#fig_13">18</ref> shows the timing diagrams of the logic element NAND in the reverse inclusion (in the diagram Figure <ref type="figure" target="#fig_11">16</ref>, it is necessary to translate the switches SA1, SA2 in the opposite state). In the pause, the signal differs from the logic zero by 0.32V, now when at both inputs of the logic element logic zero, there is a sag of the output signal by 0.32V with a delay of 5.8ns. At the first input a logical unit, and at the second input a logical zero. In this case, this is due to the transition of the logic signal from the state of logical zero to the state of the logical unit and the violation of the symmetry of the connection of the second input of the logical element NAND. The results of the study of the basic element NAND show that it can work as an inverter, or as a classical element NAND when applying to its input arbitrary variables in time logic signals. However, it is not able to work in normal mode, when one of the inputs will be rigidly set to logical zero. When this is enabled, it, according to the logic of operation, must always output a logical unit, but works as a buffer, but with a significant sag of the output voltage. The advantage of this switching scheme is that when analyzing the output signal, namely the analysis of voltage emissions, you can tell exactly what signals were on each of the inputs of the logic element at a particular time, i.e. this element can store information about the input signals in the output logic signals. The circuit of the reversible logic element NAND is limited to a maximum frequency of 200 MHz.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4">. The Logical element of NOR simulation in Multisim environment 12</head><p>Figure <ref type="figure" target="#fig_0">19</ref> shows a diagram of the study of the basic logic element NOR (NC7SZ02) in the mode of direct inclusion. In this case, one input is a time-varying logic signal, and the other input is a hardset logic zero. In this inclusion, the logic element NOR (Figure <ref type="figure" target="#fig_1">20</ref>) works like a normal inverter with a delay of the output signal of 6ns and voltage output of 0.28V. If you apply to the second input of a logic element NOR non-logic unit (VCC), then the logic of such an element should always give a logical zero at the output, but it will work as a buffer with a significant sag of the output logic signal. Thus such scheme works equally, both in the mode of direct and in the mode of return inclusion.   To study the circuit of the logic element NOR (NC7SZ02) (Figure <ref type="figure" target="#fig_15">21</ref>) in the reverse connection you need to turn the switches SA1, SA2 in the opposite state. Figure <ref type="figure" target="#fig_17">23</ref> shows the timing diagrams of the logic element OR in reverse when connected to both inputs of the sources of logic signals with different frequencies. Voltage voltages of 0.26V with a delay of 6.5ns characterize such a logic element at times when there is a logic unit at both inputs and small short-term voltage emissions when the input signals change to opposite values. The results of the study of the basic element NOR show that it can work as an inverter, or as a classical element NOR when applying to its input arbitrary variables in time logic signals. However, it is not able to work in normal mode, when one of the inputs will be rigidly installed logical unit. When this is enabled, it, according to the logic of operation, should always output a logical zero, but works as a buffer, but with a significant sag of the output voltage. The advantage of this switching scheme is that when analyzing the output signal, namely the analysis of voltage emissions, you can tell exactly what signals were on each of the inputs of the logic element at a particular time, i.e. this element can store information about the input signals in the output as well as well as the element NAND.</p><p>The circuit of the reversible logic element NOR is limited to a maximum frequency of 180 MHz. The power supply of logic elements operating in reverse mode can be carried out both in the usual way, from DC power supplies (Figure <ref type="figure" target="#fig_18">24</ref>, a), and one or more external pulse signal generators (Figure <ref type="figure" target="#fig_18">24, b</ref>), by summing them, for example, adder and subsequent filtration filter R1C1 <ref type="bibr" target="#b19">[20]</ref>. Such a load will not affect the shape and amplitude of the signals of the generators. Note that the diode-resistive circuit protection of the inputs and outputs of CMOS chips allows their operation in low-current modes without the use of its power supply when applying signals to the input(s) of the chip.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Conclusions</head><p>Despite the indisputable achievements of the last 10 years in the development of the theory and practical implementation of neural networks, they remain the subject of further intensive research. The neural network proposed by D. Hopfield was compared either with spin-glassa metastable physical system, or with an associative memory-model of the nervous system of the brain. For a long time, it was ignored, because neural networks were seen as a means of solving applied problems through learning, in which the Hopfield neural network was inferior to the more flexible multilayer networks of direct propagation. Building neural networks of this type require bricks that will consist of the entire structure. Such elements can be even usual logical elements if to use special schemes of inclusion. In the real scheme, the resistances of the n-p junctions of semiconductor transistors, and the switches control signals using multiplexers or other logic switching elements must replace the resistors.</p><p>A study of the reversible operation of logic elements has shown that they can work equally in both direct and reverse inclusion. In this case, the two-input elements can output information, in the output logic signal, about the state of the inputs at a given time. To obtain reliable information about the state of the inputs, you need to analyze the output signal for delays and sagging of the level of the output logic levels based on the logic of the logic element.</p><p>For such elements there is no difference between input and output, the main thing is to ensure the ratio of resistance between the signal source and the load.</p><p>The main task of this work was to show in principle the possibility of using ordinary logic elements in reverse mode. Because of the simulation, it was proved that the logic elements could work in reverse mode, using a special circuit of resistive dividers.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Figure 1 :</head><label>1</label><figDesc>Figure 1: Fully connected Hopfield network</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Figure 2 :</head><label>2</label><figDesc>Figure 2: Echo State Network</figDesc><graphic coords="2,168.35,446.44,253.30,192.15" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head>Figure 3 :</head><label>3</label><figDesc>Figure 3: Three types of outputs of logic elements</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_3"><head>Figure 4 :</head><label>4</label><figDesc>Figure 4: Combining the outputs of logic elements</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_4"><head>Figure 5 :</head><label>5</label><figDesc>Figure 5: Bidirectional line connecting logical elements</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_5"><head>Figure 6 :</head><label>6</label><figDesc>Figure 6: Scheme of inclusion of a logical element</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_6"><head>Figure 10</head><label>10</label><figDesc>Figure 10 shows the study diagram of the inverter NC7SZU04. The circuit consists of: a generator of rectangular signals G1 with a frequency of 100 kHz and a voltage of 5V; resistors R1 and R3 to provide high input resistance (100 kOhm); resistors R2 and R4 to provide output decoupling (20 kOhm); load resistance R5 (200 kOhm); switches SA1 and SA2, which act as controllers, determining the input and output of the reversing inverter; inverter NC7SZU04.</figDesc><graphic coords="7,87.50,499.80,419.87,238.50" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_7"><head>Figure 10 :</head><label>10</label><figDesc>Figure 10: The scheme of the study of the inverter direct connection</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_8"><head>Figure</head><label></label><figDesc>Figure11shows the timing diagrams of the inverter in direct inclusion, which shows that such a logic element inverts the input signal without significant distortion. The delay of the output signal for the investigated inverter is equal to 5ns. Negative voltage output at the beginning of the pulses and positive -at the end of the pulses is 0.3V.</figDesc><graphic coords="8,72.50,135.24,445.79,207.85" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_9"><head>Figure 14 :</head><label>14</label><figDesc>Figure 14: The scheme of research of the logical element of NAND in direct inclusion</figDesc><graphic coords="9,73.25,469.11,448.45,261.70" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_10"><head>Figure 15 :</head><label>15</label><figDesc>Figure 15: The Oscillograms of the logical element of NAND in the mode of direct inclusion</figDesc><graphic coords="10,80.00,72.00,434.24,195.35" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_11"><head>Figure 16 :</head><label>16</label><figDesc>Figure 16: The Scheme of research of a logical element of NAND direct inclusion, at the connection of two sources of logical signals</figDesc><graphic coords="10,92.00,419.91,410.50,240.05" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_12"><head>Figure 17 :</head><label>17</label><figDesc>Figure 17: Oscillograms of operation of a logical element of NAND direct inclusion at the connection of two sources of a signal with different frequency</figDesc><graphic coords="11,72.00,72.00,449.83,211.49" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_13"><head>Figure 18 :</head><label>18</label><figDesc>Figure 18: Oscillograms of operation of a logical element of NAND in reverse inclusion at the connection of two sources of a signal with different frequency</figDesc><graphic coords="11,72.00,436.84,447.65,208.35" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_14"><head>Figure 19 :Figure 20 :</head><label>1920</label><figDesc>Figure 19: The scheme of the study of the logical element NOR direct inclusion</figDesc><graphic coords="12,79.63,552.88,435.70,189.10" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_15"><head>Figure 21</head><label>21</label><figDesc>Figure21shows a diagram of the study of the logic element NOR (NC7SZ02) in the mode of direct inclusion, in the case when both inputs are logic signals time variables. The frequency of the first signal is 2 times higher than the frequency of the second signal, which allows us to investigate the properties of this logic element for all possible combinations of logic signals at both inputs. Figure22shows the timing diagrams of the logic element NOR in direct connection when connected to both inputs of the sources of logic signals with different frequencies. Such a logic element is characterized by voltage emissions of 0.26V at times when both inputs have a logic unit and small short-term (duration 6.5ns) voltage emissions when the input signals change to opposite values. Thus, by analyzing the output signal for delays and voltage emissions, you can great reliability obtain information about the input logic signals at a given time.</figDesc><graphic coords="13,96.30,211.14,402.40,257.37" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_16"><head>Figure 21 :Figure 22 :</head><label>2122</label><figDesc>Figure 21: The scheme of the study of the logic element NOR direct connection when connecting two signal sources</figDesc><graphic coords="13,85.80,521.29,423.39,203.10" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_17"><head>Figure 23 :</head><label>23</label><figDesc>Figure 23: Oscillograms of operation of a logic element NOR in reverse inclusion at the connection of two sources of a signal with different frequency</figDesc><graphic coords="14,72.00,160.54,448.50,215.25" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_18"><head>Figure 24 :</head><label>24</label><figDesc>Figure 24: Options for connecting the power supply to the chips: a) a typical power on; b) organization of power supply from generators</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0"><head></head><label></label><figDesc></figDesc><graphic coords="6,87.50,243.58,419.68,204.00" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0"><head></head><label></label><figDesc></figDesc><graphic coords="6,78.51,574.85,437.36,166.90" type="bitmap" /></figure>
		</body>
		<back>
			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<monogr>
		<title level="m" type="main">Beyond Regression: New Tools for Prediction and Analysis in the Behavioral Sciences</title>
		<author>
			<persName><forename type="first">P</forename><forename type="middle">J</forename><surname>Werbos</surname></persName>
		</author>
		<imprint>
			<date type="published" when="1974">1974</date>
			<pubPlace>Cambridge, MA</pubPlace>
		</imprint>
		<respStmt>
			<orgName>Harvard University</orgName>
		</respStmt>
	</monogr>
	<note type="report_type">Ph.D. thesis</note>
</biblStruct>

<biblStruct xml:id="b1">
	<monogr>
		<author>
			<persName><forename type="first">A</forename><surname>Kononyuk</surname></persName>
		</author>
		<author>
			<persName><surname>Yu</surname></persName>
		</author>
		<title level="m">Neironni merezhi i henetychni alhorytmy</title>
				<meeting><address><addrLine>Kyiv</addrLine></address></meeting>
		<imprint>
			<publisher>Ukrainian</publisher>
			<date type="published" when="2008">2008</date>
			<biblScope unit="page">446</biblScope>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Competitive adaptive bi-directional associative memories</title>
		<author>
			<persName><forename type="first">B</forename><surname>Kosko</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the IEEE First International Conference on Neural Networks</title>
				<editor>
			<persName><forename type="first">M</forename><surname>Caudill</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">C</forename><surname>Butler</surname></persName>
		</editor>
		<meeting>the IEEE First International Conference on Neural Networks<address><addrLine>San Diego</addrLine></address></meeting>
		<imprint>
			<date type="published" when="1987">1987</date>
			<biblScope unit="volume">2</biblScope>
			<biblScope unit="page" from="59" to="66" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">Dynamichni rekurentni neironni merezhi</title>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">M</forename><surname>Riznyk</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Mathematical Machines and Systems</title>
				<imprint>
			<publisher>Ukrainian</publisher>
			<date type="published" when="2009">2009</date>
			<biblScope unit="volume">2</biblScope>
			<biblScope unit="page" from="3" to="26" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Reservoir Riddles: Suggestion for Echo State Network Research</title>
		<author>
			<persName><forename type="first">H</forename><surname>Jaeger</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of International Joint Conference on Neural Networks</title>
				<meeting>International Joint Conference on Neural Networks<address><addrLine>Canada</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2005-04">July 31 Aug. 4. 2005</date>
			<biblScope unit="page" from="1460" to="1462" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<analytic>
		<title level="a" type="main">Feed-forward Echo State Networks</title>
		<author>
			<persName><forename type="first">M</forename><surname>Cernansky</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Macula</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of International Joint Conference on Neural Networks</title>
				<meeting>International Joint Conference on Neural Networks<address><addrLine>Canada</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2005-04">July 31 Aug. 4. 2005</date>
			<biblScope unit="page" from="1479" to="1482" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">Towards Practical Reversible Logic</title>
		<author>
			<persName><forename type="first">R</forename><forename type="middle">C</forename><surname>Merkle</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Workshop on Physics and Computation</title>
				<meeting><address><addrLine>PhysComp. Texas</addrLine></address></meeting>
		<imprint>
			<publisher>IEEE press</publisher>
			<date type="published" when="1992">1992</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<analytic>
		<title level="a" type="main">Conservative logic</title>
		<author>
			<persName><forename type="first">E</forename><surname>Fredkin</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T</forename><surname>Toffoli</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">International Journal of Theoretical Physics</title>
		<imprint>
			<biblScope unit="volume">21</biblScope>
			<biblScope unit="page" from="219" to="253" />
			<date type="published" when="1982">1982</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b8">
	<monogr>
		<author>
			<persName><forename type="first">N</forename><forename type="middle">N</forename><surname>Nepeyvoda</surname></persName>
		</author>
		<author>
			<persName><forename type="first">I</forename><forename type="middle">N</forename><surname>Skopin</surname></persName>
		</author>
		<title level="m">Osnovyi programmirovaniya</title>
				<meeting><address><addrLine>Moscow-Izhevsk</addrLine></address></meeting>
		<imprint>
			<publisher>RHD</publisher>
			<date type="published" when="2004">2004</date>
			<biblScope unit="page">686</biblScope>
		</imprint>
	</monogr>
	<note>in Russian</note>
</biblStruct>

<biblStruct xml:id="b9">
	<analytic>
		<title level="a" type="main">Reversivnyie konstruktivnyie logiki</title>
		<author>
			<persName><forename type="first">N</forename><surname>Nepeyvoda</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Logical Investigations</title>
				<imprint>
			<date type="published" when="2009">2009</date>
			<biblScope unit="volume">15</biblScope>
			<biblScope unit="page" from="150" to="168" />
		</imprint>
	</monogr>
	<note>in Russian</note>
</biblStruct>

<biblStruct xml:id="b10">
	<analytic>
		<author>
			<persName><forename type="first">Yu</forename><forename type="middle">V</forename><surname>Novikov</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Osnovyi tsifrovoy shemotehniki. Bazovyie elementyi i shemyi. Metodyi proektirovaniya</title>
		<title level="s">Mir.</title>
		<meeting><address><addrLine>Moscow</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2001">2001</date>
			<biblScope unit="volume">379</biblScope>
		</imprint>
	</monogr>
	<note>in Russian</note>
</biblStruct>

<biblStruct xml:id="b11">
	<analytic>
		<title level="a" type="main">Classification of mixed odors using a layered neural network</title>
		<author>
			<persName><forename type="first">S</forename><surname>Omatu</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">International Journal of Computing</title>
		<imprint>
			<biblScope unit="volume">16</biblScope>
			<biblScope unit="page" from="41" to="48" />
			<date type="published" when="2017">2017</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b12">
	<monogr>
		<author>
			<persName><forename type="first">V</forename><forename type="middle">O</forename><surname>Kravets</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><forename type="middle">I</forename><surname>Sokol</surname></persName>
		</author>
		<author>
			<persName><forename type="first">O</forename><forename type="middle">M</forename><surname>Rysovany</surname></persName>
		</author>
		<title level="m">Kompiuterna skhemotekhnika</title>
				<meeting><address><addrLine>Kharkiv</addrLine></address></meeting>
		<imprint>
			<publisher>Ukrainian</publisher>
			<date type="published" when="2007">2007</date>
			<biblScope unit="page">480</biblScope>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b13">
	<analytic>
		<title level="a" type="main">Method and technology of synthesis of neural network models of object control with their hardware implementation on FPGA</title>
		<author>
			<persName><forename type="first">P</forename><forename type="middle">I</forename><surname>Kravets</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><forename type="middle">M</forename><surname>Shymkovych</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Samotyy</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 2017 IEEE 9th International Conference on Intelligent Data Acquisition and Advanced Computing Systems; Technology and Applications IDAACS</title>
				<meeting>the 2017 IEEE 9th International Conference on Intelligent Data Acquisition and Advanced Computing Systems; Technology and Applications IDAACS</meeting>
		<imprint>
			<date type="published" when="2017">2017</date>
			<biblScope unit="volume">2</biblScope>
			<biblScope unit="page" from="947" to="951" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b14">
	<monogr>
		<author>
			<persName><forename type="first">V</forename><forename type="middle">V</forename><surname>Kruglov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><forename type="middle">V</forename><surname>Borisov</surname></persName>
		</author>
		<title level="m">Iskusstvennyie neyronnyie seti. Teoriya i praktika</title>
				<meeting><address><addrLine>Moscow</addrLine></address></meeting>
		<imprint>
			<publisher>Goryachaya liniya-Telekom</publisher>
			<date type="published" when="2002">2002</date>
			<biblScope unit="page">382</biblScope>
		</imprint>
	</monogr>
	<note>in Russian</note>
</biblStruct>

<biblStruct xml:id="b15">
	<analytic>
		<title level="a" type="main">Hardware implementation of spiking neural networks on FPGA</title>
		<author>
			<persName><forename type="first">J</forename><surname>Han</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Z</forename><surname>Li</surname></persName>
		</author>
		<author>
			<persName><forename type="first">W</forename><surname>Zheng</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Zhang</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Tsinghua Science and Technology</title>
		<imprint>
			<biblScope unit="volume">25</biblScope>
			<biblScope unit="page" from="479" to="486" />
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b16">
	<monogr>
		<title level="m" type="main">Introduction to Deep Learning</title>
		<author>
			<persName><forename type="first">S</forename><surname>Skansi</surname></persName>
		</author>
		<imprint>
			<date type="published" when="2018">2018</date>
			<publisher>Springer International Publishing</publisher>
			<biblScope unit="page">189</biblScope>
			<pubPlace>New York</pubPlace>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b17">
	<monogr>
		<title level="m" type="main">Electronic Circuits for All</title>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">A</forename><surname>Shustov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">M</forename><surname>Shustov</surname></persName>
		</author>
		<imprint>
			<date type="published" when="2017">2017</date>
			<publisher>Elektor International Media BV</publisher>
			<biblScope unit="page">397</biblScope>
			<pubPlace>London</pubPlace>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b18">
	<analytic>
		<title level="a" type="main">Praktychni pidkhody do zastosuvannia MIMS-Efekt</title>
		<author>
			<persName><forename type="first">S</forename><forename type="middle">M</forename><surname>Tsyrulnyk</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><forename type="middle">I</forename><surname>Roptanov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">S</forename><surname>Zymoglyad</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Optoelectronic information and energy technologies</title>
				<imprint>
			<publisher>Ukrainian</publisher>
			<date type="published" when="2013">2013</date>
			<biblScope unit="volume">1</biblScope>
			<biblScope unit="page" from="39" to="46" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b19">
	<analytic>
		<title level="a" type="main">Reversivnaya rabota logicheskih elementov</title>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">A</forename><surname>Shustov</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">RadioLotsman, V</title>
				<imprint>
			<date type="published" when="2019">2019</date>
			<biblScope unit="volume">08</biblScope>
			<biblScope unit="page" from="44" to="46" />
		</imprint>
	</monogr>
	<note>in Russian</note>
</biblStruct>

<biblStruct xml:id="b20">
	<analytic>
		<title level="a" type="main">A FPGA-based Hardware Accelerator for Bayesian Confidence Propagation Neural Network</title>
		<author>
			<persName><forename type="first">L</forename><surname>Liu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Wang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Wang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Lansner</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Hemani</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Yang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">X</forename><surname>Hu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Z</forename><surname>Zou</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Zheng</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Nordic Circuits and Systems Conference (NorCAS) 2020 IEEE</title>
				<imprint>
			<date type="published" when="2020">2020</date>
			<biblScope unit="page" from="1" to="6" />
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
