VoltageDomain.py (9827:f47274776aa0) | VoltageDomain.py (10249:6bbb7ae309ac) |
---|---|
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 --- 28 unchanged lines hidden (view full) --- 37# Akash Bagdia 38 39from m5.SimObject import SimObject 40from m5.params import * 41 42class VoltageDomain(SimObject): 43 type = 'VoltageDomain' 44 cxx_header = "sim/voltage_domain.hh" | 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 --- 28 unchanged lines hidden (view full) --- 37# Akash Bagdia 38 39from m5.SimObject import SimObject 40from m5.params import * 41 42class VoltageDomain(SimObject): 43 type = 'VoltageDomain' 44 cxx_header = "sim/voltage_domain.hh" |
45 # We use a default voltage of 1V to avoid forcing users to set it 46 # even if they are not interested in using the functionality 47 voltage = Param.Voltage('1V', "Operational voltage") | 45 46 # Single or list of voltages for the voltage domain. If only a single 47 # voltage is specified, it is used for all different frequencies. 48 # Otherwise, the number of specified voltges and frequencies in the clock 49 # domain (src/sim/ClockDomain.py) must match. Voltages must be specified in 50 # descending order. We use a default voltage of 1V to avoid forcing users to 51 # set it even if they are not interested in using the functionality 52 voltage = VectorParam.Voltage('1V', "Operational voltage(s)") |