Professional Documents
Culture Documents
LS 4
LS 4
nature, a rapidly grobing number of researchers are integration in a digital-system straight forward. In
networksC11. For the VLSI implementation of neural design parallel input 7-to-3 and 1S-trr-4 1's counters
circuits and systems, the analog and digital approach for the purpuse of implementing the high speed 5:::5 and
seems to be extremely attractive in terms of size, 12:::12 digital multiplier designs. The multipliers
pcwer, and speed. Several promising research results d here are different frum the w n ~ e n tional
have been reported, including suc:h det,ices as digital multiplier in both ciri:uit configuration and
assoLiative memories[21 and digital image processor for thv performance. We h a w implementrd the proposed 1 ' s
pattern recognition[31. ~:uuntersand mu1 t ip1 iers Kith 2 micrometer double metal
The simplicity of network architecture and its CHnS tec,hnc,logy.
circuits, composing of amp1 i fiers( neurons) and 11. U n Neural Network Model
conductances(synapses), makes the Hopfield network 'The.Hopfi~ldnetwork has the bidirectional feedback
suitable f o r VLSI implementation. This net,work, which i-ypl, nrtwirk Tlr. which is symmetric and bithout
simply finds the minimum of the energy function, is self-feedhack terms, i.e. Tih = Th, and Til = 0. It has
applied t.o an associative memory and t.n solving bren u w d in the design of Tank-Hopfirld ADC. The
optimization problems. Due to the bidirectional digital output of the ADC is dependent on previnus
feedback connections between the neurons and the output states as vel1 as tllc: initial states. In order
complexity of the energy function, there exist several tn implement J'LSI digital circuits, ve need a special
local minima. A parallel neural network y u r p ( ~ s eneural network, which is unidirectional feedbag-k
analog-to-digital converter(AUC) was designed by Tank i y p e ( l ' F T ) mlndrl shown in Fig. 1.
and Hopfieldl41, vhu used the energy minimization The numbrr of ferdhacrk connect inns in thr proposed
the cast. of the Hopfield model. We propose a novel LSE counter circuit forms the final product output. The
~:lr~uitof the parallel 7-to-3 1 ’ s counter with UFT stage at which t.lie most number of addition is performed
mudeI in Fig. 2. The feedback connections from the
is F4 and at this stage, a total of 7
higher bit output nodes are unidirectional. All the 7
input signals V1 - V7 art: connected to the PMOS gates values( 1 , 1 , 1 , l , l , 1 ,O) are counted. Therefore 7-to-3 1 ’ s
in parallel. And the remaining two terminals GND and wunter which counts the number of ”1” from 7 input is
YDD arc’ c:onnt.cted to the PMOS and NMOS gates, required t.o obtain the output of P4. For the other
ri.sprv.1 ibely. Two inverters are connected in series and
st.ages, the size of the 1 ’ s counter is determined by
v11i-k u s clne amplifier(neuron) unit.
the number of partial products and carries.
The output voltage of neuron ”i” is given by:
IV. &sign of Parallel Input 1’s Counter
= cf“-‘ ifk>i
i f k g i
(4)
and L is 2 micrometers for the PMOS. For the NMOS, W is
2 micrometer and L is 2 micrometer. Conductances of
111. Multiplication Alaorithm FMOS’s are all 1 and those of NMOS’s whose gates are
The multiplication of binary numbers is performed in connected t o VDD are 1, 2 and 4. And the conductances
tht, same way as bit11 decimal numbers as shown in Fig.
of NMOS’s of the feedback part are 2 and 4. When all
3 . Let us multiply the two binary numbers 11111 and
MOS transistors are on, the difference between the
11111. The multiplicand is multiplied by each bit of
total conductance of the PMOS and that of the NMOS at
the multiplier, starting from the least significant each stage is 1, 2 and 4, respectively.
hit. Each s w h multiplication forms a part.ia1 product. The operation of the circuit is as follows : If any
I F the multiplier bit is 1 , the multiplicand is copied
input is I , the PMOS of t.hat column will be off. The
dnwn : otherwise, zero is copied down. The numbers
output is determined by the difference between the
wpii~d dobn in successive 1 ines are shifted by one
posit inn each t o the left from the previous numbers. total conductance of PMOS’s and that of NMOS’s. When
I l w I S R output, is simply the product of A0 and BO. t.he sum of PMOS conductances is greater than or equal
And by adding two product terms (AO:>Bl) and ( A l X l O ) , to that of NMOS, the stage of buffer input is regarded
%-bit carry ”01” is generated at the second stage and as high ; ot.herwise, it is low. For example, when all
p r ‘ o l ~ g e t e d t o the next stages successively. At the inputs(V1 - ‘47) are 1 all outputs(V01 - V03) are also
:;t.agii. For the o t h c r stages, carries are generated by Fig. 4 sl~o\.s the 5:35 multiplier. It consists of AND
gates and parallel input 1 ’ s counters. Inputs of the
llre sum of partial product and carries from previous
circuit are multiplicands A0 to A4 and the multipliers
::tag(.:; as the Gay deswibed above. This addition
BO t o 04, and the output results are FO to P9. The LSB
prc~cc.;s is identical to counting the number of ”1”. output PO is simply the product of A0 and BO. The
Thu:, a cmunter which counts the number of ”1” and also output P1 is the sum of (A1:XBl) and (AlNiO), and is
1047
obtained from the output of the half adder. The carry
References
is propagated to the next 1’s counter. To obtain output
C11 H. P. Craf, and L. D. Jackel, ”Analog Electronic
P2, count4 circuit is used whose inputs are (Al*B4),
Neural Network Circuits,” IEEE Circuits and Devices
(A2*B3), (A3*B2) and a carry from previous stage. The
Magazine, pp.44-49, July 1989.
output LSB from the count4 circuit forms P2 and the
[Z] R. E. Howard, D. B. Schwartz, J. S . Denker, R. W.
other 2 bits are propagated successively. The other
Epworth, H. P. Graf, W. E. Hubbard, L. D. Jackel,
outputs P3, P4, ... and P9 are obtained by choosing the B. L. Straughn, and D. M. Tennant, ”An Associative
counter circuit in the order of the corresponding
memory Based on an Electronic Neural Network
number of the inputs.
Architecture,” IEEE Trans. on Electroniuc Devices,
Expanding the above mentioned method, a 12*12
vol. ED-34, no. 7 , pp.1553-1556, July 1987.
multiplier was also designed using 15-to-4 1 ’ s counter.
[31 H. P. Craf, and P. devegvar, ”A CMOS Implementation
VI. Simulation Results and Layout of a Neural Network Model,” Proceedings of the
The circuit simulator PSPICE is used as a simulation 1987 Stanford Conference, pp.351-362, the HIT
too1 for simulating a 7-to-3 1’s counter. The simulated Press.
results of the 7-to-3 1’s counter are shown in Fig. [41 D. W. Tank, and J. J. Hopfield., ”Simple ’Neural’
5(a) and (b). It is shown that outputs of 7-to-3 1’s Optimization Networks : an A/D Converter, Signal
counter are determined by the number of ”1” to the Decision Circuit,” IEEE Trans. on Circuits and
input circuit. Systems, vol. CAS-33, no. 5, pp.533-541, May 1986.
IC mask pattern of 5*5 multiplier is shown in Fig. [SI J. S. Jang, S. Y. Shin, and S. Y. Lee, ”Optical
Neural-net Analog-to-Digital Converter,” Optics
6. The circuit was designed with the CMOS 2 micrometer
Letters, vol. 14, no. 3, pp.159-161, Feburary 1989.
double metal design rules.
VII. Conclusion
A unidirectional feedback type(UFT) neural network
model has been presented. The UFT model applications to
digital circuits were demonstrated to the design of a
novel parallel 740-3 1’s counter and a 15-to-4 1’s
counter. Digital 5*5 and 12*12 multipliers were also
designed. These circuits are VLSI implemented with CMOS
processing systems.
Uo.
UI.
1048
( A 4 A3 A2 A 1 AO) 1 1 1 1 1
(84 E3 82 B1 BO) 1 1 1 1 1
1 1 1 1 1
partial 1 1 1 1 1
products 1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
0 1
1 0
1 0
1 1
1 1
1 0
0 1 f :
0 1
________________________________ i T :M......;.................. ;.................. ;.................. :.................. j
1 1 1 1 0 0 0 0 0 1
t
1
_ 1 I0.
d ;
4 g
F9 P8 P7 P6 P5 P4 P3 P2 P1 PO output products
( a ) Input waveforms.
FIE
Q1
Q2
A3
A4
BE
61
62
E
63
84 ................................................................................................ I
8 , .............................................................................................. ,
. , .. ..................
..................... ,
4
! z s
Fig. 4. Circuit of 535 multiplier.
( b ) Output waveforms.
Fig. 5. Simulation result of 7 to 3 1’s counter.
1049