tgen-dram-ctrl.py (11516:12928a51616a) | tgen-dram-ctrl.py (11837:17b37f38944a) |
---|---|
1# Copyright (c) 2012 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 --- 35 unchanged lines hidden (view full) --- 44require_sim_object("CommMonitor") 45 46# even if this is only a traffic generator, call it cpu to make sure 47# the scripts are happy 48cpu = TrafficGen( 49 config_file=srcpath("tests/quick/se/70.tgen/tgen-dram-ctrl.cfg")) 50 51# system simulated | 1# Copyright (c) 2012 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 --- 35 unchanged lines hidden (view full) --- 44require_sim_object("CommMonitor") 45 46# even if this is only a traffic generator, call it cpu to make sure 47# the scripts are happy 48cpu = TrafficGen( 49 config_file=srcpath("tests/quick/se/70.tgen/tgen-dram-ctrl.cfg")) 50 51# system simulated |
52system = System(cpu = cpu, physmem = DDR3_1600_x64(), | 52system = System(cpu = cpu, physmem = DDR3_1600_8x8(), |
53 membus = IOXBar(width = 16), 54 clk_domain = SrcClockDomain(clock = '1GHz', 55 voltage_domain = 56 VoltageDomain())) 57 58# add a communication monitor 59system.monitor = CommMonitor() 60 --- 16 unchanged lines hidden --- | 53 membus = IOXBar(width = 16), 54 clk_domain = SrcClockDomain(clock = '1GHz', 55 voltage_domain = 56 VoltageDomain())) 57 58# add a communication monitor 59system.monitor = CommMonitor() 60 --- 16 unchanged lines hidden --- |