Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moderinzation, Organization & Unit Testing #5

Open
wants to merge 99 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
db88ff7
unit-test: Added simple unit test framework
atsmith3 Jun 8, 2020
f7a8a8e
Merge pull request #2 from atsmith3/feature/unit_test
atsmith3 Jun 8, 2020
02b8be9
git-hooks:
atsmith3 Jun 9, 2020
b6e82e0
CMake: Converted from Make to CMake
atsmith3 Jun 9, 2020
6e6b3eb
git-hooks:
atsmith3 Jun 9, 2020
65beb91
git-hooks: Testing clang-format again
atsmith3 Jun 9, 2020
3c1013f
git-hooks:
atsmith3 Jun 9, 2020
3e271be
Merge pull request #3 from atsmith3/feature/git-hooks
atsmith3 Jun 9, 2020
40ea8de
organization: src directory
atsmith3 Jun 9, 2020
91b42bd
Merge pull request #6 from atsmith3/feature/organization
atsmith3 Jun 9, 2020
3a3a401
Options: Options class with libboost program_options
atsmith3 Jun 9, 2020
9c6c308
Merge pull request #7 from atsmith3/feature/boost_frontend
atsmith3 Jun 9, 2020
a2606a7
refactor-serialization: Refactored FlashController
atsmith3 Jun 10, 2020
c5ee7ff
refactor-serialization: Refactored PCIeController
atsmith3 Jun 10, 2020
a95e705
refactor-serialization: Refactored NIUController
atsmith3 Jun 10, 2020
e2e3a32
Merge pull request #8 from atsmith3/feature/refactor-iocontrollers
atsmith3 Jun 10, 2020
238afbf
refactor-serialization: Refactored MC Backend
atsmith3 Jun 10, 2020
c729f93
refactor-serialization: Refactored MC PHY
atsmith3 Jun 10, 2020
7118de3
refactor-serialization: Split up the Memory Controller Files
atsmith3 Jun 11, 2020
ee8d1ea
refactor-serialization: Refactored MC Front End
atsmith3 Jun 11, 2020
1a091fa
refactor-serialization: Refactored Memory Controller
atsmith3 Jun 11, 2020
87c9a0b
Merge pull request #13 from atsmith3/feature/refactor-memctrl
atsmith3 Jun 11, 2020
27d6079
refactor: Cache
atsmith3 Jun 11, 2020
876b243
refactor: Split Core Source
atsmith3 Jun 11, 2020
1b7e204
refactor: Changed cache interface, need to update the DataCache and I…
atsmith3 Jun 11, 2020
1eefdef
Added branchPredictor
Jun 17, 2020
57c7db5
Merge pull request #16 from atsmith3/feature/branch_predictor
atsmith3 Jun 17, 2020
19ff96a
mmu done
Jun 17, 2020
772f0fd
Error in Ececute unit
Jun 18, 2020
d194747
error in bypass in execute unit due to regfile
Jun 18, 2020
4e2f975
regfile error fixed
Jun 18, 2020
be92176
Regfile-Scheduler-Renaming done
Jun 18, 2020
9135fe0
Merge pull request #18 from atsmith3/feature/MMU
atsmith3 Jun 18, 2020
2ccaaad
Merge pull request #20 from atsmith3/feature/Regfile-Scheduler-Renaming
atsmith3 Jun 18, 2020
29b0c02
experimental merge: Preparing to merge
atsmith3 Jun 20, 2020
a86a3ab
Merge branch 'feature/refactor-cache' into feature/refactor-cache-merge
atsmith3 Jun 20, 2020
29a6fc1
Fixed error in renaming.cc
Jun 21, 2020
fc8c308
rename unit:
atsmith3 Jun 21, 2020
0607d43
Merge pull request #22 from atsmith3/feature/RenamingFileErrorFixed
atsmith3 Jun 21, 2020
24f9563
Merge branch 'feature/refactor-cache' into feature/refactor-cache-merge
atsmith3 Jun 21, 2020
69f427e
Merge pull request #24 from atsmith3/feature/refactor-cache-merge
atsmith3 Jun 21, 2020
9b7ceda
Merge pull request #25 from atsmith3/feature/refactor-cache
atsmith3 Jun 21, 2020
57a10c6
functional-unit:
atsmith3 Jun 21, 2020
63059dc
functional-unit:
atsmith3 Jun 21, 2020
459db3c
Merge pull request #27 from atsmith3/feature/refactor-functional-unit
atsmith3 Jun 21, 2020
9b5c644
refactor: NoC updated
atsmith3 Jun 21, 2020
23dcf8a
Merge pull request #28 from atsmith3/feature/refactor-noc
atsmith3 Jun 21, 2020
852f4b7
refactor: Interconnect updated
atsmith3 Jun 21, 2020
974fb8a
Merge pull request #29 from atsmith3/feature/refactor-interconnect
atsmith3 Jun 21, 2020
43e85bd
refactor: Preparing processor class for refactor
atsmith3 Jun 21, 2020
32f4264
refoactor: Processor
atsmith3 Jun 21, 2020
8b980a3
serialization: Debugging double counting
atsmith3 Jun 21, 2020
2c73fa8
Selection_logic Dep_resource & EXECU
Jun 22, 2020
28a9a6d
Added stats comment
Jun 22, 2020
7537993
Merge pull request #30 from atsmith3/feature/refactor-SelectionLogic-…
atsmith3 Jun 22, 2020
2797d31
Fix one bug another 10 appear....
atsmith3 Jun 22, 2020
1b292db
Fixed bug
Jun 22, 2020
b06b9ab
Merge pull request #31 from atsmith3/feature/refactor-bug-fix
atsmith3 Jun 22, 2020
ca89bb4
Inst_decoder unit donw
Jun 23, 2020
3269b09
Done with the ID units
Jun 23, 2020
bd7c499
NoC calculation incorrect by a factor of 1/2 for all niagra based tests
atsmith3 Jun 23, 2020
72194ee
Merge pull request #32 from atsmith3/feature/refactor-Instruction_dec…
atsmith3 Jun 23, 2020
2d65451
Merge branch 'feature/refactor' into feature/serialization-merge-refa…
atsmith3 Jun 23, 2020
53a8a4e
Unit Test Update & Merge & bugfix
atsmith3 Jun 23, 2020
47df78e
preliminary IF unit changes
Jun 23, 2020
038fc20
Updated to Unit Test Scripts and Formatting of Text Data
atsmith3 Jun 23, 2020
96fb04a
Merge pull request #33 from atsmith3/feature/refactor-Instruction_Fetch
atsmith3 Jun 23, 2020
62bf410
Merge branch 'feature/refactor' into feature/serialization-merge-refa…
atsmith3 Jun 23, 2020
2ba7cb0
Merge pull request #34 from atsmith3/feature/serialization-merge-refa…
atsmith3 Jun 23, 2020
cbf2381
Merge pull request #35 from atsmith3/feature/serialization
atsmith3 Jun 23, 2020
bc738f9
Unit Test in Parallel
atsmith3 Jun 23, 2020
48f88aa
Merge branch 'feature/serialization-merge-refactor' of https://github…
atsmith3 Jun 23, 2020
2ff0567
Merge branch 'feature/refactor' into feature/serialization-merge-refa…
atsmith3 Jun 23, 2020
f2e4cb0
Merge pull request #36 from atsmith3/feature/serialization-merge-refa…
atsmith3 Jun 23, 2020
44d9521
instruction fetch unit finally DONE
kanungoramakrishna Jun 23, 2020
658f46e
Merge pull request #37 from atsmith3/feature/refactor-IF_Unit
atsmith3 Jun 23, 2020
3a9aee7
refactor: Load Store Unit
atsmith3 Jun 23, 2020
c18e98f
Merge branch 'feature/refactor' into feature/refactor-lsqueue
atsmith3 Jun 23, 2020
1eff27e
Merge pull request #38 from atsmith3/feature/refactor-lsqueue
atsmith3 Jun 23, 2020
3efd789
Bugfix in merge
atsmith3 Jun 23, 2020
cfd37ff
Merge pull request #39 from atsmith3/feature/refactor-bugfix-ifu
atsmith3 Jun 23, 2020
9351d14
Initiating changes in the undiff_core
kanungoramakrishna Jun 24, 2020
54e564a
Completed the undiff core
kanungoramakrishna Jun 24, 2020
03fde96
Corepipe fixed
kanungoramakrishna Jun 24, 2020
d3df757
refactor: cacti/decoder
atsmith3 Jun 24, 2020
16db390
core done
kanungoramakrishna Jun 24, 2020
6219082
Merge pull request #40 from atsmith3/feature/refactor-core
atsmith3 Jun 24, 2020
1d8081e
Adding more fields to inst_decoder & predec_blk
atsmith3 Jun 24, 2020
93fb7c3
Merge branch 'feature/refactor' into feature/serialization-core-merge
atsmith3 Jun 24, 2020
dc7c5da
merge: feature/refactor
atsmith3 Jun 24, 2020
3943ed4
Merge pull request #41 from atsmith3/feature/serialization-core-merge
atsmith3 Jun 24, 2020
d658b04
ExecU ALUs not calculating power properly
atsmith3 Jun 24, 2020
ee61a7b
serialization: Serialization Complete
atsmith3 Jun 24, 2020
2f97299
organized code
kanungoramakrishna Jun 24, 2020
b144f0f
Merge pull request #42 from atsmith3/feature/serialization-core-arranged
atsmith3 Jun 24, 2020
5df7d61
Merge pull request #43 from atsmith3/feature/serialization-core
atsmith3 Jun 24, 2020
38a37b8
Merge pull request #44 from atsmith3/feature/refactor
atsmith3 Jun 24, 2020
b08ddf4
Merge pull request #45 from atsmith3/develop
atsmith3 Jun 24, 2020
fcd4d65
Update to Readme
atsmith3 Jun 24, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
error in bypass in execute unit due to regfile
  • Loading branch information
