Hey guys,
  I'm trying to specify a latency parameter for an object in ns, but I need
it converted to cycles of the parent object during Python parameter setup.
 I'd like to grab the cycle period in ticks from the parent's Python clock
parameter to convert the ns value to number of cycles, so I don't have to
modify the C++ code of an existing gem5 object to pass in the ns parameter.
 Can someone recommend the best way to do this?

  Thanks,
  Joel


-- 
  Joel Hestness
  PhD Student, Computer Architecture
  Dept. of Computer Science, University of Wisconsin - Madison
  Dept. of Computer Science, University of Texas - Austin
  http://www.cs.utexas.edu/~hestness
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to