
provided by W.A.R.P. by means of A0-A9 and
EPA0-EPA2output pins.
Data must be loaded 8 bit a time in the data bus
and can be read from an external non volatile
memory or loaded by an hostprocessor.
ON-LINE MODE
In On-linemode W.A.R.P. is enabledto elaborate
input values andcalculateoutputsaccordingto the
fuzzyrules storedinto the microprogram.W.A.R.P.
reads the input values one a time in the input data
bus when all the inputs are given, a NP signal is
pulledhighto indicatethatthe computationis start-
ing.Thecomputationalphaseisdividedintwomain
parts. During the first onethe inputvalues areread
and the corresponding ALPHA values (activation
levels) areextractedfrom theinternalmemories. In
the secondpart the computation of the fuzzy rules
and the defuzzificationare implemented.
The block diagramshown infigure 3 describesthe
structure of W.A.R.P..
Antecedent Memory
. It is formed by 4 benchs
eachone containing one to four fuzzy setsbonded
to the input variables.
Consequent Memory
. It is formed by one bench
wherethefuzzysetsbondedto theoutputvariables
arestored .
ProgramMemory
. It is formedby asingle bench.
Each line contains an operating code to execute
the computation of a rule. This code selects the
antecedentweights(ALPHA)involvedinarule,and
connectsthem by the programmedconnectiveop-
erators(AND,OR).
Input Router
. This internal block performs the
input data routing. Data are read one byte a time
fromtheinput databus, storedin 4differentbuffers
and, thanksto apipeline process, sent togetherto
4 indipendentmodulesto be processed inparallel
accordingtothe chosenset-upconfiguration.Input
data resolution is decided by the user (MAX 128
points) according to the available configurations,
as shown intable 5.
The cycle starts when apositive pulseis appliedat
FIN for a time no lower thanan entireclock period
and continues until a new FIN (after NP low) or a
PRST signal is given.
Fuzzifier
. This block generates the addresses of
the antecedentmemories wheretheALPHAvalues
for each sampled input value are stored. It reads
the first four input values and calculates the corre-
sponding antecedent memories addresses. After-
wards it reads other four inputs values and
simultaneously sends, thanks to a pipeline proc-
ess, the previous four ALPHAvalues into internal
registers.TheseALPHAvalues arethensenttothe
InferenceUnit. W.A.R.P.stores all ALPHA values
comprising a term set, which is formed by the MFs
connected to the IF-part of a rule, in successive
memory locations of the same memoryword (see
figure 4). The vectors characterizing the MFs of a
term setarestored so that the ALPHAs of different
MFs corresponding to the same universe of dis-
course point (for the same input) are stored se-
quentially. So W.A.R.P. retrieves all the alpha
values of a term set using the crisp input value to
calculate the memory word address in the used
fuzzy memory device.The Fuzzifier Unit is driven
Figure5. Antecedent MemoryOrganization
7/19
W.A.R.P.1.1