ST W.A.R.P. 1.1 User Manual

查询STFLWARP11供应商
WEIGHT ASSOCIATIVE RULE PROCESSOR
HighSpeed Rules Processing AntecedentMembership Functions with any
Shape Up to 256Rules (4Antecedents,1
Consequent) Up to 16 Input ConfigurableVariables Up to 16 MembershipFunctionsforan Input
Variable Up to 16 OutputVariables Up to 128 MembershipFunctionsforall
Consequents MAX-DOT Inference Method Defuzzification on chip SoftwareTools and EmulatorsAvailability 100-pinCPGA100Ceramic Package 84-leadPlastic LeadedChip Carrierpackage
GENERAL DESCRIPTION
W.A.R.P. is a VLSI Fuzzy Logic controller whose architecture arises from the need of realizing an integratedstructurewith high inferencingperform­ancesandflexibility. Toget those resultsa modular architecture based on a set of parallel memory blockshas beenimplemented.
Inordertoobtainhigh performancesW.A.R.P.uses different data representations during the various phases of the computational cycle, so that it is always operating on the o ptimal data repre­sentation. A vectorial characterization has been adopted for the Antecedent Membership Func­tions. W.A.R.P. exploits a SGS-THOMSON pat­entedstrategytostoretheAntecedentMembership
W.A.R.P. 1.1
CPGA100 PLCC84
Figure1. Logic Diagram
MCLK VS S VDD
FIN
SYNC
8
I0-I7
EPA0-EPA2
A0-A9
3
10
CHM OFL
W.A.R.P.
1.1
ADVANCED DATA
10
O0-O9
4
OCNT0-OCNT3
STB NP
EP
PRST
Table 1. W.A.R.P. Configuration Settings
Number of Inputs Configurable [1..8] Standard Rule Format 4 Antecedents, 1 Consequent [or subsets] Rules Number Max 256 Rulesin the 4Antecedent, 1 Consequent format Antecedent’sMFs Number Configurable [up to 16 for an input variable] Consequent’sMFs Number Max 256 for all outputs variables Input Data Resolution 8 bit Output Data Resolution 8 bit
May 1996
This is advance information on a new productnow in development or undergoing evaluation. Details are subject to change without notice.
1/19
W.A.R.P.1.1
Figure2. CPGA100 PinConfiguration
Table 2. AbsoluteMaximumRatings
Symbol Parameter Value Unit
V
DD
V
I
V
O
I
OL
I
OH
T
OPT
T
STG
Notes: Stresses above those listed in the Table ”Absolute Maximum Ratings” may cause permanent damage to the device.
These arestress ratingsonly and operation of the device at these or any other conditions above those indicated in the Operating sections of thisspecification is not implied. Exposure toAbsolute Maximum Rating conditions for extended periods may affect device reliability.Refer also to the SGS-THOMSON SURE Programand other relevant quality documents.
2/19
Supply Voltage -0.5 to 7 V Input Voltage -0.5to VDD+0.5 V Ouput Voltage -0.5to VDD+0.5 V Output Sink Peak Current +24 mA Output Source Peak Current -12 mA Operating Temperature 0 to +70 °C StorageTemperature (Ceramic) -65 to +150 °C StorageTemperature (Plastic) -45 to +125 °C
Figure3. PLCC84Pin Configuration
VDD
VSSA0A1A2A3A4VDD
11 10 9 8 7 6 5 4 3 2 1 84 83 82 81 80 79 78 77 76 75
12
VSS
13
VDD
MCLK
CHM
PRST
MTE
VDD
FIN
OFL
TE
VSS
14 15 16
I0 I1
17
I2
18
I3
19 20
I4
21
I5 I6
22
I7
23 24 25 26 27 28 29 30 31 32
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
VSS
EPA0
EPA1
EPA2A5A6A7A8A9VDD
W.A.R.P. 1.1
VSS
W.A.R.P.1.1
74 73
VDD 72 71
VSS 70
SYNC
69 68
OTST
OMTS
67
STB
66
EP
65
VSS
64
NP
63
OCNT3
62
OCNT2
61
OCNT1
60
OCNT0
59 58
VSS
57 56
VDD
55 54
VSS
O0O1O2O3O4
VDD
O5O6O7O8O9
VSS
VDD
VSS
Table 3. RecomendedOperationConditions (Ta=0to +70 °Cunless otherwisespecified)
Symbol Parameter Min Typ Max Unit
V
DD
V
IL
V
IH
V
OL
V
OH
FCLK Clock Frequency 40 MHz
CL Output Load Capacitance 10 85 pF
Supply Voltage 4.75 5.0 5.25 V Input Voltage 0.8 V Input Voltage 2 V Ouput Voltage 0.5 V Ouput Voltage 2.4 V
3/19
W.A.R.P.1.1
Table4. Pin Description
Name Pins Type Function
V
DD
V
SS
A0-A9 I/O Memory Address Bus
I0-I7 I Data Input Bus
PRST I Preset
FIN I FirstInput Signal
OFL I Off-Line/On-Line Switch
CHM I ChargeMode Switch
TE I Testing(it must be connected to V
MTE I Testing (it must be connected to V
MCLK I Clock (up to 40 MHz)
EPA0-EPA2
O0-O9 O Defuzzified Output
OCNT0-OCNT3 O Output Counter
STB O Strobe(Output Ready Signal)
OTST O Testing(it mustbe connected toV
OMTS O Testing (it must be connected to V
SYNC O External Synchronization
*
Pins not usedin W.A.R.P. 1.0
*
EP O End Process
NP O New Process
Functionsindedicatedmemoriesinorderto reduce the computationaltime. Thereforea great amount of W.A.R.P. processing isbased on a look-uptable approachrather than on on-linecalculation.
Those Membership Functions (MFs), each one portrayed by a configurable resolution of 2 elements,arestored in fourinternalRAMs(1Kbyte each). The consequentMFs, due to the different modelling, are loaded in a single RAM by storing for each MFitsareaandits barycentre.Thisis due to theadoptionof theCenterofGravitydefuzzifica­tion method.
The downloading phase allows the setting of the device, in terms of I/O number, universes of dis­courseandMF shapes.DuringthisphaseW.A.R.P. prepares its internal memories for the on-line elaboration phase and loads the microcode in its programmemory. Thismicrocode,whichdrivesthe on-line phase, is generated by the Compiler (see W.A.R.P.-SDT User Manual) according to the adoptedconfiguration.Thepossibleconfigurations areshown in table 1.
During the on-line phase (up to 40MHz working frequency),W.A.R.P.processes theinputdataand producesitsoutputsaccordingtotheconfiguration loadedin the downloadingphase.
W.A.R.P. is conceivedto work together with tradi-
- Power Supply
- Ground
O EPROM Address Bus
6
or 2
)
SS
)
SS
)
SS
)
SS
tional microcontrollers which shall perform normal control tasks while W.A.R.P. will be indipendently responsiblefor all the fuzzyrelated computing.
W.A.R.P. is manufacturedusing the high perform­ance, reliable HCMOS4T (O.7µm) SGS-THOM-
7
SON Microelectronicsprocess.
PIN DESCRIPTION V
DD,VSS
these pins.V
: Power is supplied to W.A.R.P. using
isthe powerconnectionandVSSis
DD
the ground connection;multi-connectionsare nec­essary.
A0-A9: When the CHM pin is low theyaccept as input theaddressesfortheinternalmemory bus. In the off-linemodetheyareusedtoaddressW.A.R.P. memories where the microprogram and data of antecedentandconsequentmembershipfunctions must be loaded. Each A0-A9 word is composed by assemblingthe datacontainedinthe memorysupportrelatedto.cs and .addfiles (seeW.A.R.P.-SDT User Manual).In particular,couplesofdatarespectivelycomingfrom .cs and .addfiles are joined to forma single A0-A9 word in the followingway:
4/19
W.A.R.P.1.1
add7 add6 add5 add4 add3 add2 add1 add0
cs7 cs6 cs5 cs4 cs3 cs2 cs1 cs0
cs2 cs1 cs0 add6 add5 add4 add3 add2 add1 add0
A9
A0
This resultingword allows to identifythe appropri­ate memory [cs2-cs0] and its respective address [add6-add0] where the relative I0-I7 are to be stored.
When the CHM pin is high, during the off-line phase, W.A.R.P. generates the addresses for its internalmemoriesandsendthoseaddressestothe single external memory support where data (.dat file)are located.These addresses,whichare sent by means of the EPA0-EPA2 and A0-A9 (EPA0 MSB, A9 LSB) output pins, allow to identify the data (on the EPROM) that have be loaded in W.A.R.P. internalmemories. In on-linemode A0-A9 are not used.
I0-I7: During the off-line phase these 8 data input pins accept the microcode configuration and data to be written into the internalmemories. The ante­cedentmemoryword size is 64 bits, so it is neces­sary to giveeachword8 bitsat a time. Inthe same way are written the words of consequentmemory and of program memory. In on-linemode this bus carries the inputvariables to W.A.R.P..Input values havea resolution of6 or 7 bits in accordancewith the configurationsetting.
PRST: This is the restart pin of W.A.R.P.. It is possibletorestartthework during thecomputation (on-line phase) or before the writing of internal memories(off-linephase).In both casesit mustbe put low at leastfora clock period.
FIN: During the on-line phase it will start the run­time acquisition cycle. This pin is activated by providinga positivepulse fora time no lower than an entire clock period. When all expected inputs have been processed, a new FIN pulse must be sent to activate a new process.
OFL: When this pin is high, the chip is enabled to load data in the internal RAMs (off-line phase). It mustbelowwhenthe fuzzycontrolleris waitingfor input valuesand during the processingphase(on­line phase).
CHM:Thispin,whichisusedonlyduringtheoff-line phase, determines the charge mode. CHM is not presentin W.A.R.P.1.0 release. When CHM is low the addresses of the internal memory locations where data have to be stored
must be sent to W.A.R.P. from the outside by means of the input pins A0-A9. WhenCHM is high W.A.R.P. automaticallygener­ates the addresses of its internal memories and manages the EPROMs reading by means of the addresses contained in EPA0-EPA2 and A0-A9 output pins(13 bits).
TE: Fortesting purpose only. It mustbeconnected
.
to V
SS
MTE: For testing purpose only. It must be con­nected to V
SS
.
MCLK: This is the input master clock whose fre­quencycan reach up to 40MHz (MAX). During the off-line phase with CHM high, the DCLKsignalwith a frequencyofMCLK/32 is gen­erated in order to drive the downloading phase timing.
EPA0-EPA2: During the off-linephase and in cor­respondencewithCHM high,theseoutputpins are joined (as MSB) to A0-A9 to obtainethe complete address ofthe memory supportwhere to read the data to be loadedin W.A.R.P.internal memories. EPA0-EPA2 are not used when CHM is low or in W.A.R.P. 1.0 release.
O0-O9: These pins carry out the output values. When the STB (strobe pin) is high, one output variablecan bereadbyexternaldevices(in on-line mode). The resolution ofoutput variables is 1024 points(10 bits). Ifthere are more than oneoutput, the outputvariables are calculatedone by one and theyare providedin the sequencestabilizedduring the editing phase (see W.A.R.P.-SDTUser Man­ual).
OCNT0-OCNT3:This4 bit outputbus provides the output variableswith a progressive number during the on-line phase. As a consequenceit ispossible to know towhichvariablecorrespondthedatathat areonthe outputdatabus(O0-O9).Thedimension of OCNT bus is connected with the maximum number ofoutput variables (16).
STB:The strobepin enables the user to utilize the output.When thispinishigh itindicatesthat a new output variablehasbeen calculated andit is ready on the output bus (O0-O9). This signal synchro­nizes the external devices and in particular the interfaces with the controlled processes (on-line mode).
EP: This signal low indicates that the processing of all the rules has been completed.
NP: This output pin indicates that a new process can start. NP is automatically set low before the lastoutputhasbeencalculated,sothatitispossible to start a new data acquisitionbefore(with a new FIN) the computation is terminated.
5/19
W.A.R.P.1.1
Figure4. Block Diagram
OTST: For testing purpose only. It must be con-
nectedto V
SS
.
OMTS: For testing purpose only. It must be con­nectedto V
SS
.
SYNC:W.A.R.P. uses this pin to synchronizeinput data from an external database in off-line mode. The database contains informationabout antece­dent and consequent membership functions and aboutfuzzy rules. Tomemorize this database it is possibleto use an host processor or a non volatile memory.
FUNCTIONAL DESCRIPTION
W.A.R.P.worksintwomodedependingontheOFL controlsignal level:
Off-line MODE (OFL High) On-line MODE (OFLLow) OFF-LINE MODE
All W.A.R.P. memories are loaded during the off­line phase. The membershipfunctions arewritten insidetheirrelatedmemoriesandtheprocess con­trol rules are loaded inside the program memory. If the CHM switch has been set low then the addressesof the words to be written in the memo­ries are providedby an externalbus (A0-A9), while data must be loaded 8 bita time in the data bus. If the CHM switch has been set high then the addressesof the words to be written in the memo­ries are internally generated while the addresses of the EPROM’s locations to be read are directly
Table 5. AvailableConfigurations on a Single Antecedent Memory.
Numbers ofInput Data Resolution
1 128 (7bit) 16
*
2
264(6bit)16 3 64 (6 bit) 2x8 + 1x16
*
Thisconfiguration is not available in W.A.R.P.1.0.
464(6bit)8
128 (7bit) 8
Number ofMembership Functions
for TermSet
6/19
Loading...
+ 13 hidden pages