consistent pin labels in BASYS3 light chase example

This commit is contained in:
hneemann 2017-09-06 21:50:21 +02:00
parent 47eb704097
commit 3945584945

View File

@ -3,24 +3,6 @@
<version>1</version>
<attributes/>
<visualElements>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>Y0</string>
</entry>
<entry>
<string>pinNumber</string>
<string>U16</string>
</entry>
</elementAttributes>
<pos x="620" y="0"/>
</visualElement>
<visualElement>
<elementName>Text</elementName>
<elementAttributes>
@ -39,7 +21,7 @@
<int>4</int>
</entry>
</elementAttributes>
<pos x="560" y="200"/>
<pos x="520" y="200"/>
</visualElement>
<visualElement>
<elementName>Const</elementName>
@ -49,12 +31,12 @@
<int>4</int>
</entry>
</elementAttributes>
<pos x="420" y="200"/>
<pos x="380" y="200"/>
</visualElement>
<visualElement>
<elementName>Ground</elementName>
<elementAttributes/>
<pos x="540" y="260"/>
<pos x="500" y="260"/>
</visualElement>
<visualElement>
<elementName>Decoder</elementName>
@ -74,298 +56,6 @@
</elementAttributes>
<pos x="820" y="220"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>Y1</string>
</entry>
<entry>
<string>pinNumber</string>
<string>E19</string>
</entry>
</elementAttributes>
<pos x="660" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>Y2</string>
</entry>
<entry>
<string>pinNumber</string>
<string>U19</string>
</entry>
</elementAttributes>
<pos x="700" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>Y3</string>
</entry>
<entry>
<string>pinNumber</string>
<string>V19</string>
</entry>
</elementAttributes>
<pos x="740" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>Y4</string>
</entry>
<entry>
<string>pinNumber</string>
<string>W18</string>
</entry>
</elementAttributes>
<pos x="780" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>Y5</string>
</entry>
<entry>
<string>pinNumber</string>
<string>U15</string>
</entry>
</elementAttributes>
<pos x="820" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>Y6</string>
</entry>
<entry>
<string>pinNumber</string>
<string>U14</string>
</entry>
</elementAttributes>
<pos x="860" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>Y7</string>
</entry>
<entry>
<string>pinNumber</string>
<string>V14</string>
</entry>
</elementAttributes>
<pos x="900" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>Y8</string>
</entry>
<entry>
<string>pinNumber</string>
<string>V13</string>
</entry>
</elementAttributes>
<pos x="940" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>Y9</string>
</entry>
<entry>
<string>pinNumber</string>
<string>V3</string>
</entry>
</elementAttributes>
<pos x="980" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>Y10</string>
</entry>
<entry>
<string>pinNumber</string>
<string>W3</string>
</entry>
</elementAttributes>
<pos x="1020" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>Y11</string>
</entry>
<entry>
<string>pinNumber</string>
<string>U3</string>
</entry>
</elementAttributes>
<pos x="1060" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>Y12</string>
</entry>
<entry>
<string>pinNumber</string>
<string>P3</string>
</entry>
</elementAttributes>
<pos x="1100" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>Y13</string>
</entry>
<entry>
<string>pinNumber</string>
<string>N3</string>
</entry>
</elementAttributes>
<pos x="1140" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>Y14</string>
</entry>
<entry>
<string>pinNumber</string>
<string>P1</string>
</entry>
</elementAttributes>
<pos x="1180" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>Y15</string>
</entry>
<entry>
<string>pinNumber</string>
<string>L1</string>
</entry>
</elementAttributes>
<pos x="1220" y="0"/>
</visualElement>
<visualElement>
<elementName>Clock</elementName>
<elementAttributes>
<entry>
<string>runRealTime</string>
<boolean>true</boolean>
</entry>
<entry>
<string>Label</string>
<string>Clk</string>
</entry>
<entry>
<string>pinNumber</string>
<string>W5</string>
</entry>
<entry>
<string>Frequency</string>
<int>20</int>
</entry>
</elementAttributes>
<pos x="620" y="300"/>
</visualElement>
<visualElement>
<elementName>JK_FF</elementName>
<elementAttributes/>
@ -379,7 +69,7 @@
<int>4</int>
</entry>
</elementAttributes>
<pos x="440" y="200"/>
<pos x="400" y="200"/>
</visualElement>
<visualElement>
<elementName>Const</elementName>
@ -393,7 +83,7 @@
<int>4</int>
</entry>
</elementAttributes>
<pos x="420" y="240"/>
<pos x="380" y="240"/>
</visualElement>
<visualElement>
<elementName>Testcase</elementName>
@ -401,7 +91,7 @@
<entry>
<string>Testdata</string>
<testData>
<dataString>Clk Y15 Y14 Y13 Y12 Y11 Y10 Y9 Y8 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0
<dataString>Clock LED15 LED14 LED13 LED12 LED11 LED10 LED9 LED8 LED7 LED6 LED5 LED4 LED3 LED2 LED1 LED0
0 bits(16,1)
repeat(14) C bits(16,1&lt;&lt;n+1)
repeat(15) C bits(16,1&lt;&lt;15-n)
@ -433,7 +123,317 @@ Also add the created constrains file to the vivado project to assign
the pins correctly.</string>
</entry>
</elementAttributes>
<pos x="400" y="-280"/>
<pos x="400" y="-300"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>LED0</string>
</entry>
<entry>
<string>pinNumber</string>
<string>U16</string>
</entry>
</elementAttributes>
<pos x="620" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>LED1</string>
</entry>
<entry>
<string>pinNumber</string>
<string>E19</string>
</entry>
</elementAttributes>
<pos x="660" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>LED2</string>
</entry>
<entry>
<string>pinNumber</string>
<string>U19</string>
</entry>
</elementAttributes>
<pos x="700" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>LED3</string>
</entry>
<entry>
<string>pinNumber</string>
<string>V19</string>
</entry>
</elementAttributes>
<pos x="740" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>LED4</string>
</entry>
<entry>
<string>pinNumber</string>
<string>W18</string>
</entry>
</elementAttributes>
<pos x="780" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>LED5</string>
</entry>
<entry>
<string>pinNumber</string>
<string>U15</string>
</entry>
</elementAttributes>
<pos x="820" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>LED6</string>
</entry>
<entry>
<string>pinNumber</string>
<string>U14</string>
</entry>
</elementAttributes>
<pos x="860" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>LED7</string>
</entry>
<entry>
<string>pinNumber</string>
<string>V14</string>
</entry>
</elementAttributes>
<pos x="900" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>LED8</string>
</entry>
<entry>
<string>pinNumber</string>
<string>V13</string>
</entry>
</elementAttributes>
<pos x="940" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>LED9</string>
</entry>
<entry>
<string>pinNumber</string>
<string>V3</string>
</entry>
</elementAttributes>
<pos x="980" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>LED10</string>
</entry>
<entry>
<string>pinNumber</string>
<string>W3</string>
</entry>
</elementAttributes>
<pos x="1020" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>LED11</string>
</entry>
<entry>
<string>pinNumber</string>
<string>U3</string>
</entry>
</elementAttributes>
<pos x="1060" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>LED12</string>
</entry>
<entry>
<string>pinNumber</string>
<string>P3</string>
</entry>
</elementAttributes>
<pos x="1100" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>LED13</string>
</entry>
<entry>
<string>pinNumber</string>
<string>N3</string>
</entry>
</elementAttributes>
<pos x="1140" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>LED14</string>
</entry>
<entry>
<string>pinNumber</string>
<string>P1</string>
</entry>
</elementAttributes>
<pos x="1180" y="0"/>
</visualElement>
<visualElement>
<elementName>Out</elementName>
<elementAttributes>
<entry>
<string>rotation</string>
<rotation rotation="1"/>
</entry>
<entry>
<string>Label</string>
<string>LED15</string>
</entry>
<entry>
<string>pinNumber</string>
<string>L1</string>
</entry>
</elementAttributes>
<pos x="1220" y="0"/>
</visualElement>
<visualElement>
<elementName>Clock</elementName>
<elementAttributes>
<entry>
<string>runRealTime</string>
<boolean>true</boolean>
</entry>
<entry>
<string>Label</string>
<string>Clock</string>
</entry>
<entry>
<string>Frequency</string>
<int>50</int>
</entry>
<entry>
<string>pinNumber</string>
<string>W5</string>
</entry>
</elementAttributes>
<pos x="620" y="300"/>
</visualElement>
</visualElements>
<wires>
@ -498,12 +498,12 @@ the pins correctly.</string>
<p2 x="1000" y="120"/>
</wire>
<wire>
<p1 x="540" y="240"/>
<p2 x="560" y="240"/>
<p1 x="500" y="240"/>
<p2 x="520" y="240"/>
</wire>
<wire>
<p1 x="420" y="240"/>
<p2 x="440" y="240"/>
<p1 x="380" y="240"/>
<p2 x="400" y="240"/>
</wire>
<wire>
<p1 x="800" y="160"/>
@ -522,7 +522,7 @@ the pins correctly.</string>
<p2 x="820" y="280"/>
</wire>
<wire>
<p1 x="460" y="360"/>
<p1 x="420" y="360"/>
<p2 x="900" y="360"/>
</wire>
<wire>
@ -530,16 +530,16 @@ the pins correctly.</string>
<p2 x="740" y="200"/>
</wire>
<wire>
<p1 x="620" y="200"/>
<p1 x="580" y="200"/>
<p2 x="660" y="200"/>
</wire>
<wire>
<p1 x="540" y="200"/>
<p2 x="560" y="200"/>
<p1 x="500" y="200"/>
<p2 x="520" y="200"/>
</wire>
<wire>
<p1 x="420" y="200"/>
<p2 x="440" y="200"/>
<p1 x="380" y="200"/>
<p2 x="400" y="200"/>
</wire>
<wire>
<p1 x="740" y="200"/>
@ -558,12 +558,12 @@ the pins correctly.</string>
<p2 x="840" y="140"/>
</wire>
<wire>
<p1 x="540" y="140"/>
<p1 x="500" y="140"/>
<p2 x="740" y="140"/>
</wire>
<wire>
<p1 x="480" y="220"/>
<p2 x="560" y="220"/>
<p1 x="440" y="220"/>
<p2 x="520" y="220"/>
</wire>
<wire>
<p1 x="640" y="220"/>
@ -605,10 +605,6 @@ the pins correctly.</string>
<p1 x="780" y="0"/>
<p2 x="780" y="20"/>
</wire>
<wire>
<p1 x="460" y="240"/>
<p2 x="460" y="360"/>
</wire>
<wire>
<p1 x="1100" y="120"/>
<p2 x="1100" y="160"/>
@ -649,14 +645,6 @@ the pins correctly.</string>
<p1 x="860" y="0"/>
<p2 x="860" y="20"/>
</wire>
<wire>
<p1 x="540" y="140"/>
<p2 x="540" y="200"/>
</wire>
<wire>
<p1 x="540" y="240"/>
<p2 x="540" y="260"/>
</wire>
<wire>
<p1 x="1180" y="0"/>
<p2 x="1180" y="20"/>
@ -685,6 +673,10 @@ the pins correctly.</string>
<p1 x="1060" y="0"/>
<p2 x="1060" y="20"/>
</wire>
<wire>
<p1 x="420" y="240"/>
<p2 x="420" y="360"/>
</wire>
<wire>
<p1 x="1000" y="120"/>
<p2 x="1000" y="180"/>
@ -705,6 +697,14 @@ the pins correctly.</string>
<p1 x="880" y="120"/>
<p2 x="880" y="180"/>
</wire>
<wire>
<p1 x="500" y="140"/>
<p2 x="500" y="200"/>
</wire>
<wire>
<p1 x="500" y="240"/>
<p2 x="500" y="260"/>
</wire>
<wire>
<p1 x="820" y="120"/>
<p2 x="820" y="180"/>