From 0a0d4c644261cff371e05efa7e5a56efab4f82c8 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 7 Aug 2018 01:26:14 -0700 Subject: [PATCH] systemc: Fix the seed used with sc_gen_unique_name for sc_port. The seed should only be "port" not "sc_port". Change-Id: Ia046103abc0a9ed283fcb7cf7d8069383a1e2b0d Reviewed-on: https://gem5-review.googlesource.com/12067 Reviewed-by: Gabe Black Maintainer: Gabe Black --- src/systemc/ext/core/sc_port.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemc/ext/core/sc_port.hh b/src/systemc/ext/core/sc_port.hh index 0f5a66189..fb7b76d26 100644 --- a/src/systemc/ext/core/sc_port.hh +++ b/src/systemc/ext/core/sc_port.hh @@ -165,7 +165,7 @@ class sc_port_b : public sc_port_base virtual void end_of_simulation() {} explicit sc_port_b(int n, sc_port_policy p) : - sc_port_base(sc_gen_unique_name("sc_port"), n, p) + sc_port_base(sc_gen_unique_name("port"), n, p) {} sc_port_b(const char *name, int n, sc_port_policy p) : sc_port_base(name, n, p) -- 2.30.2