metavar="NLOADS",
help="Progress message interval "
"[default: %default]")
+parser.add_option("--sys-clock", action="store", type="string",
+ default='1GHz',
+ help = """Top-level clock for blocks running at system
+ speed""")
(options, args) = parser.parse_args()
# define prototype L1 cache
proto_l1 = BaseCache(size = '32kB', assoc = 4,
- hit_latency = '1ns', response_latency = '1ns',
+ hit_latency = 1, response_latency = 1,
tgts_per_mshr = 8)
if options.blocking:
funcbus = NoncoherentBus(),
physmem = SimpleMemory(latency = "100ns"),
cache_line_size = block_size)
-system.clk_domain = SrcClockDomain(clock = options.sys_clock)
+
+
+system.voltage_domain = VoltageDomain(voltage = '1V')
+
+system.clk_domain = SrcClockDomain(clock = options.sys_clock,
+ voltage_domain = system.voltage_domain)
def make_level(spec, prototypes, attach_obj, attach_port):
fanout = spec[0]