From 54f245cb9fe4c401264ef6c988e0037957bc1a1e Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Mon, 5 Mar 2018 14:04:34 -0800 Subject: [PATCH] Fix capitalization of pins in dff_array --- compiler/modules/dff_array.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/modules/dff_array.py b/compiler/modules/dff_array.py index 253476f6..6257c814 100644 --- a/compiler/modules/dff_array.py +++ b/compiler/modules/dff_array.py @@ -91,7 +91,7 @@ class dff_array(design.design): for y in range(self.rows): for x in range(self.columns): - din_pin = self.dff_insts[x,y].get_pin("d") + din_pin = self.dff_insts[x,y].get_pin("D") debug.check(din_pin.layer=="metal2","DFF d pin not on metal2") self.add_layout_pin(text="din[{0}][{1}]".format(x,y), layer=din_pin.layer, @@ -99,7 +99,7 @@ class dff_array(design.design): width=din_pin.width(), height=din_pin.height()) - dout_pin = self.dff_insts[x,y].get_pin("q") + dout_pin = self.dff_insts[x,y].get_pin("Q") debug.check(dout_pin.layer=="metal2","DFF q pin not on metal2") self.add_layout_pin(text="dout[{0}][{1}]".format(x,y), layer=dout_pin.layer,