[board.mb.sb.spi.bank.spi_regs spec-viol] Write to read-only field spi_regs.hsfsts.fdv (value written = 0x0000, contents = 0x0001).
...
[board.mb.sb.lan.bank.csr spec-viol] writing 0 to count is not allowed
...
[board.mb.cpu0.core[3][1] info] 0x585: Reading from unknown MSR. Signaling GP fault.
我如何查看日志的时间,以了解哪些日志在时间上接近(包括在同一个周期上命中(,哪些日志相距甚远?
Simics日志上打印的信息由Simicslog-setup
命令控制。
通过在日志设置中添加-time-stamp
选项来打印标准定时信息。这将打印当前指令指针/程序计数器值和循环。它专注于理解软件的作用。
要只查看日志的虚拟时间,而不查看指令地址,请使用-pico-seconds
选项。当您在研究不运行指令的模型以推动模拟前进时(如连接到"clock
"对象的设备模型(,这很有用。
最后,可以使用-real-time
标志打印日志消息发生的实时时间。这主要是为了理解Simics的性能;打嗝";(例如,如果日志消息中存在长时间的实时间隙(。
所有选项都可以一起用于非常长的日志消息。
simics> log-setup -real-time -time-stamp -pico-seconds
...
[board.mb.sb.lan.bank.csr spec-viol] {board.mb.cpu0.core[0][0] 0xdef964fe 3536084056} [08:23:48.5902] {1768042028499 ps} writing 0 to count is not allowed
要查看所有选项,请使用help log-setup
(选项可能会随着时间的推移而添加(:
simics> help log-setup
Command log-setup
Synopsis
log-setup [object] [-time-stamp] [-no-time-stamp] [-pico-seconds] [-no-pico-seconds] [-real-time] [-no-real-time]
[-console] [-no-console] [-eclipse-console] [-no-eclipse-console] [-group] [-no-group] [-level] [-no-level]
[-no-log-file] [-overwrite] [logfile]
<conf_object>.log-setup [-time-stamp] [-no-time-stamp] [-pico-seconds] [-no-pico-seconds] [-real-time] [-no-real-time]
[-console] [-no-console] [-eclipse-console] [-no-eclipse-console] [-group] [-no-group] [-level] [-no-level]
[-no-log-file] [-overwrite] [logfile]
...