Skip to content

Commit 29ddbe3

Browse files
committed
resovling comments and push again
1 parent 6dbfd85 commit 29ddbe3

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

core/lsu/LSU.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace olympia
3333
cache_read_stage_(cache_lookup_stage_
3434
+ 1), // Get data from the cache in the cycle after cache lookup
3535
complete_stage_(
36-
cache_read_stage_
36+
cache_read_stage_
3737
+ p->cache_read_stage_length), // Complete stage is after the cache read stage
3838
ldst_pipeline_("LoadStorePipeline", (complete_stage_ + 1),
3939
getClock()), // complete_stage_ + 1 is number of stages
@@ -505,7 +505,7 @@ namespace olympia
505505
return;
506506
}
507507

508-
// Loads dont perform a cache lookup if there are older stores haven't issued in the load store queue
508+
// The Load doesn't perform a cache lookup if there are older stores haven't issued in the load store queue
509509
if (!inst_ptr->isStoreInst() && !allOlderStoresIssued_(inst_ptr)
510510
&& allow_speculative_load_exec_)
511511
{

core/lsu/LSU.hpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,6 @@ namespace olympia
7676

7777
//! name of this resource.
7878
static const char name[];
79-
80-
// return allow_data_forwarding for test
81-
bool allow_data_forwarding_ex() {
82-
return allow_data_forwarding_;
83-
}
84-
8579
////////////////////////////////////////////////////////////////////////////////
8680
// Type Name/Alias Declaration
8781
////////////////////////////////////////////////////////////////////////////////

docs/design_document_template/LSU.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
== OVERVIEW
4747

48-
The Load Store Unit (LSU) implements the memory interface for the Olympia processor, managing all load and store operations. It features multiple parallel pipelines, data forwarding capabilities, and ensures memory consistency while maintaining high performance through careful hazard management and efficient queueing structures.
48+
The Load Store Unit (LSU) implements the memory interface for the Olympia processor. Managing all load and store operations. The LSU features multiple parallel pipelines, data forwarding capabilities, and ensures memory consistency while maintaining high performance through careful hazard management and efficient queueing structures.
4949

5050
=== Overview Block Diagram
5151

0 commit comments

Comments
 (0)