These names happened to collide with names from gem5 itself, and when
linked together produced strange and incorrect results.
Ideally gem5's names should go inside a gem5 namespace, but that's a
much larger change.
Change-Id: Ie7c5f2236678d5dbb722a86321296fce395fbd37
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32175
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
{\r
};\r
\r
-struct Port: sc_port<i_f>\r
+struct SCPort: sc_port<i_f>\r
{\r
Chan chan;\r
};\r
\r
SC_MODULE(M)\r
{\r
- Port port;\r
+ SCPort port;\r
\r
SC_CTOR(M)\r
{\r
sc_event ev;\r
};\r
\r
-struct Port: sc_port<i_f,0>\r
+struct SCPort: sc_port<i_f,0>\r
{\r
sc_event_finder& find_event() const\r
{\r
\r
SC_MODULE(M)\r
{\r
- Port mp;\r
+ SCPort mp;\r
bool flag, flag2;\r
\r
SC_CTOR(M)\r