Digital Core Design

The Power of Intellectual Property

DP80390

Pipelined High Performance Microcontroller

The DP80390 is an ultra high performance, speed optimized soft core of a single-chip 8-bit embedded controller intended to operate with fast (typically on-chip) and slow (off-chip) memories. It supports up to 8 MB of linear code space and 16 MB of linear data space. The core has been designed with a special concern about performance to power consumption ratio. This ratio is extended by an advanced power management PMU unit .
The DP80390 soft core is 100% binary-compatible with the industry standard 8051 8-bit microcontroller. There are two configurations of DP80390: Harvard, where internal data and program buses are separated, and von Neumann, with common program and external data bus. The DP80390 has a Pipelined RISC architecture and executes 85-200 million instructions per second. Dhrystone 2.1 benchmark program runs from 11.46 to 15.55 times faster, than the original 80C51 at the same frequency. The same C compiler was used for benchmarking of the core vs 80C51 with the same settings. This performance can also be exploited to great advantage in low power applications, where the core can be clocked over ten times slower, than the original implementation, without performance depletion.
The DP80390 is delivered with fully automated testbench and complete set of tests, allowing easy package validation, at each stage of SoC design flow.

Each of the DCD's 80390 Core has built in support for the DCD Hardware Debug System, called DoCDTM. It is a real-time hardware debugger, which provides debugging capability of a whole System on Chip (SoC).

Unlike other on-chip debuggers, the DoCDTM provides non-intrusive debugging of running application. It can halt, run, step into or skip an instruction, read/write any contents of microcontroller, including all registers, internal and external program memories and all SFRs, including user defined peripherals. More details about DCD on Chip Debugger


Family summary

Design Archit.
speed
on-chip CODE
RAM/ROM
off-chip
CODE
CODE write IDATA space XDATA space XDATA,
CODE
wait states
DoCDTM PMU Interrupt sources DPTR Timers UART IO Ports Compare/
Capture
Watchdog MDU
MDU32
DI2CM DI2CS DSPI DFPAU
DFPMU
DMAC DCAN
DP80390CPU 15.36 64k/64k 8M + 256 16M + + + 2 1 - - - - - - - - - - - -
DP80390 15.36 64k/64k 8M + 256 16M + + + 5 1 2 1 4 - - - - - - - - -
DP80390XP 15.55 64k/64k 8M + 256 16M + + + 15 2 3 2 4 + + + + + + + + +

The main features of each DCD's DP80390 family member have been summarized in table above. 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 above and the others) and requests the core modifications.

CPU Features


Symbol

 clk
 reset
 iprgramsize (2:0)
 iprgromsize (2:0)
 t0
 t1
 gate0
 gate1
 rxd0i
rxd0o 
txd0 
 tdi
 tck
 tms
tdo 
rtck 
 port0i (7:0)
 port1i (7:0)
 port2i (7:0)
 port3i (7:0)
port0o (7:0) 
port1o (7:0) 
port2o (7:0) 
port3o (7:0) 
 ramdatai (7:0)
ramdatao (7:0) 
ramaddr (7:0) 
ramoe 
ramwe 
 int0
 int1
 sfrdatai (7:0)
sfrdatao (7:0) 
sfrwe 
sfroe 
sfraddr (6:0) 
 prgramdata (7:0)
 prgromdata (7:0)
prgaddr (15:0) 
prgdatao (7:0) 
prgramwr 
 xdatai (7:0)
 ready
xdatao (7:0) 
xdataz 
xaddr (23:0) 
xprgrd 
xprgwr 
xdatard 
xdatawr 
stop 
pmm 
 sxdmdatai (7:0)
sxdmaddr (15:0) 
sxdmdatao (7:0) 
sxdmoe 
sxdmwe 

Pins description

PinTypeDescription
clkinputGlobal clock
resetinputGlobal reset
iprgramsize (2:0)inputSize of on-chip RAM CODE
iprgromsize (2:0)inputSize of on-chip ROM CODE
t0inputTimer 0 input
t1inputTimer 1 input
gate0inputTimer 0 gate input
gate1inputTimer 1 gate input
rxd0iinputSerial receiver input 0
tdiinputDoCDTM TAP data input
tckinputDoCDTM TAP clock line
tmsinputDoCDTM TAP mode select
port0i (7:0)inputPort 0 input
port1i (7:0)inputPort 1 input
port2i (7:0)inputPort 2 input
port3i (7:0)inputPort 3 input
ramdatai (7:0)inputData bus from internal data memory
int0inputExternal interrupt 0
int1inputExternal interrupt 1
sfrdatai (7:0)inputData bus from user SFRs
prgramdata (7:0)inputData bus from internal RAM program memory
prgromdata (7:0)inputData bus from internal ROM program memory
xdatai (7:0)inputData bus from external memories
readyinputExternal memory data ready
sxdmdatai (7:0)inputData bus from sync external data memory (SXDM)
rxd0ooutputSerial receiver output 0
txd0outputSerial transmitter output 0
tdooutputDoCDTM TAP data output
rtckoutputDoCDTM return clock
port0o (7:0)outputPort 0 output
port1o (7:0)outputPort 1 output
port2o (7:0)outputPort 2 output
port3o (7:0)outputPort 3 output
ramdatao (7:0)outputData bus for internal data memory
ramaddr (7:0)outputRAM address bus
ramoeoutputInternal data memory read
ramweoutputInternal data memory write enable
sfrdatao (7:0)outputData bus for user SFRs
sfrweoutputUser SFRs write enable
sfroeoutputUser SFRs read
sfraddr (6:0)outputUser SFRs address bus
prgaddr (15:0)outputInternal program memory address bus
prgdatao (7:0)outputData bus for internal program memory
prgramwroutputInternal program memory write
xdatao (7:0)outputData bus for external memories
xdatazoutputTurn xdata bus into "Z" state
xaddr (23:0)outputAddress bus for external memories
xprgrdoutputExternal program memory read
xprgwroutputExternal program memory write
xdatardoutputExternal data memory read
xdatawroutputExternal data memory write
stopoutputStop mode indicator
pmmoutputPower management mode indicator
sxdmaddr (15:0)outputSync XDATA memory address bus (SXDM)
sxdmdatao (7:0)outputData bus for Sync XDATA memory (SXDM)
sxdmoeoutputSync XDATA memory read (SXDM)
sxdmweoutputSync XDATA memory write (SXDM)

Block Diagram

