Component_shared()

Re: Component_shared()

by Cédric Hölzl -
Number of replies: 0
In the project, we will have a component used to "simulate" the RAM of the gameboy, that component has a memory of a given size.
In the specifications, the RAM is accessible at two adresse-sets on the bus.
To be able to reproduce this specificity of the gameboy, we use "component_shared" to create a second RAM component that is pluged onto the bus at the second address set. Allowing us to have the same memory accessible at multiple adresses on the bus.

(Note: in reality second adress range is read-only, but we ignore this.)