You are on page 1of 7

DR8051CPU

High Performance
8-bit Microcontroller
ver 3.10
OVERVIEW CPU FEATURES
DR8051CPU is a high performance, area ● 100% software compatible with industry
optimized soft core of a single-chip 8-bit em- standard 8051
bedded controller dedicated for operation with
● RISC architecture enables to execute in-
fast (typically on-chip) and slow (off-chip)
structions 6.7 times faster compared to
memories. The core has been designed with a
standard 8051
special concern about low power consump-
tion. Additionally an advanced power man- ● 12 times faster multiplication
agement unit makes DR8051CPU core perfect ● 9.6 times faster division
for portable equipment where low power
consumption is mandatory. ● Up to 256 bytes of internal (on-chip) Data
DR8051CPU soft core is 100% binary- Memory
compatible with the industry standard 8051 8- ● Up to 64K bytes of Program Memory
bit microcontroller. There are two configura-
tions of DR8051CPU: Harward where external ● Up to 16M bytes of external (off-chip) Data
data and program buses are separated, and Memory
von Neumann with common program and ex- ● User programmable Program Memory Wait
ternal data bus. DR8051CPU has RISC archi- States solution for wide range of memories
tecture 6.7 times faster compared to standard speed
architecture and executes 65-200 million in-
structions per second. This performance can ● User programmable External Data Memory
also be exploited to great advantage in low Wait States solution for wide range of
power applications where the core can be memories speed
clocked up to seven times more slowly than ● De-multiplexed Address/Data bus to allow
the original implementation for no performance easy connection to memory
penalty.
DR8051CPU is delivered with fully auto- ● Interface for additional Special Function
mated testbench and complete set of tests Registers
allowing easy package validation at each stage ● Fully synthesizable, static synchronous de-
of SoC design flow. sign with positive edge clocking and no in-
ternal tri-states
All trademarks mentioned in this document http://www.DigitalCoreDesign.com
are trademarks of their respective owners. http://www.dcd.pl

Copyright 1999-2004 DCD – Digital Core Design. All Rights Reserved.


● Scan test ready
CONFIGURATION
● 1.3 GHz virtual clock frequency in a 0.35u The following parameters of the DR8051CPU
technological process core can be easy adjusted to requirements of
dedicated application and technology. Configu-
ration of the core can be prepared by effortless
PERIPHERALS changing appropriate constants in package file.
● DoCD™ debug unit There is no need to change any parts of the
○ Processor execution control code.
○ Run - Harward
• Memory style
- von Neumann
○ Halt
- synchronous
○ Step into instruction • Program Memory type
- asynchronous
○ Skip instruction
Program Memory wait- - used (0-7)
○ Read-write all processor contents •
states - unused
○ Program Counter (PC) - used
• Program Memory writes
○ Program Memory - unused
○ Internal (direct) Data Memory - synchronous
• Internal Data Memory type
○ Special Function Registers (SFRs) - asynchronous

○ External Data Memory External Data Memory - used (0-7)



wait-states - unused
○ Hardware execution breakpoints
subroutines
○ Program Memory • Interrupts -
location
○ Internal (direct) Data Memory
- used
○ Special Function Registers (SFRs) • Power Management Mode
- unused
○ External Data Memory
- used
• Stop mode
○ Hardware breakpoints activated at a certain - unused
○ Program address (PC) - used
• DoCD debug unit
○ Address by any write into memory - unused

○ Address by any read from memory


○ Address by write into memory a required data DELIVERABLES
○ Address by read from memory a required data ♦ Source code:
○ Three wire communication interface
◊ VHDL Source Code or/and
◊ VERILOG Source Code or/and
● Power Management Unit ◊ Encrypted, or plain text EDIF netlist
○ Power management mode ♦ VHDL & VERILOG test bench environment
◊ Active-HDL automatic simulation macros
○ Switchback feature
◊ ModelSim automatic simulation macros
○ Stop mode ◊ Tests with reference responses
♦ Technical documentation
● Interrupt Controller
◊ Installation notes
○ 2 priority levels ◊ HDL core specification
○ 2 external interrupt sources ◊ Datasheet
♦ Synthesis scripts
♦ Example application
♦ Technical support
◊ IP Core implementation support
◊ 3 months maintenance
● Delivery the IP Core updates, minor and
major versions changes
● Delivery the documentation updates

All trademarks mentioned in this document http://www.DigitalCoreDesign.com


are trademarks of their respective owners. http://www.dcd.pl

Copyright 1999-2004 DCD – Digital Core Design. All Rights Reserved.


● Phone & email support
SYMBOL
LICENSING clk
reset
Comprehensible and clearly defined licensing ramdatai(7:0) ramdatao(7:0)
methods without royalty fees make using of IP ramaddr(7:0)
Core easy and simply. ramoe
ramwe
Single Design license allows use IP Core in sfrdatai(7:0) sfrdatao(7:0)
single FPGA bitstream and ASIC implementa- sfraddr(7:0)
tion. sfroe
sfrwe
Unlimited Designs, One Year licenses allow prgdatai(7:0) prgdatao(7:0)
use IP Core in unlimited number of FPGA bit- prgdataz
streams and ASIC implementations. prgaddr(15:0)
prgrd
In all cases number of IP Core instantiations prgwr
within a design, and number of manufactured
chips are unlimited. There is no time restriction xramdatai(7:0) xramdatao(7:0)
xramdataz
except One Year license where time of use is
xramaddr(23:0)
limited to 12 months.
int0 xramrd
● Single Design license for int1 xramwr
○ VHDL, Verilog source code called HDL Source docddatai docddatao
○ Encrypted, or plain text EDIF called Netlist docdclk
stop
● One Year license for pmm
○ Encrypted Netlist only

● Unlimited Designs license for


○ HDL Source
○ Netlist BLOCK DIAGRAM
● Upgrade from clk
reset Opcode
○ HDL Source to Netlist Decoder ALU
○ Single Design to Unlimited Designs prgdatai(7:0)
prgdatao(7:0)
prgdataz Program
prgaddr(15:0) Memory
prgrd Interface Control Unit
prgwr

xramdatai(7:0)
xramdatao(7:0)
xramdataz External
Memory
Interrupt int0
xramaddr(23:0) Controller int1
Interface
xramrd
xramwr
ramdatai(7:0)
ramdatao(7:0) Internal Data Power stop
ramaddr(7:0) Memory Management pmm
ramoe Interface Unit
ramwe
sfrdatai(7:0)
sfrdatao(7:0) docddatai
User SFR DoCD™ docddatao
sfraddr(7:0) Interface Debug Unit
sfroe docdclk
sfrwe

All trademarks mentioned in this document http://www.DigitalCoreDesign.com


are trademarks of their respective owners. http://www.dcd.pl

Copyright 1999-2004 DCD – Digital Core Design. All Rights Reserved.


