Hi,

I need to parameterise objects within a cluster. For example, when when I
try creating Crossbars within the cluster as below:

cluster.xbars = [NoncoherentXBar(
forward_latency = 0,
frontend_latency = 0,
response_latency = 0,
width = options.cache_line_size
) for bank_id in range(0, options.num_clusters)]

I get below error at this line in the python config:

gem5.opt: build/RISCV/base/statistics.hh:1287: Derived&
Stats::Vector2dBase<Derived, Stor>::init(Stats::size_type,
Stats::size_type) [with Derived = Stats::Vector2d; Stor = Stats::StatStor;
Stats::size_type = unsigned int]: Assertion `_x > 0 && _y > 0 && "sizes
must be positive!"' failed.

I understand VectorParams is for a vector of SimObjects, but how do I
extend it to multi-dimensional vectors ?
Please help.

Thanks.
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to