PINDESCRIPTION
Signals READY, RD, WAIT, DS, BUSY, LASTIN
and O11 ( external A/D Start Conversion) have
programmable polarity, see table 6 for default
values.
V
DD
,VSS. Power is supplied to W.A.R.P. using
these pins.V
DD
isthe powerconnectionand VSSis
the ground connection;multi-connectionsare necessary.
MCLK.
Master Clock
(Input): This is the input
master clock whose frequency can reach up to
40MHz(MAX).
During the Off-Line phase with AUTO High, the
MCLKis internallydividedto utilize boot memories
workingwitha slowerfrequency.Theaccessspeed
is presettableby means of SIS0-SIS2pins.
PRESET.
Preset
(Input, active Low) : This is the
restart pin of W.A.R.P.. It is possible to restart the
work during the computation (On-Line phase) or
before the writing of internal memories (Off-Line
phase). In both cases it must be put Low at least
for a clock period. After PRESET Low the processor remainsin the resetstatus 3 MCLK pulses.
AUTO.
Auto-Boot:
(Input,activeHigh): During the
Off-Linephase AUTOHigh enables the automatic
bootof W.A.R.P.2.0 whereas AUTO Lowvalidates
the manual downloading.The manualboot has to
be performed using the handshaking signals
RD/READY.
During the On-Line phase AUTO High disables
the generation of the Start A/D conversion (O11)
signal.
SIS0-SIS2.
Speed& Input Selection
(Inputs): DuringtheOff-Linephase withAUTOHigh(Auto-Boot)
SISbus allowstochoosethespeedofdownloading
fromthe externalmemorywhich containsthestartupconfigurationof W.A.R.P.2.0.In thatcase (AutoBoot)MCLKisinternallydividedtoprovideaslower
sinchronizationsignal which is automaticallyused
asRDfor thereadingof theexternalmemory.Table
2 shows how to preset the frequency of thissynchronizationsignal.
During the On-Line phase in Slave mode (see
RegisterBench description,Tab.5)SIS bus allows
to provide W.A.R.P.2.0with inputs in any order by
specifying their identification number. The input
and its identification number (SIS0-SIS2) will be
acquired at the next active RD so they must be
already stable when RD is given.
SIS0 SIS1 SIS2
Internal Synchronization
Signal Frequency
Low Low Low MCLK/32
High Low Low MCLK/16
Table2. DownloadingSpeed
I0-I7.
Input bus
(Input): During the Off-Linephase
these 8 data inputpins acceptaddresses anddata
from the e xte rna l boot memory cont aining
W.A.R.P.2.0 configuration. This start-up memory
(which can be a ZERO-POWER,the host processor memory, an EPROM, a Flash,the PC Memory,
etc.) contains the fuzzy project built by means of
FUZZYSTUDIO2.0.
In On-Linemodethisbuscarriestheinputvariables
accordingto the prefixedorder.
OFL.
Offline
(Input, active High): When this pin is
High,the chipisenabledtoloaddataintheinternal
RAMs (Off-Linephase). It must be Low when the
fuzzy controller is waiting for input values and
during the processingphase (On-Linephase).
When OFL changes its status the processor remains presettedfor 3 clockpulses.
LASTIN.
Last Input
(Input, default active High):
During the On-Line phase in slave mode (see
RegisterBench description,table 5) LASTINHigh
indicates no other inputs have to be provided so
W.A.R.P.2.0 canstart the processing phase.
W.A.R.P.2.0 inputs are those in the input interface
so if some variables do not need to be acquired
again (because they change slower than others)
they remainstored and no extra time isrequired to
acquire them again.
OE.
Output Enable
(Input, active Low): OE Low
enables O0-011output bus or (if High) put it in
3-STATE.
WAIT.
Wait
(Input, default active High): This pin
High stops the output processing. When WAIT is
enabled W.A.R.P.2.0 finishes to compute the current output variable but it does not give it on the
output bus until WAIT becomes Low. This signal
allows to synchronize W.A.R.P.2.0with slower devices.
RD.
Read
(Input, default active High): Both in
Off-Line and in On-Line mode RD indicates data
are ready tobe acquired from the input bus I0-I7.
READY.
Ready
(Output,default active High): Both
in Off-Lineand in On-Linemode RDindicates data
have been acquired from the input bus I0-I7 and
are now stored in W.A.R.P.2.0 internal registers.
ENDOFL.
End of Off-Line phase
(Output, active
High): This pin indicates the end of the downloading phase (Off-Line) so the content of the boot
memory is already stored in W.A.R.P.2.0 internal
memories.After ENDOFLis activetheusercan put
OFL Low so the On-Linephase canstart.
BUSY.
BusySignal
(Output, defaultactive High):
When the elaborationphase is running this pin is
active. When W.A.R.P.2.0finishesto compute the
last output variable, it puts BUSY Low and waits
for new inputs.
4/28
W.A.R.P.2.0