Skip to content

Commit

Permalink
chore(Memory): remove unnecessary debug info (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kumonda221-CrO3 authored Dec 19, 2024
1 parent 40b2f96 commit e448dc1
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions main/Memory/MemoryAgent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -623,12 +623,6 @@ namespace axi_agent {
{
if (iter->get() == trans.get())
{
std::cout << "[memory.axi] [erase R] "
<< "(id: " << trans->request.bundle.id << ", " << trans->request.bundle.addr << ")"
<< " -> "
<< "(id: " << iter->get()->request.bundle.id << ", " << iter->get()->request.bundle.addr << ")"
<< std::endl;

activeReads.erase(iter);
break;
}
Expand All @@ -646,24 +640,6 @@ namespace axi_agent {
fire_b();
fire_ar();
fire_r();

if (!(cycle() % 50000))
{
std::cout << "[memory.axi] active reads: " << std::endl;
for (auto& trans : activeReads)
{
std::cout << Gravity::StringAppender()
.Append("[memory.axi] [", trans->request.time, "] ")
.Hex().ShowBase()
.Append("id: ", uint64_t(trans->request.bundle.id))
.Append(", addr: ", uint64_t(trans->request.bundle.addr))
.Append(", burst: ", uint64_t(trans->request.bundle.burst))
.Append(", size: ", uint64_t(trans->request.bundle.size))
.Append(", len: ", uint64_t(trans->request.bundle.len))
.EndLine()
.ToString();
}
}
}

void MemoryAgent::update_signal()
Expand Down

0 comments on commit e448dc1

Please sign in to comment.