Skip to content

where and how does the memory was connected to the other parts of the board in the gem5 components implementation #492

Closed Answered by gxflying
gxflying asked this question in Q&A
Discussion options

You must be logged in to vote

I think I had find the connecting flow, acctrually the memory connection is done in the cache_hierarchy.incorporate_cache

  1. in the abstract.py:: _connect_things , it will call cache_hierarchy::incorporate_cache
    self.get_cache_hierarchy().incorporate_cache(self)

    every cache_hierarchy under ./src/python/gem5/components/cachehierarchies/ will implemtent a incorporate_cache method , and take private_l1_private_l2_cache_hierarchy.py for example, it will connect the memory, caches, system_port

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gxflying
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant