Documentation
Application Notes D68HCXX development boards Development Tools Products Summary
DF6802

8-bit Fast Microprocessor


The DF6802 is a 8-bit synthesisable MPU IP Core, software compatible to the Motorola MC6802. The DF6802 has enhanced internal architecture, which allows it to execute the code ca. 4 times faster than original 6802 running at the same clock frequency.
Two software-controlled power-saving modes, WAIT and HALT, are available to conserve additional power. These modes make the DF6802 IP Core especially attractive for automotive and battery-driven applications.
The DF6802 has built in real time hardware on chip debugger DoCDTM, allowing easy software debugging and validation.
The DF6802 is fully customizable, which means it is delivered in the exact configuration to meet users’ requirements. There is no need to pay extra for not used features and wasted silicon. It includes fully automated testbench with complete set of tests allowing easy package validation at each stage of SoC design flow.


Each of the DCD's D68XX Core has built in support for DCD Hardware Debug System called DoCDTM. It is a real-time hardware debugger which provides debugging capability of a whole System on Chip (SoC).
In contrast to other on-chip debuggers the DoCDTM provides a non-intrusive debugging of running application. It can halt, run, step into or skip an instruction, read/write any contents of microprocessor. More details about DCD on Chip Debugger...




CPU Features

Peripherals

  • Improved, 4 times faster architecture
  • Software compatible with industry standard MC6802
  • De-multiplexed Address/Data Bus to allow easy memory connection
  • Two power saving modes: HALT, WAIT
  • Fully synthesizable
  • Static synchronous design
  • No internal reset generator or gated clock
  • Scan test ready

Design Features

  • One global system clock
  • Synchronous reset
  • All asynchronous input signals are synchronized before internal use

Configuration

The following parameters of the D6802 core can be easy adjusted to requirements of dedicated application and technology. Configuration of the core can be prepared by effortless changing appropriate constants in package file. There is no need to change any parts of the code.

DoCDTM debug unit
  • used
  • unused


  • DoCDTM debug unit
    • Processor execution control
    • Read-write all processor contents
    • Hardware execution breakpoints
    • Three wire communication interface



Symbol

 clk
 rst
 cmf
 halt
 docddatai
 clkdocd
docddatao 
docdclk 
 irq
 nmi
 re
 mr
 iramdatai (7:0)
 xdatai (7:0)
ba 
vma 
iramoe 
iramwe 
xwe 
xoe 
addr (15:0) 
datao (7:0) 

Pins description

PinTypeDescription
clkinputGlobal clock
rstinputGlobal reset
cmfinputClock monitor fail reset
haltinputHalt clock system
docddataiinputDoCDTM serial data input
clkdocdinputClock signal to DoCDTM On chip Debugger module. This separate clock line allow DoCDTM to operate during the SLEEP mode (major clock CLK is stopped).
irqinputInterrupt input
nmiinputNon-maskable interrupt input
reinputInternal RAM enable input
mrinputMemory ready input
iramdatai (7:0)inputInternal Data memory bus input
xdatai (7:0)inputExternal memory bus input
docddataooutputDoCDTM serial data output
docdclkoutputDoCDTM serial data clock line
baoutputBus available output
vmaoutputValid memory address
iramoeoutputInternal Program / Data memory output enable
iramweoutputInternal Program / Data memory write enable
xweoutputExternal memory write enable
xoeoutputExternal memory output enable
addr (15:0)outputCommon address bus
datao (7:0)outputData bus output

Block diagram

Opcode Decoder
Control Unit
halt
ALU
DoCDTM
docddatai
docddatao
docdclk
clkdocd
Interrupt Controller
irq
nmi
Bus Controller
re
mr
ba
vma
iramoe
iramwe
iramdatai (7:0)
xdatai (7:0)
xwe
xoe
addr (15:0)
datao (7:0)
clk
rst
cmf

Units

Opcode Decoder

Performs an instruction opcode decoding and the control functions for all other blocks.

Control Unit

Performs the core synchronization and data flow control. This module manages execution of all instructions. The Control Unit also manages HALT input pin events.

ALU

Arithmetic Logic Unit performs the arithmetic and logic operations during execution of an instruction. It contains accumulator (A, B), Condition Code Register (CCREG), Index register X and related logic like arithmetic unit, logic unit, multiplier and divider.

DoCDTM

DoCDTM Debug Unit – it’s a real-time hardware debugger provides debugging capability of a whole SoC system. In contrast to other on-chip debuggers DoCD™ 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, external, program memories, 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 breakpoint is executed if any write/read occurred at particular address with certain data pattern or without pattern. The DoCDTM system includes three-wire interface and complete set of tools to communicate and work with core in real time debugging. It is built as scalable unit and some features can be turned off to save silicon and reduce power consumption. A special care on power consumption has been taken, and when debugger is not used it is automatically switched in power save mode. Finally whole debugger is turned off when debug option is no longer used.
The separate DoCDTM clock line allow debugger to operate while the SLEEP mode (major clock line CLK is stopped).

Interrupt Controller

Interrupt Controller – Interrupt Control module is responsible for the interrupt manage system for the external & internal interrupts and exceptions processing. It manages auto-vectored interrupt cycles, priority resolving and correct vector numbers creation.

Bus Controller

Program Memory, Data Memory interface controls access into the program and data memories. It contains Program Counter (PC), Stack Pointer (SP) register, and related logic.

Performance


Each core has been tested in variety of FPGA and ASIC technologies. Its implementation's results are summarized below.

ImplementationSpeed
grade
Area
[LC]
Frequency
[MHz]
CYCLONE-6161653
CYCLONE II-6161958
CYCLONE III-6161966
STRATIX-5168751
STRATIX II-3109598
STRATIX III-21093137

DF6802 implementation results for ALTERA devices. All features have been included.

ImplementationSpeed
grade
Area
[Slices]
Frequency
[MHz]
SPARTAN-III-779346
SPARTAN-IIIE-579347
SPARTAN-IIIA-588057
VIRTEX-II-678962
VIRTEX-IV-1279392

Implementation results of the DF6802 in XILINX devices. All features are included.


Family summary

FamilyIP CoreArchitecture
type
Memory
space
DoCDTMUART (SCI)SPI M/SIO PortsWatchdog
Timer
TimerCompare /
Capture
Pulse
accumulator
READY
pin
Chip
Selects
Gatecount
HC05, HC08DF6805fast64k++-4+12/2-+-7000
-DF6808fast64k++-4+12/2-+-8300
-D68HC05legacy64k+++4+11/1----
-D68HC08legacy64K+++4+12/1---10000
HC11DF6811Efast64k+++5+15/4++-12000
-DF6811Ffast64k+++7+15/4++-14000
-DF6811Kfast1M+++10+313/6++-21000
-D68HC11Elegacy64k+++5+15/4+--13000
-D68HC11Klegacy1M++110+313/6+-421000
-D68HC11Flegacy64k+++7+15/4--413500
6802, 6803DF6802fast64k+----------
-DF6803fast64k+++4-1+----
-D6802legacy64k+---------3600
-D6803legacy64k+++4-1+---6000


The main features of each D68XX and DF68XX family member have been summarized in table above. It gives a brief member characterization to help selection of the most suitable IP Core for application. User can specify its own peripheral set (including listed above and the others) and request the core modifications.