ChampSim
champsim::defaults Namespace Reference

Variables

const auto default_core
 
const auto default_l1i
 
const auto default_l1d
 
const auto default_l2c
 
const auto default_itlb
 
const auto default_dtlb
 
const auto default_stlb
 
const auto default_llc
 
const auto default_ptw
 

Variable Documentation

◆ default_core

const auto champsim::defaults::default_core
Initial value:
.dib_set(32)
.dib_way(8)
.rob_size(352)
.lq_size(128)
.sq_size(72)
.branch_predictor<O3_CPU::bbranchDbimodal>()
.btb<O3_CPU::tbtbDbasic_btb>()
Definition: ooo_cpu.h:252
self_type & l1d_bandwidth(long int l1d_bw_)
Definition: ooo_cpu.h:434
self_type & dib_window(std::size_t dib_window_)
Definition: ooo_cpu.h:324
self_type & sq_size(std::size_t sq_size_)
Definition: ooo_cpu.h:354
self_type & schedule_latency(unsigned schedule_latency_)
Definition: ooo_cpu.h:414
self_type & lq_width(unsigned lq_width_)
Definition: ooo_cpu.h:384
self_type & ifetch_buffer_size(std::size_t ifetch_buffer_size_)
Definition: ooo_cpu.h:329
self_type & rob_size(std::size_t rob_size_)
Definition: ooo_cpu.h:344
self_type & mispredict_penalty(unsigned mispredict_penalty_)
Definition: ooo_cpu.h:399
self_type & dib_way(std::size_t dib_way_)
Definition: ooo_cpu.h:319
self_type & l1i_bandwidth(long int l1i_bw_)
Definition: ooo_cpu.h:429
self_type & dib_set(std::size_t dib_set_)
Definition: ooo_cpu.h:314
self_type & dispatch_buffer_size(std::size_t dispatch_buffer_size_)
Definition: ooo_cpu.h:339
self_type & execute_width(unsigned execute_width_)
Definition: ooo_cpu.h:379
self_type & decode_width(unsigned decode_width_)
Definition: ooo_cpu.h:364
self_type & retire_width(unsigned retire_width_)
Definition: ooo_cpu.h:394
self_type & schedule_width(unsigned schedule_width_)
Definition: ooo_cpu.h:374
self_type & fetch_width(unsigned fetch_width_)
Definition: ooo_cpu.h:359
Builder< B, T_FLAG > branch_predictor()
Definition: ooo_cpu.h:451
self_type & decode_latency(unsigned decode_latency_)
Definition: ooo_cpu.h:404
self_type & sq_width(unsigned sq_width_)
Definition: ooo_cpu.h:389
self_type & dispatch_width(unsigned dispatch_width_)
Definition: ooo_cpu.h:369
self_type & decode_buffer_size(std::size_t decode_buffer_size_)
Definition: ooo_cpu.h:334
self_type & execute_latency(unsigned execute_latency_)
Definition: ooo_cpu.h:419
self_type & dispatch_latency(unsigned dispatch_latency_)
Definition: ooo_cpu.h:409
self_type & lq_size(std::size_t lq_size_)
Definition: ooo_cpu.h:349

◆ default_dtlb

const auto champsim::defaults::default_dtlb
Initial value:
.sets(16)
.ways(4)
.pq_size(0)
.offset_bits(LOG2_PAGE_SIZE)
.prefetcher<CACHE::pprefetcherDno>()
.replacement<CACHE::rreplacementDlru>()
Definition: cache.h:296
self_type & pq_size(uint32_t pq_size_)
Definition: cache.h:354
self_type & prefetch_activate(Elems... pref_act_elems)
Definition: cache.h:425
self_type & ways(uint32_t ways_)
Definition: cache.h:349
self_type & offset_bits(unsigned offset_bits_)
Definition: cache.h:389
self_type & hit_latency(uint64_t hit_lat_)
Definition: cache.h:369
self_type & fill_latency(uint64_t fill_lat_)
Definition: cache.h:374
self_type & sets(uint32_t sets_)
Definition: cache.h:344
self_type & mshr_size(uint32_t mshr_size_)
Definition: cache.h:359
self_type & reset_virtual_prefetch()
Definition: cache.h:419
Builder< P, R_FLAG > prefetcher()
Definition: cache.h:446
self_type & fill_bandwidth(uint32_t max_write_)
Definition: cache.h:384
self_type & reset_prefetch_as_load()
Definition: cache.h:399
self_type & set_wq_checks_full_addr()
Definition: cache.h:404
self_type & tag_bandwidth(uint32_t max_read_)
Definition: cache.h:379

◆ default_itlb

const auto champsim::defaults::default_itlb
Initial value:
.sets(16)
.ways(4)
.pq_size(0)
.offset_bits(LOG2_PAGE_SIZE)
.prefetcher<CACHE::pprefetcherDno>()
.replacement<CACHE::rreplacementDlru>()
self_type & set_virtual_prefetch()
Definition: cache.h:414

◆ default_l1d

const auto champsim::defaults::default_l1d
Initial value:

◆ default_l1i

const auto champsim::defaults::default_l1i
Initial value:
.sets(64)
.ways(8)
.pq_size(32)
.offset_bits(LOG2_BLOCK_SIZE)
.prefetcher<CACHE::pprefetcherDno_instr>()
.replacement<CACHE::rreplacementDlru>()

◆ default_l2c

const auto champsim::defaults::default_l2c
Initial value:
.sets(1024)
.ways(8)
.pq_size(16)
.mshr_size(32)
.offset_bits(LOG2_BLOCK_SIZE)
.prefetcher<CACHE::pprefetcherDno>()
.replacement<CACHE::rreplacementDlru>()
self_type & reset_wq_checks_full_addr()
Definition: cache.h:409

◆ default_llc

const auto champsim::defaults::default_llc
Initial value:
.name("LLC")
.sets(2048 * NUM_CPUS)
.ways(16)
.pq_size(32 * NUM_CPUS)
.mshr_size(64 * NUM_CPUS)
.tag_bandwidth(NUM_CPUS)
.fill_bandwidth(NUM_CPUS)
.offset_bits(LOG2_BLOCK_SIZE)
.prefetcher<CACHE::pprefetcherDno>()
.replacement<CACHE::rreplacementDlru>()
self_type & name(std::string name_)
Definition: cache.h:334

◆ default_ptw

const auto champsim::defaults::default_ptw
Initial value:
=
Definition: ptw.h:90
Builder & mshr_size(uint32_t mshr_size_)
Definition: ptw.h:126
Builder & fill_bandwidth(uint32_t max_fill_)
Definition: ptw.h:136
Builder & add_pscl(uint8_t lvl, uint32_t set, uint32_t way)
Definition: ptw.h:121
Builder & tag_bandwidth(uint32_t max_read_)
Definition: ptw.h:131

◆ default_stlb

const auto champsim::defaults::default_stlb
Initial value: