In a typical cpu implementation the design-cycle starts

Assignment Help Application Programming
Reference no: EM13347628

In a typical CPU implementation, the design-cycle starts with a C/C++ based instruction set simulator (ISS) of the target CPU. The idea is to experiment with the dierent functional aspects of the target micro-architecture before writing a synthesizable HDL model of the CPU. ISS models can be prototyped very quickly and simulation at ISS level is much faster than RTL. With this motivation, our current aim shall be implementation of a simple 32 bit pipelined CPU simulator in C. The pipeline shall have three stages:

1. Fetch, 2. Decode and 3. Execute.

Modeling the clock:

While the hardware design of a system clock is fairly complicated and involves high precision engineering for the oscillator and phase locked loops for netuning, its software equivalent can be modelled very easily. A system wide counter can act as the clock with its value being updated at appropriate stages of executing each instruction. It is clear that this behaviour is opposite to that observed on a real processor where the clock drives the instruction execution. However letting the instruction execution phases drive the clock is a good enough approach for a software simulator.

Modeling the memory

Memory is best modelled as an array of data words. Registers can be treated as an extension to the memory model. Register les can be supported by a two dimensional array of data words, with one column per register. Similary write appropriate C functions for modeling the dierent execution units, ALU etc. We provide some code fragments which shall act as your implementation guideline.

Reference no: EM13347628

Questions Cloud

Question 1 benefit-cost analysis experts agree that to the : question 1. benefit-cost analysis experts agree that to the extent you can quantify benefits and costs you should do
Question 1 perform the acl tests hand in a report : question 1 perform the acl tests. hand in a report illustrating the audit tests and your conclusions about the results
Question 1 examined the effect of body position on blood : question 1. examined the effect of body position on blood pressure 32 participants had their blood pressures measured
Problem 1 ninja co issued 15-year bonds a year ago at a : problem 1. ninja co. issued 15-year bonds a year ago at a coupon rate of 7.5 percent. the bonds make semiannual
In a typical cpu implementation the design-cycle starts : in a typical cpu implementation the design-cycle starts with a cc based instruction set simulator iss of the target
Each instance of this class will represent one book a book : each instance of this class will represent one book. a book consists of the title of the book a string and the authors.
Apply specific approach for pattern recognitionimplement : apply specific approach for pattern recognition.implement this approach in matlab.compare and discuss the results with
Write a program that pulls four quarterly sales figure for : write a program that pulls four quarterly sales figure for 6 divisions of a company from a .dat file. the figures could
After researching the different forms of business : after researching the different forms of business organization mariam decides to operate cookie creations as a

Reviews

Write a Review

Application Programming Questions & Answers

  Imagine that your company has decided to expand to the web

imagine that your company has decided to expand to the web. you want to reuse some data entry code that has been

  Rtl sa is a company which develops bespoke solutions for

rtl sa is a company which develops bespoke solutions for the rubber industry. they produce both rubber compound which

  Memory managementwrite a paper to provide depth knowledge

memory managementwrite a paper to provide depth knowledge of how memory is used in executing your programs and its

  Problem descriptionyou are working as an engineer for a

problem descriptionyou are working as an engineer for a materials manufacturing research lab and have been asked to

  Electricity modellingit deals with electricity usage data

electricity modellingit deals with electricity usage data for 241 households in new zealand that was collected in

  Questions on programing problem step 1 we ask you to

questions on programing problem step 1 we ask you to produce a project plan and an interim description of the project

  The increasing need to travel and lifestyle changes of

the increasing need to travel and lifestyle changes of society has made airlines industry one of the most demanded and

  Problem 1 create a simple shell basically your shell should

problem 1. create a simple shell. basically your shell should read the line from standard input parse the line with

  Write a paper on mcdonaldsethics and social responsibility

write a paper on mcdonalds.ethics and social responsibility at mcdonaldspaper includesabout mcdonaldscorporate social

  Discussion htmlcssjavascript placementnbspplease respond to

discussion htmlcssjavascript placementnbspplease respond to the followingcompare and contrast the process of adding

  Application development and programming

application development and programming languagesprogramming languages have evolved since the first generation

  Assignment 1nbspdescription this first assignment will

assignment 1nbspdescription this first assignment will allow you to become more comfortable with threads and the basic

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd