diff options
Diffstat (limited to 'configs')
-rw-r--r-- | configs/example/read_config.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configs/example/read_config.py b/configs/example/read_config.py index ecb2950e6..dfd5b7f1a 100644 --- a/configs/example/read_config.py +++ b/configs/example/read_config.py @@ -101,6 +101,7 @@ param_parsers = { 'NumericParamValue': simple_parser(cast=long), 'TickParamValue': tick_parser(), 'Frequency': tick_parser(cast=m5.objects.Latency), + 'Current': simple_parser(suffix='A'), 'Voltage': simple_parser(suffix='V'), 'Enum': simple_parser(), 'MemorySize': simple_parser(suffix='B'), @@ -108,7 +109,8 @@ param_parsers = { 'AddrRange': addr_range_parser, 'String': simple_parser(), 'MemoryBandwidth': memory_bandwidth_parser, - 'Time': simple_parser() + 'Time': simple_parser(), + 'EthernetAddr': simple_parser() } for name, parser in param_parsers.iteritems(): |