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 --- 81 unchanged lines hidden (view full) --- 90 This is a wrapper for the legacy topologies. 91 """ 92 exec "import %s as Topo" % options.topology 93 topology = eval("Topo.%s(controllers)" % options.topology) 94 return topology 95 96def create_system(options, system, piobus = None, dma_ports = []): 97 |
98 system.ruby = RubySystem(stats_filename = options.ruby_stats, |
99 no_mem_vec = options.use_map) 100 ruby = system.ruby 101 102 protocol = buildEnv['PROTOCOL'] 103 exec "import %s" % protocol 104 try: 105 (cpu_sequencers, dir_cntrls, topology) = \ 106 eval("%s.create_system(options, system, piobus, dma_ports, ruby)" --- 90 unchanged lines hidden --- |