Hello,
In the full system emulation mode, I connected the two IO peripherals I wrote
to gem5 through fs.py. The connected IO peripherals can be found on the system
frame under the m5out folder. How can my linux system running on the full
system emulation access the underlying peripherals?
code show as below??
/***********************************************************************************************/
test_sys.mem_ranges = [AddrRange('500MB'), AddrRange('600MB',
'601MB'),AddrRange('601MB','602MB')]
test_sys.my_device=Device(
##the device of the systemc device
latency= '1ns',
dev_addr_range=test_sys.mem_ranges[1]
)
test_sys.my_device.pio=test_sys.membus.mem_side_ports
/***********************************************************************************************/
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s