2. Design a simple microprocessor called Ege-ARM which is a simple 16-bit single-cycle processor that implements a custom instruction set. The processor should consist of the following four main components: • A register file • An Arithmetic and Logic Unit (ALU) • A read-only instruction memory (IMEM) • A read/write data memory (DMEM) This processor has 8 registers (RO-R7) and the program code is stored as NM-bit instructions (NM is a two digit, base ten number with M being equal to the mod 10 of your student number, and N being 2 if M>=2 and being 3 if M<2. Thus, NM is a two digit number in the interval [22,31]) in the IMEM. The processor implements three types of instructions, an instruction format example for 22-bit instructions is shown at Table 1. Some instruction examples are shown at Table 2. TABLE-1: An Instruction Format Example 21:9 8:6 5:3 2:0 D (Data Processing) Opcode rd ra rb 000 rb imm9 Туре M (Memory) B (Branch) Opcode rd Орcode TABLE-2: Ege-ARM Instruction Examples Opcode/ Instruction Туре Operation Function ADD rd, ra,rb LDR rd, [rb] B #imm9 Data Processing Memory rd = rd+rb rd = DataMemory[rb] pc = pc + imm9 0001 0010 Branch 0100 (a) Design the instruction format for your NM-bit instructions for each type of instruction shown in Table 1. Different types of instructions with various parameter types (register and immediate) should be supported in your designs. • Design four types of data processing instructions that are not covered at the lecture notes (such as EOR, RSB, ADC, SBC, RSC, TST, TEQ CMN, BIC, MVN, ..) • Design two types of memory instructions, one load and one store operation. • Design two types of branch instructions, one B and one BL operation. See ARM-REFERENCE for more information about the instructions.

Electric Motor Control
10th Edition
ISBN:9781133702818
Author:Herman
Publisher:Herman
Chapter22: Sequence Control
Section: Chapter Questions
Problem 6SQ: Draw a symbol for a solid-state logic element AND.
icon
Related questions
Question
100%

P.S. mod 10 of the student number is 1.

2. Design a simple microprocessor called Ege-ARM which is a simple 16-bit single-cycle
processor that implements a custom instruction set.
The processor should consist of the following four main components:
• A register file
• An Arithmetic and Logic Unit (ALU)
• A read-only instruction memory (IMEM)
• A read/write data memory (DMEM)
This processor has 8 registers (RO-R7) and the program code is stored as NM-bit
instructions (NM is a two digit, base ten number with M being equal to the mod 10 of
your student number, and N being 2 if M>=2 and being 3 if M<2. Thus, NM is a two digit
number in the interval [22,31]) in the IMEM. The processor implements three types of
instructions, an instruction format example for 22-bit instructions is shown at Table 1.
Some instruction examples are shown at Table 2.
TABLE-1: An Instruction Format Example
21:9 8:6 5:3 2:0
D (Data Processing) Opcode rd ra rb
000 rb
imm9
Туре
M (Memory)
B (Branch)
Opcode rd
Орcode
TABLE-2: Ege-ARM Instruction Examples
Opcode/
Instruction
Туре
Operation
Function
ADD rd, ra,rb
LDR rd, [rb]
B #imm9
Data Processing
Memory
rd = rd+rb
rd = DataMemory[rb]
pc = pc + imm9
0001
0010
Branch
0100
(a) Design the instruction format for your NM-bit instructions for each type of
instruction shown in Table 1. Different types of instructions with various parameter
types (register and immediate) should be supported in your designs.
• Design four types of data processing instructions that are not covered at the
lecture notes (such as EOR, RSB, ADC, SBC, RSC, TST, TEQ CMN, BIC, MVN, ..)
• Design two types of memory instructions, one load and one store operation.
• Design two types of branch instructions, one B and one BL operation.
See ARM-REFERENCE for more information about the instructions.
Transcribed Image Text:2. Design a simple microprocessor called Ege-ARM which is a simple 16-bit single-cycle processor that implements a custom instruction set. The processor should consist of the following four main components: • A register file • An Arithmetic and Logic Unit (ALU) • A read-only instruction memory (IMEM) • A read/write data memory (DMEM) This processor has 8 registers (RO-R7) and the program code is stored as NM-bit instructions (NM is a two digit, base ten number with M being equal to the mod 10 of your student number, and N being 2 if M>=2 and being 3 if M<2. Thus, NM is a two digit number in the interval [22,31]) in the IMEM. The processor implements three types of instructions, an instruction format example for 22-bit instructions is shown at Table 1. Some instruction examples are shown at Table 2. TABLE-1: An Instruction Format Example 21:9 8:6 5:3 2:0 D (Data Processing) Opcode rd ra rb 000 rb imm9 Туре M (Memory) B (Branch) Opcode rd Орcode TABLE-2: Ege-ARM Instruction Examples Opcode/ Instruction Туре Operation Function ADD rd, ra,rb LDR rd, [rb] B #imm9 Data Processing Memory rd = rd+rb rd = DataMemory[rb] pc = pc + imm9 0001 0010 Branch 0100 (a) Design the instruction format for your NM-bit instructions for each type of instruction shown in Table 1. Different types of instructions with various parameter types (register and immediate) should be supported in your designs. • Design four types of data processing instructions that are not covered at the lecture notes (such as EOR, RSB, ADC, SBC, RSC, TST, TEQ CMN, BIC, MVN, ..) • Design two types of memory instructions, one load and one store operation. • Design two types of branch instructions, one B and one BL operation. See ARM-REFERENCE for more information about the instructions.
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Discrete-Time Fourier Transform (DTFT)
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Electric Motor Control
Electric Motor Control
Electrical Engineering
ISBN:
9781133702818
Author:
Herman
Publisher:
CENGAGE L