Control UnitIt performs the core synchronization and data flow control. This module is directly connected to Opcode Decoder and it manages execution of all microcontroller tasks.
iprgramsize (2:0)
iprgromsize (2:0)
Opcode DecoderPerforms an opcode decoding instruction and control functions for all other blocks.
TimersSystem timers module. Contains two 16 bits configurable timers: Timer 0 (TH0, TL0), Timer 1 (TH1, TL1) and Timers Mode (TMOD) registers. In the timer mode, timer registers are incremented every 12 (or 4) CLK periods, when appropriate timer is enabled. In the counter mode, the timer registers are incremented every falling transition on their corresponding input pins (T0, T1), if gates are opened (GATE0, GATE1). T0, T1 input pins are sampled every CLK period. It can be used as clock source for UARTs.
t0
t1
gate0
gate1
UART0Universal Asynchronous Receiver and Transmitter module is full duplex, which means, it can transmit and receive concurrently. Includes Serial Configuration register (SCON), serial receiver and transmitter buffer (SBUF) registers. Its receiver is double-buffered, meaning, it can commence reception of a second byte, before the previously received byte has been read from the receive register. Writing to SBUF0 loads the transmit register and reading SBUF0, reads a physically separate receive register. Works in 3 asynchronous and 1 synchronous modes. UART0 can be synchronized by Timer 1 or Timer 2 (if present in the system).
rxd0i
rxd0o
txd0
DoCDTM TTAG DoCDTM Debug Unit is a real-time hardware debugger, which provides debugging capability of a whole SoC system. Unlike other on-chip debuggers, DoCDTM ensures non-intrusive debugging of running application. It can halt, run, step into or skip an instruction, read/write any contents of microcontroller, including all registers, internal and external program memories and all SFRs, including user defined peripherals. Hardware breakpoints can be set and controlled on program memory, internal and external data memories, as well as on SFRs. Hardware watchpoints can be set and controlled on internal and external data memories and also on SFRs. Hardware watchpoints are executed, if any write/read occurs at particular address, with certain data pattern or without pattern. Two additional pins: CODERUN and DEBUGACS, indicate the state of the debugger and CPU. CODERUN is active, when CPU is executing an instruction. DEBUGACS pin is active, when any access is performed by DoCDTM debugger. The DoCDTM system includes TTAG interface and complete set of tools, to communicate and work with core in real time debugging. It is built, as a scalable unit and some features can be turned off, to save silicon and reduce power consumption. When debugger is not used, it is automatically switched to power save mode. Finally, when debug option is no longer used, whole debugger is turned off.
tdi
tck
tms
tdo
rtck
ALUArithmetic Logic Unit - performs the arithmetic and logic operations, during execution of an instruction. It contains accumulator (ACC), Program Status Word (PSW), (B) registers and related logic, like arithmetic unit, logic unit, multiplier and divider.
I/O PortsBlock contains 8051's general purpose I/O ports. Each of the port's pin can be read/written as a single bit or as a 8-bit bus P0, P1, P2, P3.
port0i (7:0)
port1i (7:0)
port2i (7:0)
port3i (7:0)
port0o (7:0)
port1o (7:0)
port2o (7:0)
port3o (7:0)
Internal Data Memory InterfaceInterface controls access into the internal memory of size up to 256 bytes. It contains 8-bit Stack Pointer (SP) register and related logic.
ramdatao (7:0)
ramaddr (7:0)
ramdatai (7:0)
ramoe
ramwe
Interrupt ControllerInterrupt Controller module is responsible for the interrupt manage system of the external and internal interrupt sources. It contains interrupt related registers, such as Interrupt Enable (IE), Interrupt Priority (IP) and (TCON) registers.
int0
int1
SFRs InterfaceSpecial Function Registers interface - controls access to externally connected peripherals, through SFR bus.
sfrdatai (7:0)
sfrdatao (7:0)
sfrwe
sfroe
sfraddr (6:0)
Program Memory InterfaceProgram Memory Interface contains Program Counter (PC) and related logic. It performs the instructions code fetching. Program Memory can be also written. This feature allows usage of a small boot loader, to load new program into ROM, RAM, EPROM or FLASH EEPROM storage via UART, SPI, I2C or DoCD™ module.
prgramdata (7:0)
prgromdata (7:0)
prgaddr (15:0)
prgdatao (7:0)
prgramwr
External Memory InterfaceContains memory access related registers, such as Data Page High (DPH), Data Page Low (DPL) and Data Page Pointer (DPP) registers. It performs the external Program and Data Memory addressing and data transfers. Program fetch cycle length can be programmed by the user. This feature is called Program Memory Wait States and it allows core, to work with different speed program memories.
xdatai (7:0)
xdatao (7:0)
xdataz
xaddr (23:0)
ready
xprgrd
xprgwr
xdatard
xdatawr
Power Management UnitPower Management Unit contains advanced power saving mechanisms with switchback feature, allowing external clock control logic to stop clocking (Stop mode) or run core in lower clock frequency (Power Management Mode), to significantly reduce power consumption. Switchback feature allows UARTs and interrupts to be processed in full speed mode, if enabled. It is highly desirable, when microcontroller is planned to be used in portable and power critical applications.
stop
pmm
SXDM interfaceSynchronous eXternal Data Memory (SXDM) Interface – contains XDATA memory access related logic, allowing fast access to synchronous memory devices. It performs the external Data Memory addressing and data transfers. This memory can be used to store large variables, frequently accessed by CPU, improving overall performance of application.
sxdmdatai (7:0)
sxdmaddr (15:0)
sxdmdatao (7:0)
sxdmoe
sxdmwe
clk
reset
SFR data bus 8-bit Special Function Registers bus is used to inter-communication of all processors" peripherals. It allows easy management of system architecture.
Internal data bus 8-bit internal data bus

Units

Control Unit
It performs the core synchronization and data flow control. This module is directly connected to Opcode Decoder and it manages execution of all microcontroller tasks.
Opcode Decoder
Performs an opcode decoding instruction and control functions for all other blocks.
Timers
System timers module. Contains two 16 bits configurable timers: Timer 0 (TH0, TL0), Timer 1 (TH1, TL1) and Timers Mode (TMOD) registers. In the timer mode, timer registers are incremented every 12 (or 4) CLK periods, when appropriate timer is enabled. In the counter mode, the timer registers are incremented every falling transition on their corresponding input pins (T0, T1), if gates are opened (GATE0, GATE1). T0, T1 input pins are sampled every CLK period. It can be used as clock source for UARTs.

