mem-garnet: Fix default value of network bridge
authorSrikant Bharadwaj <srikant.bharadwaj@amd.com>
Thu, 10 Sep 2020 06:31:43 +0000 (02:31 -0400)
committerSrikant Bharadwaj <srikant.bharadwaj@amd.com>
Fri, 11 Sep 2020 02:00:13 +0000 (02:00 +0000)
commit94f7736489fdc1a5ecb7026fafee524c203fcfd4
tree9d27e2d33e7c58c7ee4d54feaca1e20caf5ee740
parent392c1ced53827198652f5eda58e1874246b024f4
mem-garnet: Fix default value of network bridge

Initializing the network bridge with NULL causes it to have
an class error when instatiating a link. The bridge is only
needed whne either a CDC or SerDes is enabled. This is handled
later during construction of the GarnetLink.

Change-Id: If19a21a6d9bf49449b9c390467d08d3422ae991a
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34257
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/network/garnet2.0/GarnetLink.py