-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from virtual-labs/dev
Dev
- Loading branch information
Showing
12 changed files
with
98 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"unit-type": "lu", | ||
"label": "", | ||
"basedir": ".", | ||
"units": [ | ||
{ | ||
"unit-type": "aim" | ||
}, | ||
{ | ||
"target": "theory.html", | ||
"source": "theory.md", | ||
"label": "Theory", | ||
"unit-type": "task", | ||
"content-type": "text" | ||
}, | ||
{ | ||
"target": "procedure.html", | ||
"source": "procedure.md", | ||
"label": "Procedure", | ||
"unit-type": "task", | ||
"content-type": "text" | ||
}, | ||
{ | ||
"target": "simulation.html", | ||
"source": "simulation/index.html", | ||
"label": "Simulation", | ||
"unit-type": "task", | ||
"content-type": "simulation" | ||
}, | ||
{ | ||
"target": "references.html", | ||
"source": "references.md", | ||
"label": "References", | ||
"unit-type": "task", | ||
"content-type": "text" | ||
} | ||
] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
### Aim of the experiment | ||
There are multiple approaches for CPU design. | ||
|
||
1. Single Cycle | ||
2. Mutiple Cycle | ||
3. Pipelined | ||
|
||
In this lab we shall understand the Single Cycle CPU design for a subset of instructions from the MIPS ISA. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
## Experiment name | ||
### Single Cycle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- The objective of this experiment is to learn the design principles behind a Single Cycle CPU using a subset of MIPS ISA as example. | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
### Procedure | ||
Procedure is also explained in the experiment. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
### Link your references in here | ||
- Patterson, D. A. and Hennessy, J. L. Computer Organization and Design: the Hardware/Software Interface. 3rd Edition. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<html><head><!--Google Tag Manager--><script class="gtm">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | ||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], | ||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= | ||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); | ||
})(window,document,'script','dataLayer','GTM-W59SWTR');</script><!--End Google Tag Manager--> | ||
<!-- Google Analytics Code starts here --> | ||
<script> | ||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | ||
|
||
ga('create', 'UA-42255654-1', 'virtual-labs.ac.in'); | ||
ga('send', 'pageview'); | ||
|
||
</script> | ||
<!-- Google Analytics Code ends here --> | ||
</head> | ||
<body><!--Google Tag Manager (noscript)--><noscript class="gtm"><iframe height="0" src="https://www.googletagmanager.com/ns.html?id=GTM-W59SWTR" style="display:none;visibility:hidden" width="0"></iframe></noscript><!--End Google Tag Manager (noscript)--> | ||
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/ | ||
cabs/flash/swflash.cab#version=6,0,40,0" height="100%" id="intro" width="100%"> | ||
|
||
<param name="movie" value="v19.swf"></param> | ||
|
||
<param name="quality" value="high"></param> | ||
|
||
<embed align="" height="100%" name="v19" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="v19.swf" type="application/x-shockwave-flash" width="100%"></embed> | ||
|
||
|
||
</object> | ||
|
||
|
||
</body></html> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
### Link your theory in here | ||
- In Single Cycle CPU design approach each instruction takes exactly one clock cycle to execute. | ||
- In Multicycle CPU each instruction multiple clock cycles to execute. | ||
- In Pipelined approach instruction execution takes place in a overlapped fashion. | ||
- The instructions supported by the Single Cycle cpu in our experiment and how to microcode new instructions are all given as a part of the experiment itself. |