diff --git a/src/gpu-compute/compute_unit.hh b/src/gpu-compute/compute_unit.hh index cc5113794c..568a81d2c5 100644 --- a/src/gpu-compute/compute_unit.hh +++ b/src/gpu-compute/compute_unit.hh @@ -1019,7 +1019,7 @@ class ComputeUnit : public ClockedObject // hold the time of the arrival of the first cache block related to // a particular GPUDynInst. This is used to calculate the difference - // between the first and last chace block arrival times. + // between the first and last cache block arrival times. std::unordered_map headTailMap; public: diff --git a/src/mem/cache/cache.cc b/src/mem/cache/cache.cc index 3357d5e1b2..ed1e52edc2 100644 --- a/src/mem/cache/cache.cc +++ b/src/mem/cache/cache.cc @@ -861,7 +861,7 @@ Cache::serviceMSHRTargets(MSHR *mshr, const PacketPtr pkt, CacheBlk *blk) } // not a cache fill, just forwarding response // responseLatency is the latency of the return path - // from lower level cahces/memory to the core. + // from lower level caches/memory to the core. completion_time += clockEdge(responseLatency) + pkt->payloadDelay; if (!is_error) { diff --git a/src/mem/probes/stack_dist.cc b/src/mem/probes/stack_dist.cc index ca78dffc82..50e98ecbc4 100644 --- a/src/mem/probes/stack_dist.cc +++ b/src/mem/probes/stack_dist.cc @@ -53,7 +53,7 @@ StackDistProbe::StackDistProbe(const StackDistProbeParams &p) { fatal_if(p.system->cacheLineSize() > p.line_size, "The stack distance probe must use a cache line size that is " - "larger or equal to the system's cahce line size."); + "larger or equal to the system's cache line size."); } StackDistProbe::StackDistProbeStats::StackDistProbeStats( diff --git a/src/systemc/tests/systemc/utils/sc_report/cached/cached.cpp b/src/systemc/tests/systemc/utils/sc_report/cached/cached.cpp index 8bddd90010..dd055ea55a 100644 --- a/src/systemc/tests/systemc/utils/sc_report/cached/cached.cpp +++ b/src/systemc/tests/systemc/utils/sc_report/cached/cached.cpp @@ -95,7 +95,7 @@ void dump_cached_report(const char* ctx) SC_MODULE( M ) { - sc_in emit; // 1: emit, 0: dump cahced report + sc_in emit; // 1: emit, 0: dump cached report sc_in id; sc_in ofs; sc_event t1, t2, m1, m2;