Ramakrishna Kanungo committed Jun 18, 2020
commit d1947479c6f814497f42e81cb3aa9688d9cdea53
11 changes: 4 additions & 7 deletions src/core/exec_unit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* neither the name of the copyright holders nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.

* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
Expand Down Expand Up @@ -61,10 +60,8 @@ EXECU::EXECU(ParseXML *XML_interface,
executionTime = coredynp.executionTime;
rfu = new RegFU();
rfu->set_params(XML, ithCore, &interface_ip, coredynp);
rfu->computeArea();
rfu->set_stats(XML);
rfu->computeStaticPower();

rfu->computeArea();
scheu = new SchedulerU(XML, ithCore, &interface_ip, coredynp);
exeu = new FunctionalUnit(XML, ithCore, &interface_ip, coredynp, ALU);
area.set_area(area.get_area() + exeu->area.get_area() + rfu->area.get_area() +
Expand Down Expand Up @@ -418,8 +415,8 @@ void EXECU::computeEnergy(bool is_tdp) {
if (!exist)
return;
double pppm_t[4] = {1, 1, 1, 1};
//rfu->power.reset();
//rfu->rt_power.reset();
// rfu->power.reset();
// rfu->rt_power.reset();
// scheu->power.reset();
// scheu->rt_power.reset();
// exeu->power.reset();
Expand Down Expand Up @@ -672,4 +669,4 @@ EXECU ::~EXECU() {
delete scheu;
scheu = 0;
}
}
}