登录 免费注册 首页 | 行业黑名单 | 帮助
维库电子市场网
技术交流 | 电路欣赏 | 工控天地 | 数字广电 | 通信技术 | 电源技术 | 测控之家 | EMC技术 | ARM技术 | EDA技术 | PCB技术 | 嵌入式系统
驱动编程 | 集成电路 | 器件替换 | 模拟技术 | 新手园地 | 单 片 机 | DSP技术 | MCU技术 | IC 设计 | IC 产业 | CAN-bus/DeviceNe

AVR32,惊喜还是失望?

作者:testcode 栏目:单片机
AVR32,惊喜还是失望?
ATMEL took a turn away from the pack when it designed its 8-bit AVR. Now, the company is bucking the trend toward the 32-bit ARM architecture with its AVR32 processor architecture. Needless to say, ARM and its partners don't have the 32-bit market sewn up by any means.

In fact, a range of popular 32-bit microprocessors is available, including three families from FREESCALE alone. The competition should be healthy. Still, the AVR32 melds SYSTEM design components like DSP and SINGLE-instruction/multiple-data (SIMD) instructions, Java bytecode SUPPORT, and a compact instruction set.

The AVR32 runs in STANDARD and Java bytecode mode. In STANDARD mode, it can execute 16- or 32-bit instructions without SWITCHing modes. Most instructions are 16 bits, which reduces code size and effectively increases the cache performance because more instructions can fit into the cache. This is one reason why the ARM Thumb and Thumb2 instruction sets have become so popular. However, the AVR32 doesn't have the mode SWITCH overhead when the need arises for 32-bit instructions.

The AVR32 ONLY requires a seven-stage pipeline (Fig. 1). A SHORT pipeline reduces overhead due to stalls. It also allows for more aggressive analysis because timing constraints aren't as critical as they are with some other SYSTEM architectures. As a result, features like the dynamic branch prediction can essentially implement zero-cycle-loop instructions, which are key to improving DSP performance.

Thanks to conditional return instructions, there's more inline execution versus the test/branch combination used with other architectures. IndiviDUALly, the architectural finetuning may seem trivial. But combined, the features add up to greater performance. As a result, a low clock rate can perform the same function on other architectures. Also, lower clock requirements reduce POWER consumption. This is vital for ATMEL's targeted PRODUCT areas, such as portable multimedia devices.

A REGULAR ARCHITECTURE
ATMEL designers kept the SYSTEM architecture simple. It uses a 16-register register file with a minimal NUMBER of mirrored registers for HARDWARE context SWITCHing (Fig. 2). The AVR32 also features four levels of interrupt priority. It SUPPORTs up to 64 interrupt GROUPs and up to 32 interrupt lines per GROUP, and each GROUP has its own priority. This provides a very flexible interrupt CONTROL structure.

Interrupt 3, the highest-priority interrupt, mirrors a half-dozen additional registers. This allows many interrupt service routines to run without saving any additional SYSTEM state. It also enables interrupts to be processed with minimal overhead.

The AVR32 includes a NUMBER of common instructions that typically take multiple instructions on other architectures. For example, certain instructions move selected blocks of registers. This is similar to instructions found in the new Texas Insturments MSP430X architecture (see "16-Bit Architecture Grows To 1 Mbyte" at www. elecdesign.com, ED Online 11528). Register-to-register block moves occur in a SINGLE cycle.

The AVR32 is a big-endian architecture. But it implements a host of pack and extract operations with a 32-bit barrel shifter that simplify little-endian SUPPORT. These instructions also come in handy for structure manipulation. The processor can manipulate 64-bit VALUEs as well.

The balance of the SYSTEM architecture is fairly conventional. Data and code caches provide better performance. The paged and segmented MEMORY management unit (MMU) can handle any operating SYSTEM.

However, ATMEL designers still have a few tricks up their sleeves. For example, a four-entry circular buffer can hold return addresses pushed into MEMORY. It allows the VALUEs to be used immediately from the buffer instead of being read from MEMORY, delivering better performance. This is transparent to the application and compiler, though applications that use nonSTANDARD returns must explicitly flush the buffer.

The DSP and SIMD sections use a straightforward design with a few interesting tweaks that increase performance, reduce overhead, and get the job done using less POWER. For instance, there's delayed writeback of the 48-bit temporary accumulator used in a multiply-accumulate mode.

