[gem5-users] Re: How to create a multicore system with different frequency for each core?

2020-11-10 Thread Đức Anh via gem5-users
Hi Srikant and Gabe, Thank for the help, I was able to set different frequencies for different CPUs. However, I notice that I still need to set the clock_domain for the system through ``` system.clk_domain = SrcClockDomain() system.clk_domain.clock = '1GHz' system.clk_domain.voltage_domain =

[gem5-users] Re: How to create a multicore system with different frequency for each core?

2020-11-09 Thread Bharadwaj, Srikant via gem5-users
As Gabe said, you will have to set the clk_domain of each CPU while creating them in the config scripts. You can create a new clock domain using the SrcClockDomain like this: custom_clk_domain = SrcClockDomain(clock = frequency_value, voltage_domain = VoltageDomain(voltage = voltage_value)))

[gem5-users] Re: How to create a multicore system with different frequency for each core?

2020-11-09 Thread Gabe Black via gem5-users
If you want the frequency of the CPUs to change independently from each other, I think you need to set up a ClockDomain object for each, instead of letting them implicitly inherit the one from the System object. On Mon, Nov 9, 2020 at 2:26 AM Đức Anh via gem5-users wrote: > Hello all, > > I am