Coder Social home page Coder Social logo

superscalarprocessor's Introduction

Superscalar processor simulator: Extend the scalar pipeline processor simulator, to support n-wide 
(configurable parameter) superscalar processor that can fetch n instructions per cycle, decode n instructions
per cycle, issue n instructions per cycle, and commit n instructions per cycle. Add all the necessary 
components to support multi-instruction issue, out-of-order execution, in-order commit, operand forwarding, 
load bypassing, load forwarding, structural hazards handling, and false dependency elimination. Assume that 
each functional unit has a set (configurable parameter) of reservation stations. Implement the register-renaming 
concept as discussed in the Tomasulo algorithm. Note that source operands can be available either from a register 
file or from reservation stations. The simulator needs to take care of precise exception handling.

In order to support superscalar processing, consider the following changes to the scalar pipeline processor:

•	The Register Read (RD) stage can perform both register read as well as instruction dispatch to reservation stations.
•	Execute (EX) and Memory access (MEM) stages are combined together as a multi-cycle Execute stage

•	The Write-Back (WB) stage is split into Complete stage and Retire stage to deal with ALU/LD and ST instructions, 
	respectively 

Assume that the simulator simulates the same set of instructions as was consider
for the scalar pipeline processor design.
Assume that when both load and store requests come to the data cache at the same time, load requests will be given 
priority. Also assume that the architectural register file consists of 8 registers, whose values can be initialized 
at run-time.

Design the simulator in such a way that user can specify the number of entries in the reservation station, re-order 
buffer, store buffer, and the latency for each ALU operation. Given a program code (will be supplied at the evaluation 
time), the simulator has to compute the total number of cycles required to complete the execution of the code, the 
final result of the computation, and the contents of the architectural register file.

superscalarprocessor's People

Contributors

pranavpnair avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.