Program Memory Interface – Contains Pro-
PINS DESCRIPTION gram Counter (PC) and related logic. It per-
PIN TYPE DESCRIPTION forms the instructions code fetching. Program
clk input Global clock
Memory can be also written. This feature al-
lows usage of a small boot loader loading new
reset input Global synchronous reset
program into RAM, EPROM or FLASH
ramdatai[7:0] input Data bus from Internal Data Memory
EEPROM storage via UART, SPI, I2C or
sfrdatai[7:0] input Data bus from user SFRs
DoCD™ module. Program fetch cycle length
prgdatai[7:0] input Input data bus from Program Memory can be programmed by user. This feature is
xramdatai[7:0] input Data bus from External Data Memory called Program Memory Wait States, and al-
int0 input External interrupt 0 line lows core to work with different speed program
int1 input External interrupt 1 line memories.
docddatai input DoCD™ data input External Memory Interface – Contains mem-
ramdatao[7:0] output Data bus for Internal Data Memory ory access related registers such as Data
ramaddr[7:0] output Internal Data Memory address bus Pointer High (DPH0), Data Pointer Low
ramoe output Internal Data Memory output enable (DPL0), Data Page Pointer (DPP0), MOVX
ramwe output Internal Data Memory write enable @Ri address register (MXAX) and STRETCH
sfrdatao[7:0] output Data bus for user SFRs registers. It performs the memory addressing
sfraddr[7:0] output User SFRs address bus
and data transfers. Allows applications soft-
sfroe output User SFRs output enable
ware to access up to 16 MB of external data
memory. The DPP0 register is used for seg-
sfrwe output User SFRs write enable
ments swapping. STRETCH register allows
prgaddr[15:0] output Program Memory address bus
flexible timing management while accessing
prgdatao[7:0] output Output data bus for Program Memory different speed system devices by program-
prgdataz output PRGDATA tri-state buffers control line ming XRAMWR and XRAMRD pulse width
prgrd output Program Memory read between 1 – 8 clock periods.
prgwr output Program Memory write
Internal Data Memory Interface – Internal
xramdatao[7:0] output Data bus for External Data Memory
Data Memory interface controls access into the
xramdataz output XDATA tri-state buffers control line internal 256 bytes memory. It contains 8-bit
xramaddr[23:0] output External Data Memory address bus Stack Pointer (SP) register and related logic.
xramrd output External Data Memory read
User SFRs Interface – Special Function Reg-
xramwr output External Data Memory write
isters interface controls access to the special
docddatao output DoCD™ data output registers. It contains standard and used de-
docdclk output DoCD™ clock line fined registers and related logic. User defined
pmm output Power management mode indicator external devices can be quickly accessed
stop output Stop mode indicator (read, written, modified) using all direct ad-
dressing mode instructions.
UNITS SUMMARY Interrupt Controller – Interrupt control module
is responsible for the interrupt manage system
ALU – Arithmetic Logic Unit performs the
for the external and internal interrupt sources.
arithmetic and logic operations during execu-
It contains interrupt related registers such as
tion of an instruction. It contains accumulator
Interrupt Enable (IE), Interrupt Priority (IP) and
(ACC), Program Status Word (PSW), (B) regis-
(TCON) registers.
ters and related logic such as arithmetic unit,
logic unit, multiplier and divider. Power Management Unit – Block contains
advanced power saving mechanisms with
Opcode Decoder – Performs an instruction
switchback feature, allowing external clock
opcode decoding and the control functions for
control logic to stop clocking (Stop mode) or
all other blocks.
run core in lower clock frequency (Power Man-
Control Unit – Performs the core synchroniza- agement Mode) to significantly reduce power
tion and data flow control. This module is di- consumption. Switchback feature allows
rectly connected to Opcode Decoder and UARTs, and interrupts to be processed in full
manages execution of all microcontroller tasks. speed mode if enabled. It is very desired when

All trademarks mentioned in this document http://www.DigitalCoreDesign.com


are trademarks of their respective owners. http://www.dcd.pl

Copyright 1999-2004 DCD – Digital Core Design. All Rights Reserved.


microcontroller is planned to use in portable Function Improvement
and power critical applications. 8-bit addition (immediate data) 7,20
8-bit addition (direct addressing) 6,00
DoCD™ Debug Unit – it’s a real-time hard- 8-bit addition (indirect addressing) 6,00
ware debugger provides debugging capability 8-bit addition (register addressing) 7,20
8-bit subtraction (immediate data) 7,20
of a whole SoC system. In contrast to other on- 8-bit subtraction (direct addressing) 6,00
chip debuggers DoCD™ provides non-intrusive 8-bit subtraction (indirect addressing) 6,00
debugging of running application. It can halt, 8-bit subtraction (register addressing) 7,20
run, step into or skip an instruction, read/write 8-bit multiplication 10,67
any contents of microcontroller including all 8-bit division 9,60
16-bit addition 7,20
registers, internal, external, program memo- 16-bit subtraction 7,64
ries, all SFRs including user defined peripher- 16-bit multiplication 9,75
als. Hardware breakpoints can be set and con- 32-bit addition 7,20
trolled on program memory, internal and exter- 32-bit subtraction 7,43
32-bit multiplication 9,04
nal data memories, as well as on SFRs. Hard-
Average speed improvement: 7,58
ware breakpoint is executed if any write/read
occurred at particular address with certain data
pattern or without pattern. The DoCD™ system Dhrystone Benchmark Version 2.1 was used to
includes three-wire interface and complete set measure Core performance. The following ta-
of tools to communicate and work with core in ble gives a survey about the DR8051CPU per-
real time debugging. It is built as scalable unit formance in terms of Dhrystone/sec and VAX
and some features can be turned off to save MIPS rating.
silicon and reduce power consumption. A spe-
Clock Dhry/sec
cial care on power consumption has been Device Target
frequency (VAX MIPS)
taken, and when debugger is not used it is 80C51 - 12 MHz 268 (0.153)
automatically switched in power save mode. 80C310 - 33 MHz 1550 (0.882)
Finally whole debugger is turned off when de- DR8051CPU 0.25u 250 MHz 40325 (22.951)
bug option is no longer used. Core performance in terms of Dhrystones

PERFORMANCE 45000 40325


The following tables give a survey about the 40000
Core area and performance in ASICs Devices 35000
(all CPU features and peripherals have been 30000
included): 25000
20000
Device Optimization Fmax
15000
0.25u typical area 100 MHz
0.25u typical speed 250 MHz 10000
268 1550
Core performance in ASIC devices 5000
0
For a user the most important is application
speed improvement. The most commonly used
80C51 (12MHz) 80C310 (33MHz)
arithmetic functions and their improvements
DR8051CPU (250MHz)
are shown in table below. An improvement was
computed as {80C51 clock periods} divided by Area utilized by the each unit of DR8051CPU
{DR8051CPU clock periods} required to exe- core in vendor specific technologies is summa-
cute an identical function. More details are rized in table below.
available in core documentation.
Component Area
[Gates] [FFs]
CPU* 4850 220
Interrupt Controller 400 40
Power Management Unit 50 5
Total area 5300 265
*CPU – consisted of ALU, Opcode Decoder, Control Unit, Program &
Internal & External Memory Interfaces, User SFRs Interface
Core components area utilization

All trademarks mentioned in this document http://www.DigitalCoreDesign.com


are trademarks of their respective owners. http://www.dcd.pl

Copyright 1999-2004 DCD – Digital Core Design. All Rights Reserved.


The main features of each DR8051 family member have been summarized in table below. It gives
a briefly member characterization helping user to select the most suitable IP Core for its application.
User can specify its own peripheral set (including listed below and the others) and requests the core
modifications.
Program Memory space

External Data Memory

Program Memory Wait


External Data Memory
Internal Data Memory

Power Management
Architecture speed

Compare/Capture
Interrupt sources
Stack space size

additional SFRs

Timer/Counters
Interrupt levels

Master I2C Bus

Floating Point
Data Pointers

Slave I2C Bus

Coprocessor

Coprocessor
Design

Interface for

Fixed Point
Wait States

Watchdog

Controller

Controller
I\O Ports

States
space

space

UART
grade

Unit

SPI
DR8051CPU 6.7 64k 256 256 16M 2 2 1 - - - - - - - - - - -
DR8051 6.7 64k 256 256 16M 5 2 1 2 1 4 - - - - - - - -
DR8051XP 6.7 64k 256 256 16M 15 2 2 3 2 4
DR8051 family of High Performance Microcontroller Cores

The main features of each DR80390 family member have been summarized in table below. It gives
a briefly member characterization helping user to select the most suitable IP Core for its application.
User can specify its own peripheral set (including listed below and the others) and requests the core
modifications.
Program Memory space

External Data Memory

Program Memory Wait


External Data Memory
Internal Data Memory

Power Management
Architecture speed

Compare/Capture
Interrupt sources
Stack space size

additional SFRs

Timer/Counters
Interrupt levels

Master I C Bus

Floating Point
Data Pointers

Slave I2C Bus

Coprocessor

Coprocessor
Design
Interface for

Fixed Point
Wait States

Watchdog

Controller

Controller
I\O Ports

2
States
space

space

UART
grade

Unit

SPI
DR80390CPU 6.7 16M 256 256 16M 2 2 1 - - - - - - - - - - -
DR80390 6.7 16M 256 256 16M 5 2 1 2 1 4 - - - - - - - -
DR80390XP 6.7 16M 256 256 16M 15 2 2 3 2 4
DR80390 family of High Performance Microcontroller Cores

All trademarks mentioned in this document http://www.DigitalCoreDesign.com


are trademarks of their respective owners. http://www.dcd.pl

Copyright 1999-2004 DCD – Digital Core Design. All Rights Reserved.


CONTACTS
For any modification or special request
please contact to Digital Core Design or local
distributors.
Headquarters:
Wroclawska 94
41-902 Bytom, POLAND
e-mail: iinnffoo@
@ddccdd..ppll
tel. : +48 32 282 82 66
fax : +48 32 282 74 37
Distributors:
Please check hhtttpp::///w
wwww
w..ddccdd..ppll//aappaarrttnn..pphhpp

All trademarks mentioned in this document http://www.DigitalCoreDesign.com


are trademarks of their respective owners. http://www.dcd.pl

Copyright 1999-2004 DCD – Digital Core Design. All Rights Reserved.

You might also like