Hi
While porting an old simulation script, I added these lines (the same as se.py)

system.voltage_domain = VoltageDomain(voltage = options.sys_voltage)
system.cpu_clk_domain = SrcClockDomain(clock = options.cpu_clock,
                                       voltage_domain =
                                       system.cpu_voltage_domain)

But I get this error

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/mahmood/gem5-10083/src/python/m5/main.py", line 388, in main
    exec filecode in scope
  File "configs/example/cmp.py", line 108, in <module>
    system.cpu_voltage_domain)
  File "/home/mahmood/gem5-10083/src/python/m5/SimObject.py", line
736, in __getattr__
    raise AttributeError, err_string
AttributeError: object 'System' has no attribute 'cpu_voltage_domain'
  (C++ object is not yet constructed, so wrapped C++ methods are unavailable.)



Where else should I modify?

-- 
Regards,
Mahmood
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to