That means each iteration of a loop ONLY needs to load one VALUE instead of the two typically used in other architectures. This can be employed to implement FAST finite-impulse-response (FIR) filtering algorithms. The processor SUPPORTs fractional multiplications with saturation, rounding, and scaling.

Likewise, SIMD SUPPORT addresses common multimedia algorithms such as MPEG-4 motion compensation. MPEG-4 encoding SOFTWARE also uses instructions to handle operations like the sum of absolute differences. These types of operations are found in competing 32-bit multimedia architectures, but you won't see them in conventional 32-bit architectures.

ATMEL just released the architecture, with chips coming within a few months. Likewise, the Java SUPPORT will appear in this timeframe as a complete runtime. Development tools are still in the works, though. Expect a version with a pair of built-in Ethernet CONTROLlers and another with a SINGLE CONTROLler. ATMEL already has a stable of ANALOG and DIGITAL peripherals that likely will show up in these chips.

Developers will be able to get their hands on ATMEL's STK1000, which will include AVR Studio and the open-source gcc C/C++ compiler. Linux 2.6 kernel SUPPORT also will be available, but expect a NUMBER of other options.

IAR's EWAVR32 KickStart development kit provides access to an optimized C/C++ compiler and development SYSTEM. IAR also will have a version of visualState, its model-driven design tool for statemachine development. Both development platforms will SUPPORT the ADVANCED DSP and SIMD instructions.

The development tools will be able to take advantage of a range of debugging features, from on-chip trace (including DUAL data trace channels) to half a dozen HARDWARE code breakpoints and two data breakpoints. The code and data breakpoints can be combined for more complex real-time SUPPORT. The AVR32 implements the Nexus Class 3+ debugging STANDARD.

Initial benchmarks show the AVR32 competing very favorably with its 32-bit rivals. This is especially true for multimedia applications. The initial AVR competed very well with existing 8-bit microCONTROLlers, becoming a very popular, low-POWER alternative. The AVR32 is poised to follow in its footsteps.



* - 本贴最后修改时间:2006-2-15 1:15:02 修改者:testcode

2楼: >>参与讨论
hotpower
肯定是天价
整日说这个出来了,那个生了,我等T46L头发都等白了!!!


晕~~~

3楼: >>参与讨论
pheavecn
挑战ARM,值得支持(精神上的)。
且看两A之战。

4楼: >>参与讨论
MCU9527
Hotpower,再等一下。
Hotpower,再等一下。

testcode在ouravr发帖说:

简单看了一下介绍,与ARM11的比较:
The AVR32 was developed by ATMEL's 20-person ENGINEERING team in Trondheim, Norway. The team claims the AVR32 achieves 35 percent more throughput per instruction cycle than an ARM11 core when used to run such target algorithms as sum of absolute differences and inverse discrete cosine transforms. That translates into the ability to decode quarter-VGA MPEG-4 VIDEO at 30 frames/second with a clock frequency of 100 MHz, compared with the 150 to 175 MHz required by the ARM11.

AVR32的市场定位:
The AVR32 is likely to be more interesting for things like portable media players and other low-cost consumer electronic.

市场价格:比ATMEGA128略贵些
The completed chips (not a processor core) are expected to sell in the $10 to $17 range, according to the company.

编译器的支持:
Developers will be able to get their hands on ATMEL's STK1000, which will include AVR Studio and the open-source gcc C/C++ compiler. Linux 2.6 kernel SUPPORT also will be available, but expect a NUMBER of other options.  
据说GCC的支持两年前就有了。
 

5楼: >>参与讨论
hotpower
该上班了,不然就要被忽悠了...
本想休息...看到"和尚论"就谁不着了...

等AVR32黄瓜菜都要快凉了...

Atmega总是干打雷不下雨!!!

我等T46都快退休了...只好改别的!!!

参与讨论
昵称:
讨论内容:
 
 
相关帖子
请教winavr写的C语言中,起始程序在哪儿,如何改写
bootloader讨论
请教我的I/O端口设置的源程序对不对?附代码.
终于做出了mkII,哇哈哈哈
cv自带软件仿真吗?
免费注册为维库电子开发网会员,参与电子工程师社区讨论,点此进入


Copyright © 1998-2006 www.dzsc.com 浙ICP证030469号