Documentation
 Datasheet 
Application Notes D68HCXX development boards Development Tools Products Summary
D6802

8-bit Microprocessor


The D6802 is a 8-bit MPU IP Core. The D6802 is synthesisable SOFT Microprocessor IP Core fully compatible to the Motorola MC6802, and can be used as direct replacement for the MC6802 Microprocessor.
Two software-controlled power-saving modes, WAIT and HALT, are available to conserve additional power. These modes make the D6802 IP Core especially attractive for automotive and battery-driven applications.
The D6802 has built in real time hardware on chip debugger DoCDTM, allowing easy software debugging and validation.
The D6802 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

  • Cycle compatible with original implementation
  • 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
 halt
 re
 mr
 iramdatai (7:0)
 xdatai (7:0)
ba 
vma 
iramoe 
iramwe 
rw 
addr (15:0) 
datao (7:0) 
 irq
 nmi
 docddatai
 clkdocd
docddatao 
docdclk 

Pins description

PinTypeDescription
clkinputGlobal clock
rstinputGlobal reset
haltinputHalt clock system
reinputInternal RAM enable input
mrinputMemory ready input
iramdatai (7:0)inputInternal Data memory bus input
xdatai (7:0)inputExternal memory bus input
irqinputInterrupt input
nmiinputNon-maskable interrupt input
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).
baoutputBus available output
vmaoutputValid memory address
iramoeoutputInternal Program / Data memory output enable
iramweoutputInternal Program / Data memory write enable
rwoutputExternal memory read/write output
addr (15:0)outputCommon address bus
datao (7:0)outputData bus output
docddataooutputDoCDTM serial data output
docdclkoutputDoCDTM serial data clock line

Block diagram

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

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.

Bus Control

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.

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.

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).

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-6143055
CYCLONE II-6142949
CYCLONE III-6142964
STRATIX-5143361
STRATIX II-31001102
STRATIX III-2993118
STRATIX GX-5143364
STRATIX II GX-399299

D6802 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 D6802 in XILINX devices. All features are included.

ImplementationSpeed
grade
Area
[LC]
Frequency
[MHz]
FUSION-2246934
ProASIC3-2248834
ProASIC3E-2248834
IGLOOSTD247520
IGLOOSTD247520

D6802 implementation results for ACTEL devices.


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.