mem-ruby: Fixing Topology

The constructor assumes the number of nodes (i.e. controllers) equal to
the number of external nodes.
This is a not necessarily valid for all cases (e.g MESI_Three_Level -
where L0s are directly connected to L1s).
MachineType_base_number(MachineType_NUM) provides the total number of

Signed-off-by: Pouya Fotouhi <>
Change-Id: Id906099dc967ec70aa34dedb0b55351031ff242c
Reviewed-by: Jason Lowe-Power <>
Reviewed-by: Nikos Nikoleris <>
Maintainer: Jason Lowe-Power <>
1 file changed