From: Jacob Lifshay Date: Fri, 20 May 2022 02:08:43 +0000 (-0700) Subject: add missing *_prst pins X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb97f2bf77a2474233916d713df0821ed2e7ecb9;p=nmigen.git add missing *_prst pins --- diff --git a/tests/test_lib_io.py b/tests/test_lib_io.py index 5970650..f5a116f 100644 --- a/tests/test_lib_io.py +++ b/tests/test_lib_io.py @@ -134,6 +134,7 @@ class PinLayoutDDRTestCase(PinLayoutTestCase): layout_1 = pin_layout(1, dir="i", xdr=2) self.assertLayoutEqual(layout_1.fields, { "i_clk": ((1, False), DIR_NONE), + "i_prst": ((1, False), DIR_NONE), "i0": ((1, False), DIR_NONE), "i1": ((1, False), DIR_NONE), }) @@ -141,6 +142,7 @@ class PinLayoutDDRTestCase(PinLayoutTestCase): layout_2 = pin_layout(2, dir="i", xdr=2) self.assertLayoutEqual(layout_2.fields, { "i_clk": ((1, False), DIR_NONE), + "i_prst": ((1, False), DIR_NONE), "i0": ((2, False), DIR_NONE), "i1": ((2, False), DIR_NONE), }) @@ -149,6 +151,7 @@ class PinLayoutDDRTestCase(PinLayoutTestCase): layout_1 = pin_layout(1, dir="o", xdr=2) self.assertLayoutEqual(layout_1.fields, { "o_clk": ((1, False), DIR_NONE), + "o_prst": ((1, False), DIR_NONE), "o0": ((1, False), DIR_NONE), "o1": ((1, False), DIR_NONE), }) @@ -156,6 +159,7 @@ class PinLayoutDDRTestCase(PinLayoutTestCase): layout_2 = pin_layout(2, dir="o", xdr=2) self.assertLayoutEqual(layout_2.fields, { "o_clk": ((1, False), DIR_NONE), + "o_prst": ((1, False), DIR_NONE), "o0": ((2, False), DIR_NONE), "o1": ((2, False), DIR_NONE), }) @@ -164,6 +168,7 @@ class PinLayoutDDRTestCase(PinLayoutTestCase): layout_1 = pin_layout(1, dir="oe", xdr=2) self.assertLayoutEqual(layout_1.fields, { "o_clk": ((1, False), DIR_NONE), + "o_prst": ((1, False), DIR_NONE), "o0": ((1, False), DIR_NONE), "o1": ((1, False), DIR_NONE), "oe": ((1, False), DIR_NONE), @@ -172,6 +177,7 @@ class PinLayoutDDRTestCase(PinLayoutTestCase): layout_2 = pin_layout(2, dir="oe", xdr=2) self.assertLayoutEqual(layout_2.fields, { "o_clk": ((1, False), DIR_NONE), + "o_prst": ((1, False), DIR_NONE), "o0": ((2, False), DIR_NONE), "o1": ((2, False), DIR_NONE), "oe": ((1, False), DIR_NONE), @@ -181,9 +187,11 @@ class PinLayoutDDRTestCase(PinLayoutTestCase): layout_1 = pin_layout(1, dir="io", xdr=2) self.assertLayoutEqual(layout_1.fields, { "i_clk": ((1, False), DIR_NONE), + "i_prst": ((1, False), DIR_NONE), "i0": ((1, False), DIR_NONE), "i1": ((1, False), DIR_NONE), "o_clk": ((1, False), DIR_NONE), + "o_prst": ((1, False), DIR_NONE), "o0": ((1, False), DIR_NONE), "o1": ((1, False), DIR_NONE), "oe": ((1, False), DIR_NONE), @@ -192,9 +200,11 @@ class PinLayoutDDRTestCase(PinLayoutTestCase): layout_2 = pin_layout(2, dir="io", xdr=2) self.assertLayoutEqual(layout_2.fields, { "i_clk": ((1, False), DIR_NONE), + "i_prst": ((1, False), DIR_NONE), "i0": ((2, False), DIR_NONE), "i1": ((2, False), DIR_NONE), "o_clk": ((1, False), DIR_NONE), + "o_prst": ((1, False), DIR_NONE), "o0": ((2, False), DIR_NONE), "o1": ((2, False), DIR_NONE), "oe": ((1, False), DIR_NONE),