Escolar Documentos
Profissional Documentos
Cultura Documentos
00 Introduction
“Design of a 2.10 Purpose
2. MASTER I 1 CLOCK
result of the processor ALU available
CLOCK
3. HALT I 1 PRCOESSOR
in special function register is
PROC EXCEPTION HALT,
ACTIVE HIGH
displayed on a LCD module. The
4. WAIT I 1 PROCESSOR WAIT,
ACTIVE LOW
signals of the debug module are
5. BUSY O 1 PROCESSOR BUSY,
ACTIVE HIGH
shown in Table-2.
6. ADD_IM O 10 ADDRESS OF
INSTRUCTION ROM
7. DATA_IM I 37 DATA OF DEBUG MODULE PIN
INSTRUCTION ROM DESCRIPTION
8. ADD_DM O 16 ADDRESS OUTPUT
FOR DATA MEMORY
S. NAME I/ WI DESCRIPTION
9. DATA_DM O 16 DATA OUTPUT FOR N O D
DATA MEMORY O T
10. READ_DM O 1 READ CONTROL H
SIGNAL OF DATA 1 RST EXT I 1 ACTIVE LOW RESET
MEMORY 2 MASTER I 1 CLOCK
11. WRITE_D O 1 WRITE CONTROL CLOCK
M SIGNAL OF DATA 3 HALT PROC O 1 PRCOESSOR EXCEPTION HALT,
ACTIVE HIGH
MEMORY
4 WAIT O 1 PROCESSOR WAIT, ACTIVE LOW
12. SFR_ENA I 1 SPECIAL FUNCTION 5 BUSY I 1 PROCESSOR BUSY, ACTIVE HIGH
BLE REGISTER ENABLE 6 SFR_ENABL O 1 SPECIAL FUNCTION REGISTER
13. SFR_REA I 1 SPECIAL FUNCTION E ENABLE
D REGISTER READ 7 SFR_READ O 1 SPECIAL FUNCTION REGISTER
14. SFR_DATA O 16 SPECIAL FUNCTION READ
REGISTER DATA 8 SFR_DATA I 16 SPECIAL FUNCTION REGISTER
DATA
15. OPCODE O 1 READ SIGNAL OF EXT. 9 IR MEMORY O 37 INSTRUCTION MEMORY DATA
READ INSTRUCTION ROM DATA
16. ADDRESS O 10 PROCESSOR BUSY, 10 IR MEMORY O 1 INSTRUCTION MEMORY WRITE
COUNTER ACTIVE HIGH WRITE
17. PWM_OUT O 1 PWM OUTPUT 11 IR MEMORY O 10 INSTRUCTION MEMORY ADDRESS
ADDRESS
12 LCD_EN O 1 LCD ENABLE
13 LCD_RS O 1 LCD COMMAND-DATA CONTROL
14 LCD_DATA O 8 LCD DATA
15 KBD_CLK I 1 KEYBOARD CLOCK
16 KBD_DATA I 1 KEYBOARD DATA
17 ADDRESS O 1 KEYBOARD DATA
COUNTER
Program Memory Module: The
program memory stores the
instruction to be used by the
processor. The debug module loads
the instruction. The instruction is
keyed in by the user using a
keyboard unit.
This register is used to store the data category signal generated by the
coming from the keyboard unit and decoder unit, the state signals i.e.,
when enable signal from control unit the next fields to be selected are
decoded and one of the eight where data is to be written. This field
which the next field signals are keyboard unit with the LCD unit.
selected. When reset from control When the opcode is decoded then
depending on categories selected,
the next field to be displayed is contents of the “Address counter”,
decided by this block. generates the “INTrst” to reset all the
blocks for the next opcode entry and
LCD Unit then re-initializes itself. This is for
It displays every data entered through data entry into the system.
the keyboard and the data from field
selector. The data from temporary
register is connected to LCD unit. When data or result has to be
The “Control unit” is the brain of the function registers) then the “Control
system. It senses the “Complete” unit” will first sense the “Busy” signal
temp register” and asserts the “Latch signal tells the “Control unit” the state
decoder” signal to latch data into the of the processor. When the “Control
“Opcode Decoder”. It then senses the unit” senses that the processor has
“Category Signal” and asserts the “A, executed the opcodes and stored the
B, C, D” signals as required for the results into the SFR, it enables the
opcode (entered) and the WR signal “SFR read” signal along with the
to latch data into the internal registers “SFR en” signal to read the data from
of the “Opcode temp register”. The the SFRs. These signals tell the “LCD
ABCD signals decide which internal unit” that it has to take data from the
Proc Halt
The control unit asserts the Proc Halt
to halt the processor.
Wait
The control unit asserts the Wait
signal in following the execution of
the instruction and keying in of new
instruction by the user.
Description
KBD data
INTrst is used to reset all the blocks
of the debug module for the next
opcode entry and to re-initialize itself.
A References:
[1] Bezarra, E. A. Gough, M.P. “A
Guide to Migrating from
Microprocessor to FPGA Coping
the Support Tool Limitations”,
ELSEVIER Microprocessor and
Microsystems 23,1999, pp.
561-572.
[2] Herman, H. S., Srihari, C.,
Matthew, M., “Pipeline
Reconfigurable FPGAs”,
Journal of VLSI Signal
Processing Systems”,2000,
pp. 24, 129-146.
[3] Borgatti, M., Lertora, F., Foret,
B., Cali L., “A Reconfigurable
System Featuring
Dynamically Extensible
Embedded Microprocessor,
FPGA and Customizable I/O”,
IEEE Custom Integrated
Circuits Conference, 2002,
pp. 13-16.
[4] Janiszewski, I., Baraniecki, the IEEE International
R., Siekierska, K. “A reusable Conference on Advanced
microcontroller core’s design”, Learning Technologies
IEEE, VHDL International (ICALT’04),2004.
Users Forum Fall Workshop [9] Alaer, E., Tangel, A., Yakut,
(VIUF ’99), 1999, pp. 14-21. M. "MIB-16 FPGA based
[5] Jurado-Carmona, F.J., Design and Implementation of
Tombs, J., Aguirre, M.A., a 16 Bit Microprocessor for
Torralba, A., “Implementation Educational Use", 6th
of a fully pipelined ARM WSEAS International Conf.
compatible microprocessor on Circuits, Systems,
core” XVII Design on Circuits Electronics, Control&Signal
and Integrated Systems processing, Cairo-Egypt,
Conference, 2002, pp. 559- 2007, pp. 284-288.
563. [10] Cakıroglu, M. “Gerçek
[6] Davidson, J. “FPGA Zaman Sayma Birimi Iceren
Implementation of a SAU80C51 Mikro
Reconfigurable denetleyicisinin FPGA
Microprocessor” IEEE Mimarileri Kullanilarak
Custom Integrated Circuits Geliştirilmesi”, MsC Thesis,
Conference, 1993, pp. 3.2.1- Sakarya University, Turkey,
3.2.4 pp. 29-32, (2003).
[7] Sueyoshi, T., Kuga, M., and WSEAS TRANSACTIONS on
ADVANCES in ENGINEERING
Shibamura, H., “KITE
EDUCATION
Microprocessor and CAE for Esma Alaer, Ali Tangel and Mehmet
Yakut
Computer Science”, Systems
ISSN: 1790-pplication binary
and Computers in Japan, Vol.
interface
33, No. 8, 2002, pp.64-74.
[8] Pastor, J. S., Gonzalez, I.,
Lopez, J., Arribas, F.G,
Martinez, J. “A Remote
Laboratory for Debugging
FPGA-Based Microprocessor
Prototypes”, Proceedings of