Skip to content

Commit

Permalink
Fix typos in assignment 0
Browse files Browse the repository at this point in the history
  • Loading branch information
powerjg committed Jan 14, 2025
1 parent 8c69202 commit e8dd8eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/gem5/_posts/2000-02-01-assignment0.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ from components import RISCVBoard, SingleCycleCPU, MESITwoLevelCache, DDR3

### Instantiate an object of the model

In this step we will create an object of each model. We will first create a `processor` and name it **cpu**, then we will create a `cache hierachy` and name it **cache**, then we will create a `memory` and name it **memory**, and then we will create a `board` and name it **board**.
In this step we will create an object of each model. We will first create a `processor` and name it **cpu**, then we will create a `cache hierarchy` and name it **cache**, then we will create a `memory` and name it **memory**, and then we will create a `board` and name it **board**.
We will need **cpu, cache, and memory** to create a board. Here is the code that does that for us.

```python
if __name__ == "__m5_main__":
cpu = TimingSimpleCPU()
cpu = SingleCycleCPU()
cache = MESITwoLevelCache()
memory = DDR3()
board = RISCVBoard(
Expand Down

0 comments on commit e8dd8eb

Please sign in to comment.