Skip to content

Commit

Permalink
Cleaning up commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongchan committed May 6, 2024
1 parent 3b43162 commit 9091fd6
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion core/Decode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ namespace olympia
sparta::Unit(node),

fetch_queue_("FetchQueue", p->fetch_queue_size, node->getClock(), &unit_stat_set_),
temp_queue_("TempQueue", p->fetch_queue_size, node->getClock(), &unit_stat_set_),
fusion_num_fuse_instructions_(&unit_stat_set_, "fusion_num_fuse_instructions",
"The number of custom instructions created by fusion",
sparta::Counter::COUNT_NORMAL),
Expand Down
2 changes: 0 additions & 2 deletions core/Decode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,6 @@ namespace olympia
private:
// The internal instruction queue
InstQueue fetch_queue_;
InstQueue temp_queue_; // temp queue for when we have a vector instruction that is waiting
// on vsetvli

// Port listening to the fetch queue appends - Note the 1 cycle delay
sparta::DataInPort<InstGroupPtr> fetch_queue_write_in_{&unit_port_set_,
Expand Down
2 changes: 0 additions & 2 deletions core/ExecutePipe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ namespace olympia
void ExecutePipe::setupExecutePipe_()
{
// Setup scoreboard view upon register file
// std::vector<core_types::RegFile> reg_files = {core_types::RF_INTEGER,
// core_types::RF_FLOAT, core_types::RF_VECTOR};
// if we ever move to multicore, we only want to have resources look for
// scoreboard in their cpu if we're running a test where we only have
// top.rename or top.issue_queue, then we can just use the root
Expand Down
2 changes: 0 additions & 2 deletions core/IssueQueue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ namespace olympia
{
cpu_node = getContainer()->getRoot();
}
// std::vector<core_types::RegFile> reg_files = {core_types::RF_INTEGER,
// core_types::RF_FLOAT, core_types::RF_VECTOR};
for (uint32_t rf = 0; rf < core_types::RegFile::N_REGFILES; ++rf)
{
scoreboard_views_[rf].reset(new sparta::ScoreboardView(
Expand Down
2 changes: 0 additions & 2 deletions core/LSU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ namespace olympia
void LSU::setupScoreboard_()
{
// Setup scoreboard view upon register file
// std::vector<core_types::RegFile> reg_files = {core_types::RF_INTEGER,
// core_types::RF_FLOAT, core_types::RF_VECTOR};
// if we ever move to multicore, we only want to have resources look for scoreboard in their
// cpu if we're running a test where we only have top.rename or top.issue_queue, then we can
// just use the root
Expand Down

0 comments on commit 9091fd6

Please sign in to comment.