The files for experiment 2 are just the simple_fifo example from the SystemC examples directory.
Their copied here for convenience as well SOCDAM /toyclasses/class2.
Please pay attention to the details of how to use sc_port.
Finally, we'll take a first look at modelling control and status target registers in various ways: RTL, net-level SystemC and TLM-style SystemC.