System.py (9338:97b4a2be1e5b) | System.py (9408:10a84dceab25) |
---|---|
1# Copyright (c) 2005-2007 The Regents of The University of Michigan 2# Copyright (c) 2011 Regents of the University of California 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 48 unchanged lines hidden (view full) --- 57 code(''' 58 Enums::MemoryMode getMemoryMode(); 59 void setMemoryMode(Enums::MemoryMode mode); 60''') 61 62 memories = VectorParam.AbstractMemory(Self.all, 63 "All memories in the system") 64 mem_mode = Param.MemoryMode('atomic', "The mode the memory system is in") | 1# Copyright (c) 2005-2007 The Regents of The University of Michigan 2# Copyright (c) 2011 Regents of the University of California 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 48 unchanged lines hidden (view full) --- 57 code(''' 58 Enums::MemoryMode getMemoryMode(); 59 void setMemoryMode(Enums::MemoryMode mode); 60''') 61 62 memories = VectorParam.AbstractMemory(Self.all, 63 "All memories in the system") 64 mem_mode = Param.MemoryMode('atomic', "The mode the memory system is in") |
65 66 # The memory ranges are to be populated when creating the system 67 # such that these can be passed from the I/O subsystem through an 68 # I/O bridge or cache 69 mem_ranges = VectorParam.AddrRange([], "Ranges that constitute main memory") 70 |
|
65 work_item_id = Param.Int(-1, "specific work item id") 66 num_work_ids = Param.Int(16, "Number of distinct work item types") 67 work_begin_cpu_id_exit = Param.Int(-1, 68 "work started on specific id, now exit simulation") 69 work_begin_ckpt_count = Param.Counter(0, 70 "create checkpoint when work items begin count value is reached") 71 work_begin_exit_count = Param.Counter(0, 72 "exit simulation when work items begin count value is reached") --- 14 unchanged lines hidden --- | 71 work_item_id = Param.Int(-1, "specific work item id") 72 num_work_ids = Param.Int(16, "Number of distinct work item types") 73 work_begin_cpu_id_exit = Param.Int(-1, 74 "work started on specific id, now exit simulation") 75 work_begin_ckpt_count = Param.Counter(0, 76 "create checkpoint when work items begin count value is reached") 77 work_begin_exit_count = Param.Counter(0, 78 "exit simulation when work items begin count value is reached") --- 14 unchanged lines hidden --- |