Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The first three most significant bits of IR (7-bit) are corresponding to the operation code (opcode). The instructions that your microprocessor needs to execute and

image text in transcribedimage text in transcribed

The first three most significant bits of IR (7-bit) are corresponding to the operation code (opcode). The instructions that your microprocessor needs to execute and the corresponding encodings are defined in Table 1. IR OPCODE Operation 000 aaaa 000 Load data (aaaa) to Accumulator (A) 001 aaaa 001 Add data (aaaa and Accumulator (A) 010 aaaa 010 Subtract data (aaaa) from Accumulator (A) 011 xxxx 011 Increment Accumulator (A) 100 xxxx 100 Decrement Accumulator (A) 101 aaaa 101 data (aaaa) AND Accumulator (A) 110 aaaa 110 data (aaaa) OR Accumulator (A) 111 aaaa 111 data (aaaa) XOR Accumulator (A) Control Circuit: FSM s_fetch s_decode s load s_dec s_add s_and 15 16 f7 0 f8 0 19 f103 f11 delete f12 insert scrol % 1 & GA backspoce Arithmetic Logic Unit (ALU): Selection Input 0 0 0 0 0 0 0 0 1 1 1 1 Operation A+B A-B A-1 A+1 A and B A or B not A A xor B 1 1 0 0 1 15 0 1 0 1 1 1 In the project report, include the VHDL codes for the given circuit and test bench. Force the inputs of IR (which are otherwise fetched from the program memory) so as to mimic the normal operation and test all the stages of operation Op mohamnet 66 The first three most significant bits of IR (7-bit) are corresponding to the operation code (opcode). The instructions that your microprocessor needs to execute and the corresponding encodings are defined in Table 1. IR OPCODE Operation 000 aaaa 000 Load data (aaaa) to Accumulator (A) 001 aaaa 001 Add data (aaaa and Accumulator (A) 010 aaaa 010 Subtract data (aaaa) from Accumulator (A) 011 xxxx 011 Increment Accumulator (A) 100 xxxx 100 Decrement Accumulator (A) 101 aaaa 101 data (aaaa) AND Accumulator (A) 110 aaaa 110 data (aaaa) OR Accumulator (A) 111 aaaa 111 data (aaaa) XOR Accumulator (A) Control Circuit: FSM s_fetch s_decode s load s_dec s_add s_and 15 16 f7 0 f8 0 19 f103 f11 delete f12 insert scrol % 1 & GA backspoce Arithmetic Logic Unit (ALU): Selection Input 0 0 0 0 0 0 0 0 1 1 1 1 Operation A+B A-B A-1 A+1 A and B A or B not A A xor B 1 1 0 0 1 15 0 1 0 1 1 1 In the project report, include the VHDL codes for the given circuit and test bench. Force the inputs of IR (which are otherwise fetched from the program memory) so as to mimic the normal operation and test all the stages of operation Op mohamnet 66

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

College Accounting

Authors: Heintz and Parry

20th Edition

1285892070, 538489669, 9781111790301, 978-1285892078, 9780538489669, 1111790302, 978-0538745192

More Books

Students also viewed these Accounting questions