simple-tty simple_cache_connection
Simics Reference Manual  /  5 Classes  / 

simple_cache

Description

Simple cache structure

Interfaces Implemented

conf_object, log_object, simple_cache, table

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for this class

Commands for interface table

Attributes

cache_block_size
Required attribute; read/write access; type: i
cache_block_size
cache_set_number
Required attribute; read/write access; type: i
cache_set_number
cache_ways
Optional attribute; read/write access; type: i
cache_ways
read_penalty
Optional attribute; read/write access; type: i
Read penalty
write_penalty
Optional attribute; read/write access; type: i
Write penalty
read_miss_penalty
Optional attribute; read/write access; type: i
Read miss penalty
write_miss_penalty
Optional attribute; read/write access; type: i
Write miss penalty, also read for ownership penalty.
snoop_penalty
Optional attribute; read/write access; type: i
Extra penalty for issuing snooping transaction.
stat_data_write
Pseudo attribute; read-only access; type: i
n. of writes
stat_data_write_miss
Pseudo attribute; read-only access; type: i
n. of writes misses
stat_data_write_back
Pseudo attribute; read-only access; type: i
n. of writes
stat_data_write_back_miss
Pseudo attribute; read-only access; type: i
n. of writes misses
stat_data_read
Pseudo attribute; read-only access; type: i
n. of reads
stat_data_read_miss
Pseudo attribute; read-only access; type: i
n. of reads misses
stat_data_prefetch
Pseudo attribute; read-only access; type: i
n. of prefetches
stat_data_prefetch_miss
Pseudo attribute; read-only access; type: i
n. of prefetch misses
stat_data_prefetch_read_for_ownership
Pseudo attribute; read-only access; type: i
n. of read for ownership prefetches
stat_data_prefetch_read_for_ownership_miss
Pseudo attribute; read-only access; type: i
n. of read for ownership prefetch misses
stat_data_read_for_ownership
Pseudo attribute; read-only access; type: i
n. of read for ownership
stat_data_read_for_ownership_miss
Pseudo attribute; read-only access; type: i
n. of read for ownership misses
stat_instr_fetch_miss
Pseudo attribute; read-only access; type: i
n. of instr miss
stat_instr_fetch
Pseudo attribute; read-only access; type: i
n. of instr
evicted_modified
Pseudo attribute; read-only access; type: i
n. of eviction of modified data
evicted_total
Pseudo attribute; read-only access; type: i
n. of total eviction.
stat_prefetches_used
Pseudo attribute; read-only access; type: i
n. of prefetched lines used.
next_level
Optional attribute; read/write access; type: o|n
next hierarchy object
prev_level
Optional attribute; read/write access; type: [o|n*]|n
Previous caches in hierarchy
level
Optional attribute; read/write access; type: i
Cache level 1 - N
policy
Optional attribute; read/write access; type: s
Cache policy, either 'inclusive', 'exclusive', or 'nine' which is default
ip_read_prefetcher
Optional attribute; read/write access; type: b
Use instruction pointer based read stride prefetcher.
ip_write_prefetcher
Optional attribute; read/write access; type: b
Use instruction pointer based write stride prefetcher.
prefetch_additional
Optional attribute; read/write access; type: i
Additional consecutive lines to prefetch
prefetch_adjacent
Optional attribute; read/write access; type: b
Prefetch the adjacent cache line as well so the total fetch region is block size * 2, naturally aligned.
cache_conn
Pseudo attribute; read/write access; type: o
The instrumentation connection
write_allocate
Pseudo attribute; read/write access; type: b
If TRUE, write misses reads the cache line first, and then the line is modified, otherwise write through on write miss.
write_back
Pseudo attribute; read/write access; type: b
If TRUE, modified cache line is written back to memory when line is flushed, otherwise write through.
meta_content
Pseudo attribute; read-only access; type: [[iiiii]*]
Cache meta content for each line: [State, tag, accessed, in prefetch stride, prefetched line].State is encoded as: 0 in Invalid, 1 is Shared, 2 is Exclusive, and 3 is Modified.
directory
Pseudo attribute; read/write access; type: o|n
Directory controlling this cache level
cpu
Pseudo attribute; read/write access; type: o|n|[o*]
The cpus connected to the cache

Provided By

simple-cache-tool
simple-tty simple_cache_connection