cluster.py (7525:722f2ad014a7) | cluster.py (7716:fa706473bcd5) |
---|---|
1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 220 unchanged lines hidden (view full) --- 229# Connect the L2 cache and clusters together 230# ---------------------- 231for cluster in clusters: 232 cluster.l1.cpu_side = cluster.clusterbus.port 233 cluster.l1.mem_side = system.toL2bus.port 234 for cpu in cluster.cpus: 235 cpu.icache_port = cluster.clusterbus.port 236 cpu.dcache_port = cluster.clusterbus.port | 1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 220 unchanged lines hidden (view full) --- 229# Connect the L2 cache and clusters together 230# ---------------------- 231for cluster in clusters: 232 cluster.l1.cpu_side = cluster.clusterbus.port 233 cluster.l1.mem_side = system.toL2bus.port 234 for cpu in cluster.cpus: 235 cpu.icache_port = cluster.clusterbus.port 236 cpu.dcache_port = cluster.clusterbus.port |
237 cpu.mem = cluster.l1 | |
238 239# ---------------------- 240# Define the root 241# ---------------------- 242 243root = Root(system = system) 244 245# -------------------- --- 59 unchanged lines hidden --- | 237 238# ---------------------- 239# Define the root 240# ---------------------- 241 242root = Root(system = system) 243 244# -------------------- --- 59 unchanged lines hidden --- |