110152Satgutier@umich.edu# Cache size
210152Satgutier@umich.edu//-size (bytes) 2048
310152Satgutier@umich.edu//-size (bytes) 4096
410152Satgutier@umich.edu//-size (bytes) 32768
510152Satgutier@umich.edu//-size (bytes) 262144
610152Satgutier@umich.edu//-size (bytes) 1048576
710152Satgutier@umich.edu//-size (bytes) 2097152
810152Satgutier@umich.edu//-size (bytes) 4194304
910152Satgutier@umich.edu//-size (bytes) 8388608
1010152Satgutier@umich.edu//-size (bytes) 16777216
1110152Satgutier@umich.edu//-size (bytes) 33554432
1210152Satgutier@umich.edu//-size (bytes) 134217728
1310152Satgutier@umich.edu//-size (bytes) 67108864
1410152Satgutier@umich.edu-size (bytes) 1073741824
1510152Satgutier@umich.edu
1610152Satgutier@umich.edu# Line size
1710152Satgutier@umich.edu//-block size (bytes) 8
1810152Satgutier@umich.edu-block size (bytes) 64
1910152Satgutier@umich.edu
2010152Satgutier@umich.edu# To model Fully Associative cache, set associativity to zero
2110152Satgutier@umich.edu//-associativity 0
2210152Satgutier@umich.edu//-associativity 2
2310152Satgutier@umich.edu//-associativity 4
2410152Satgutier@umich.edu-associativity 8
2510152Satgutier@umich.edu//-associativity 16
2610152Satgutier@umich.edu
2710152Satgutier@umich.edu-read-write port 1
2810152Satgutier@umich.edu-exclusive read port 0
2910152Satgutier@umich.edu-exclusive write port 0
3010152Satgutier@umich.edu-single ended read ports 0
3110152Satgutier@umich.edu
3210152Satgutier@umich.edu# Multiple banks connected using a bus
3310152Satgutier@umich.edu-UCA bank count 1
3410152Satgutier@umich.edu-technology (u) 0.022
3510152Satgutier@umich.edu//-technology (u) 0.040
3610152Satgutier@umich.edu//-technology (u) 0.032
3710152Satgutier@umich.edu//-technology (u) 0.090
3810152Satgutier@umich.edu
3910152Satgutier@umich.edu# following three parameters are meaningful only for main memories
4010152Satgutier@umich.edu
4110152Satgutier@umich.edu-page size (bits) 8192 
4210152Satgutier@umich.edu-burst length 8
4310152Satgutier@umich.edu-internal prefetch width 8
4410152Satgutier@umich.edu
4510152Satgutier@umich.edu# following parameter can have one of five values -- (itrs-hp, itrs-lstp, itrs-lop, lp-dram, comm-dram)
4610152Satgutier@umich.edu-Data array cell type - "itrs-hp"
4710152Satgutier@umich.edu//-Data array cell type - "itrs-lstp"
4810152Satgutier@umich.edu//-Data array cell type - "itrs-lop"
4910152Satgutier@umich.edu
5010152Satgutier@umich.edu# following parameter can have one of three values -- (itrs-hp, itrs-lstp, itrs-lop)
5110152Satgutier@umich.edu-Data array peripheral type - "itrs-hp"
5210152Satgutier@umich.edu//-Data array peripheral type - "itrs-lstp"
5310152Satgutier@umich.edu//-Data array peripheral type - "itrs-lop"
5410152Satgutier@umich.edu
5510152Satgutier@umich.edu# following parameter can have one of five values -- (itrs-hp, itrs-lstp, itrs-lop, lp-dram, comm-dram)
5610152Satgutier@umich.edu-Tag array cell type - "itrs-hp"
5710152Satgutier@umich.edu//-Tag array cell type - "itrs-lstp"
5810152Satgutier@umich.edu//-Tag array cell type - "itrs-lop"
5910152Satgutier@umich.edu
6010152Satgutier@umich.edu# following parameter can have one of three values -- (itrs-hp, itrs-lstp, itrs-lop)
6110152Satgutier@umich.edu-Tag array peripheral type - "itrs-hp"
6210152Satgutier@umich.edu//-Tag array peripheral type - "itrs-lstp"
6310152Satgutier@umich.edu//-Tag array peripheral type - "itrs-lop
6410152Satgutier@umich.edu
6510152Satgutier@umich.edu# Bus width include data bits and address bits required by the decoder
6610152Satgutier@umich.edu//-output/input bus width 16
6710152Satgutier@umich.edu-output/input bus width 512
6810152Satgutier@umich.edu
6910152Satgutier@umich.edu// 300-400 in steps of 10
7010152Satgutier@umich.edu-operating temperature (K) 360
7110152Satgutier@umich.edu
7210152Satgutier@umich.edu# Type of memory - cache (with a tag array) or ram (scratch ram similar to a register file) 
7310152Satgutier@umich.edu# or main memory (no tag array and every access will happen at a page granularity Ref: CACTI 5.3 report)
7410152Satgutier@umich.edu-cache type "cache"
7510152Satgutier@umich.edu//-cache type "ram"
7610152Satgutier@umich.edu//-cache type "main memory"
7710152Satgutier@umich.edu
7810152Satgutier@umich.edu# to model special structure like branch target buffers, directory, etc. 
7910152Satgutier@umich.edu# change the tag size parameter
8010152Satgutier@umich.edu# if you want cacti to calculate the tagbits, set the tag size to "default"
8110152Satgutier@umich.edu-tag size (b) "default"
8210152Satgutier@umich.edu//-tag size (b) 22
8310152Satgutier@umich.edu
8410152Satgutier@umich.edu# fast - data and tag access happen in parallel
8510152Satgutier@umich.edu# sequential - data array is accessed after accessing the tag array
8610152Satgutier@umich.edu# normal - data array lookup and tag access happen in parallel
8710152Satgutier@umich.edu#          final data block is broadcasted in data array h-tree 
8810152Satgutier@umich.edu#          after getting the signal from the tag array
8910152Satgutier@umich.edu//-access mode (normal, sequential, fast) - "fast"
9010152Satgutier@umich.edu-access mode (normal, sequential, fast) - "normal"
9110152Satgutier@umich.edu//-access mode (normal, sequential, fast) - "sequential"
9210152Satgutier@umich.edu
9310152Satgutier@umich.edu
9410152Satgutier@umich.edu# DESIGN OBJECTIVE for UCA (or banks in NUCA)
9510152Satgutier@umich.edu-design objective (weight delay, dynamic power, leakage power, cycle time, area) 0:0:0:100:0
9610152Satgutier@umich.edu
9710152Satgutier@umich.edu# Percentage deviation from the minimum value 
9810152Satgutier@umich.edu# Ex: A deviation value of 10:1000:1000:1000:1000 will try to find an organization
9910152Satgutier@umich.edu# that compromises at most 10% delay. 
10010152Satgutier@umich.edu# NOTE: Try reasonable values for % deviation. Inconsistent deviation
10110152Satgutier@umich.edu# percentage values will not produce any valid organizations. For example,
10210152Satgutier@umich.edu# 0:0:100:100:100 will try to identify an organization that has both
10310152Satgutier@umich.edu# least delay and dynamic power. Since such an organization is not possible, CACTI will
10410152Satgutier@umich.edu# throw an error. Refer CACTI-6 Technical report for more details
10510152Satgutier@umich.edu-deviate (delay, dynamic power, leakage power, cycle time, area) 20:100000:100000:100000:100000
10610152Satgutier@umich.edu
10710152Satgutier@umich.edu# Objective for NUCA
10810152Satgutier@umich.edu-NUCAdesign objective (weight delay, dynamic power, leakage power, cycle time, area) 100:100:0:0:100
10910152Satgutier@umich.edu-NUCAdeviate (delay, dynamic power, leakage power, cycle time, area) 10:10000:10000:10000:10000
11010152Satgutier@umich.edu
11110152Satgutier@umich.edu# Set optimize tag to ED or ED^2 to obtain a cache configuration optimized for
11210152Satgutier@umich.edu# energy-delay or energy-delay sq. product
11310152Satgutier@umich.edu# Note: Optimize tag will disable weight or deviate values mentioned above
11410152Satgutier@umich.edu# Set it to NONE to let weight and deviate values determine the 
11510152Satgutier@umich.edu# appropriate cache configuration
11610152Satgutier@umich.edu//-Optimize ED or ED^2 (ED, ED^2, NONE): "ED"
11710152Satgutier@umich.edu-Optimize ED or ED^2 (ED, ED^2, NONE): "ED^2"
11810152Satgutier@umich.edu//-Optimize ED or ED^2 (ED, ED^2, NONE): "NONE"
11910152Satgutier@umich.edu
12010152Satgutier@umich.edu-Cache model (NUCA, UCA)  - "UCA"
12110152Satgutier@umich.edu//-Cache model (NUCA, UCA)  - "NUCA"
12210152Satgutier@umich.edu
12310152Satgutier@umich.edu# In order for CACTI to find the optimal NUCA bank value the following
12410152Satgutier@umich.edu# variable should be assigned 0.
12510152Satgutier@umich.edu-NUCA bank count 0
12610152Satgutier@umich.edu
12710152Satgutier@umich.edu# NOTE: for nuca network frequency is set to a default value of 
12810152Satgutier@umich.edu# 5GHz in time.c. CACTI automatically
12910152Satgutier@umich.edu# calculates the maximum possible frequency and downgrades this value if necessary
13010152Satgutier@umich.edu
13110152Satgutier@umich.edu# By default CACTI considers both full-swing and low-swing 
13210152Satgutier@umich.edu# wires to find an optimal configuration. However, it is possible to 
13310152Satgutier@umich.edu# restrict the search space by changing the signalling from "default" to 
13410152Satgutier@umich.edu# "fullswing" or "lowswing" type.
13510152Satgutier@umich.edu//-Wire signalling (fullswing, lowswing, default) - "Global_10"
13610152Satgutier@umich.edu-Wire signalling (fullswing, lowswing, default) - "default"
13710152Satgutier@umich.edu//-Wire signalling (fullswing, lowswing, default) - "lowswing"
13810152Satgutier@umich.edu
13910152Satgutier@umich.edu//-Wire inside mat - "global"
14010152Satgutier@umich.edu-Wire inside mat - "semi-global"
14110152Satgutier@umich.edu//-Wire outside mat - "global"
14210152Satgutier@umich.edu-Wire outside mat - "semi-global"
14310152Satgutier@umich.edu
14410152Satgutier@umich.edu//-Interconnect projection - "conservative"
14510152Satgutier@umich.edu-Interconnect projection - "aggressive"
14610152Satgutier@umich.edu
14710152Satgutier@umich.edu# Contention in network (which is a function of core count and cache level) is one of
14810152Satgutier@umich.edu# the critical factor used for deciding the optimal bank count value
14910152Satgutier@umich.edu# core count can be 4, 8, or 16
15010152Satgutier@umich.edu//-Core count 4
15110152Satgutier@umich.edu-Core count 8
15210152Satgutier@umich.edu//-Core count 16
15310152Satgutier@umich.edu-Cache level (L2/L3) - "L3"
15410152Satgutier@umich.edu
15510152Satgutier@umich.edu-Add ECC - "true"
15610152Satgutier@umich.edu
15710152Satgutier@umich.edu//-Print level (DETAILED, CONCISE) - "CONCISE"
15810152Satgutier@umich.edu-Print level (DETAILED, CONCISE) - "DETAILED"
15910152Satgutier@umich.edu
16010152Satgutier@umich.edu# for debugging
16110152Satgutier@umich.edu//-Print input parameters - "true"
16210152Satgutier@umich.edu-Print input parameters - "false"
16310152Satgutier@umich.edu# force CACTI to model the cache with the 
16410152Satgutier@umich.edu# following Ndbl, Ndwl, Nspd, Ndsam,
16510152Satgutier@umich.edu# and Ndcm values
16610152Satgutier@umich.edu//-Force cache config - "true"
16710152Satgutier@umich.edu-Force cache config - "false"
16810152Satgutier@umich.edu-Ndwl 1
16910152Satgutier@umich.edu-Ndbl 1
17010152Satgutier@umich.edu-Nspd 0
17110152Satgutier@umich.edu-Ndcm 1
17210152Satgutier@umich.edu-Ndsam1 0
17310152Satgutier@umich.edu-Ndsam2 0
17410152Satgutier@umich.edu
17510152Satgutier@umich.edu
176