Tags.py (13219:454ecc63338d) | Tags.py (13418:08101e89101e) |
---|---|
1# Copyright (c) 2012-2013 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 40 unchanged lines hidden (view full) --- 49 50 # Get the block size from the parent (system) 51 block_size = Param.Int(Parent.cache_line_size, "block size in bytes") 52 53 # Get the tag lookup latency from the parent (cache) 54 tag_latency = Param.Cycles(Parent.tag_latency, 55 "The tag lookup latency for this cache") 56 | 1# Copyright (c) 2012-2013 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 40 unchanged lines hidden (view full) --- 49 50 # Get the block size from the parent (system) 51 block_size = Param.Int(Parent.cache_line_size, "block size in bytes") 52 53 # Get the tag lookup latency from the parent (cache) 54 tag_latency = Param.Cycles(Parent.tag_latency, 55 "The tag lookup latency for this cache") 56 |
57 # Get the RAM access latency from the parent (cache) 58 data_latency = Param.Cycles(Parent.data_latency, 59 "The data access latency for this cache") 60 | |
61 # Get the warmup percentage from the parent (cache) 62 warmup_percentage = Param.Percent(Parent.warmup_percentage, 63 "Percentage of tags to be touched to warm up the cache") 64 65 sequential_access = Param.Bool(Parent.sequential_access, 66 "Whether to access tags and data sequentially") 67 68 # Get indexing policy --- 45 unchanged lines hidden --- | 57 # Get the warmup percentage from the parent (cache) 58 warmup_percentage = Param.Percent(Parent.warmup_percentage, 59 "Percentage of tags to be touched to warm up the cache") 60 61 sequential_access = Param.Bool(Parent.sequential_access, 62 "Whether to access tags and data sequentially") 63 64 # Get indexing policy --- 45 unchanged lines hidden --- |