UART0
Universal Asynchronous Receiver and Transmitter module is full duplex, which means, it can transmit and receive concurrently. Includes Serial Configuration register (SCON), serial receiver and transmitter buffer (SBUF) registers. Its receiver is double-buffered, meaning, it can commence reception of a second byte, before the previously received byte has been read from the receive register. Writing to SBUF0 loads the transmit register and reading SBUF0, reads a physically separate receive register. Works in 3 asynchronous and 1 synchronous modes. UART0 can be synchronized by Timer 1 or Timer 2 (if present in the system).
DoCDTM TTAG
DoCDTM Debug Unit is a real-time hardware debugger, which provides debugging capability of a whole SoC system. Unlike other on-chip debuggers, DoCDTM ensures non-intrusive debugging of running application. It can halt, run, step into or skip an instruction, read/write any contents of microcontroller, including all registers, internal and external program memories and all SFRs, including user defined peripherals. Hardware breakpoints can be set and controlled on program memory, internal and external data memories, as well as on SFRs. Hardware watchpoints can be set and controlled on internal and external data memories and also on SFRs. Hardware watchpoints are executed, if any write/read occurs at particular address, with certain data pattern or without pattern. Two additional pins: CODERUN and DEBUGACS, indicate the state of the debugger and CPU. CODERUN is active, when CPU is executing an instruction. DEBUGACS pin is active, when any access is performed by DoCDTM debugger. The DoCDTM system includes TTAG interface and complete set of tools, to communicate and work with core in real time debugging. It is built, as a scalable unit and some features can be turned off, to save silicon and reduce power consumption. When debugger is not used, it is automatically switched to power save mode. Finally, when debug option is no longer used, whole debugger is turned off.
ALU
Arithmetic Logic Unit - performs the arithmetic and logic operations, during execution of an instruction. It contains accumulator (ACC), Program Status Word (PSW), (B) registers and related logic, like arithmetic unit, logic unit, multiplier and divider.

I/O Ports
Block contains 8051's general purpose I/O ports. Each of the port's pin can be read/written as a single bit or as a 8-bit bus P0, P1, P2, P3.
Internal Data Memory Interface
Interface controls access into the internal memory of size up to 256 bytes. It contains 8-bit Stack Pointer (SP) register and related logic.
Interrupt Controller
Interrupt Controller module is responsible for the interrupt manage system of the external and internal interrupt sources. It contains interrupt related registers, such as Interrupt Enable (IE), Interrupt Priority (IP) and (TCON) registers.

SFRs Interface
Special Function Registers interface - controls access to externally connected peripherals, through SFR bus.
Program Memory Interface
Program Memory Interface contains Program Counter (PC) and related logic. It performs the instructions code fetching. Program Memory can be also written. This feature allows usage of a small boot loader, to load new program into ROM, RAM, EPROM or FLASH EEPROM storage via UART, SPI, I2C or DoCD™ module.
External Memory Interface
Contains memory access related registers, such as Data Page High (DPH), Data Page Low (DPL) and Data Page Pointer (DPP) registers. It performs the external Program and Data Memory addressing and data transfers. Program fetch cycle length can be programmed by the user. This feature is called Program Memory Wait States and it allows core, to work with different speed program memories.

Power Management Unit
Power Management Unit contains advanced power saving mechanisms with switchback feature, allowing external clock control logic to stop clocking (Stop mode) or run core in lower clock frequency (Power Management Mode), to significantly reduce power consumption. Switchback feature allows UARTs and interrupts to be processed in full speed mode, if enabled. It is highly desirable, when microcontroller is planned to be used in portable and power critical applications.
SXDM interface
Synchronous eXternal Data Memory (SXDM) Interface – contains XDATA memory access related logic, allowing fast access to synchronous memory devices. It performs the external Data Memory addressing and data transfers. This memory can be used to store large variables, frequently accessed by CPU, improving overall performance of application.