參數(shù)資料
型號(hào): CY8C24123
英文描述: Embedded Processors and Controllers
中文描述: 嵌入式處理器和控制器
文件頁數(shù): 270/322頁
文件大?。?/td> 3134K
代理商: CY8C24123
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第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頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁第223頁第224頁第225頁第226頁第227頁第228頁第229頁第230頁第231頁第232頁第233頁第234頁第235頁第236頁第237頁第238頁第239頁第240頁第241頁第242頁第243頁第244頁第245頁第246頁第247頁第248頁第249頁第250頁第251頁第252頁第253頁第254頁第255頁第256頁第257頁第258頁第259頁第260頁第261頁第262頁第263頁第264頁第265頁第266頁第267頁第268頁第269頁當(dāng)前第270頁第271頁第272頁第273頁第274頁第275頁第276頁第277頁第278頁第279頁第280頁第281頁第282頁第283頁第284頁第285頁第286頁第287頁第288頁第289頁第290頁第291頁第292頁第293頁第294頁第295頁第296頁第297頁第298頁第299頁第300頁第301頁第302頁第303頁第304頁第305頁第306頁第307頁第308頁第309頁第310頁第311頁第312頁第313頁第314頁第315頁第316頁第317頁第318頁第319頁第320頁第321頁第322頁
Multiply Accumulate (MAC)
CY8C24xxx Preliminary Data Sheet
270
Document No. 38-12011 Rev. *E
December 22, 2003
25.2
Application Description
25.2.1
Multiplication with No
Accumulation
For simple multiplication, the MAC block will accept two 8-bit
signed numbers as the multiplicands for a multiply opera-
tion. The product of the multiplication is stored in a 16-bit
signed form. Four registers are involved with simple multipli-
cation: MUL_X, MUL_Y, MUL_DH, and MUL_DL.
To execute a multiply, simply write a value to either the
MUL_X or MUL_Y registers. Immediately after the write of
the multiplicand, the product will be available at registers
MUL_DH and MUL_DL. After reset of the part at power up
or after an external reset, the MAC registers will not be reset
to zero. Therefore, after the write of the first multiplicand, the
product will be indeterminate. After the write of the second
multiplicand, the product registers will be updated with the
product of the first and second multiplicands (assuming one
of the writes was to MUL_X and the other was to MUL_Y).
Multiplication is associative so the order in which you write
to X and Y does not matter.
To summarize whenever a value is written to either of the
multiply input registers, MUL_X or MUL_Y, the product of
MUL_X and MUL_Y is calculated and stored in MUL_DH
and MUL_DL.
25.2.2
Accumulation After Multiplication
Accumulation of products is a feature that is implemented on
top of simple multiplication. When using the MAC to accu-
mulate the products of successive multiplications, two 8-bit
signed values are used for input. The product of the multipli-
cation is accumulated as a 32-bit signed value.
The user has the choice to either cause a multiply/accumu-
late function to take place or a multiply only function. The
user selects which operation is performed by the choice of
input register. The multiply function occurs immediately
whenever the MUL_X or the MUL_Y multiplier input regis-
ters are written, and the result is available in the MUL_DH
and MUL_DL multiplier result registers. The multiply/accu-
mulate function is executed whenever there is a write to the
MAC_X or the MAC_Y multiply/accumulate input registers
and the result is available in the ACC_DR3, ACC_DR2,
ACC_DR1, and ACC_DR0 accumulator result registers. A
write to MUL_X or MAC_X is input as the X value to both the
multiply and multiply/accumulate functions. A write MUL_Y
or MAC_Y is input as the Y value to both the multiply and
multiply/accumulate functions. A write to the MAC_CL0 or
MAC_CL1 registers will clear the value in the four accumu-
late registers.
To clear the accumulated products, simply write to either of
the MAC_CLx registers.
25.3
Register Definitions
25.3.1
MUL_X Register
The multiply X (MUL_X) register is one of the two multipli-
cand registers for the signed 8-bit multiplier in the PSoC
MAC. When this write only register is written, the product of
the written value and the current value of the MUL_Y regis-
ter is calculated.
For additional information, reference the
MUL_X register on
page 144
.
25.3.2
MUL_Y Register
The multiply Y (MUL_Y) register is one of the two multipli-
cand registers for the signed 8-bit multiplier in the PSoC
MAC. When this write only register is written, the product of
the written value and the current value of the MUL_Y regis-
ter is calculated.
For additional information, reference the
MUL_Y register on
page 145
.
25.3.3
MUL_DH Register
The product of the multiply operation on the MUL_X and
MUL_Y registers is stored as a signed 16-bit value. The
read only multiply data high (MUL_DH) register holds the
most significant byte of the 16-bit product.
For additional information, reference the
MUL_DH register
on page 146
.
25.3.4
MUL_DL Register
The product of the multiply operation on the MUL_X and
MUL_Y registers is stored as a signed 16-bit value. The
read only multiply data low (MUL_DL) register holds the
least significant byte of the 16-bit product.
For additional information, reference the
MUL_DL register
on page 147
.
25.3.5
MAC_X/ACC_DR1
This register performs two distinct functions; therefore, two
names are used to refer to the same address. When the
address is written, a multiply operation with accumulation is
performed. The multiply accumulate X (MAC_X) register is
one of the two multiplicand registers for the signed 8-bit mul-
tiply with accumulate operation. When this register is writ-
ten, the product of the written value and the current value of
the MAC_Y register is calculated, then that product is added
to the 32-bit accumulators value. When this address is read,
the accumulator's data register 1 is read. This register holds
the second of four bytes used to hold the accumulator's
value. This byte is the most significant of the lower 16 bits of
the accumulator's value.
For additional information, reference the
MAC_X/ACC_DR1
register on page 148
.
相關(guān)PDF資料
PDF描述
CY93422ADC x4 SRAM
CY93422ALC x4 SRAM
CY93422ALMB x4 SRAM
CY93422DC x4 SRAM
CY93422DMB x4 SRAM
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
CY8C24123_08 制造商:CYPRESS 制造商全稱:Cypress Semiconductor 功能描述:PSoC? Programmable System-on-Chip?
CY8C24123-24PI 功能描述:IC MCU 4K FLASH 256B 8-DIP RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:PSOC®1 CY8C24xxx 標(biāo)準(zhǔn)包裝:60 系列:BlueStreak ; LH7 核心處理器:ARM7 芯體尺寸:32-位 速度:84MHz 連通性:EBI/EMI,SPI,SSI,SSP,UART/USART 外圍設(shè)備:欠壓檢測(cè)/復(fù)位,DMA,LCD,POR,PWM,WDT 輸入/輸出數(shù):76 程序存儲(chǔ)器容量:- 程序存儲(chǔ)器類型:ROMless EEPROM 大小:- RAM 容量:32K x 8 電壓 - 電源 (Vcc/Vdd):1.7 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:144-LQFP 包裝:托盤
CY8C24123-24SI 功能描述:IC MCU 4K FLASH 256B 8-SOIC RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:PSOC®1 CY8C24xxx 標(biāo)準(zhǔn)包裝:60 系列:BlueStreak ; LH7 核心處理器:ARM7 芯體尺寸:32-位 速度:84MHz 連通性:EBI/EMI,SPI,SSI,SSP,UART/USART 外圍設(shè)備:欠壓檢測(cè)/復(fù)位,DMA,LCD,POR,PWM,WDT 輸入/輸出數(shù):76 程序存儲(chǔ)器容量:- 程序存儲(chǔ)器類型:ROMless EEPROM 大小:- RAM 容量:32K x 8 電壓 - 電源 (Vcc/Vdd):1.7 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:144-LQFP 包裝:托盤
CY8C24123-24SIT 功能描述:IC MCU 4K FLASH 256B 8-SOIC RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:PSOC®1 CY8C24xxx 標(biāo)準(zhǔn)包裝:60 系列:BlueStreak ; LH7 核心處理器:ARM7 芯體尺寸:32-位 速度:84MHz 連通性:EBI/EMI,SPI,SSI,SSP,UART/USART 外圍設(shè)備:欠壓檢測(cè)/復(fù)位,DMA,LCD,POR,PWM,WDT 輸入/輸出數(shù):76 程序存儲(chǔ)器容量:- 程序存儲(chǔ)器類型:ROMless EEPROM 大小:- RAM 容量:32K x 8 電壓 - 電源 (Vcc/Vdd):1.7 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:144-LQFP 包裝:托盤
CY8C24123A 制造商:CYPRESS 制造商全稱:Cypress Semiconductor 功能描述:PSoC Mixed-Signal Array