From d3cb22c8c19cb94228be486521f073029661f50d Mon Sep 17 00:00:00 2001 From: mrg Date: Thu, 12 Nov 2020 09:33:48 -0800 Subject: [PATCH] Fix pin vs module names issue #26 --- compiler/base/hierarchy_spice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/base/hierarchy_spice.py b/compiler/base/hierarchy_spice.py index d971492e..70011227 100644 --- a/compiler/base/hierarchy_spice.py +++ b/compiler/base/hierarchy_spice.py @@ -104,7 +104,7 @@ class spice(): debug.error("{} spice subcircuit port names do not match pin_names\ \n SPICE names={}\ \n Module names={}\ - ".format(self.name, self.pin_names, self.pins), 1) + ".format(self.name, self.pin, self.pin_names), 1) self.pin_type = {pin: type for pin, type in zip(self.pin_names, type_list)} def get_pin_type(self, name):