VHDL contribution

MMTsuchi
2013-04-12
2013-06-12
  • MMTsuchi
    MMTsuchi
    2013-04-12

    Hi, I Propose my contribution to VHDL language in Source Cookifier

    <?xml version="1.0" encoding="utf-8"?>
    <SerializableDictionaryOfStringLanguage>
      <item>
        <key>
          <string>VHDL</string>
        </key>
        <value>
          <Language xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <BuildIn>true</BuildIn>
            <Extensions>
              <string>.vhdl</string>
              <string>.vhd</string>
            </Extensions>
            <DisplayAccess>false</DisplayAccess>
            <DisplayReturnType>false</DisplayReturnType>
            <DisplayScope>false</DisplayScope>
            <DisplaySignature>false</DisplaySignature>
            <CaseSensitive>true</CaseSensitive>
            <ScopeOperator>.</ScopeOperator>
            <TagTypes>
              <item>
                <key>
                  <string>P</string>
                </key>
                <value>
                  <TagType>
                    <Description>package definitions</Description>
                    <BuildIn>true</BuildIn>
                    <RegexPatterns />
                    <Show>true</Show>
                    <TrackCaret>false</TrackCaret>
                    <IconFilename />
                    <ForeColor>0</ForeColor>
                  </TagType>
                </value>
              </item>
              <item>
                <key>
                  <string>e</string>
                </key>
                <value>
                  <TagType>
                    <Description>entity declarations</Description>
                    <BuildIn>true</BuildIn>
                    <RegexPatterns />
                    <Show>true</Show>
                    <TrackCaret>false</TrackCaret>
                    <IconFilename />
                    <ForeColor>0</ForeColor>
                  </TagType>
                </value>
              </item>
              <item>
                <key>
                  <string>a</string>
                </key>
                <value>
                  <TagType>
                    <Description>Architecture</Description>
                    <BuildIn>false</BuildIn>
                    <RegexPatterns>
                      <string>/^\&lt;ARCHITECTURE\&gt;\s+(\w+)/\1/a/ei</string>
                    </RegexPatterns>
                    <Show>true</Show>
                    <TrackCaret>false</TrackCaret>
                    <IconFilename />
                    <ForeColor>-16777216</ForeColor>
                  </TagType>
                </value>
              </item>
              <item>
                <key>
                  <string>c</string>
                </key>
                <value>
                  <TagType>
                    <Description>constant declarations</Description>
                    <BuildIn>true</BuildIn>
                    <RegexPatterns />
                    <Show>true</Show>
                    <TrackCaret>false</TrackCaret>
                    <IconFilename />
                    <ForeColor>0</ForeColor>
                  </TagType>
                </value>
              </item>
              <item>
                <key>
                  <string>r</string>
                </key>
                <value>
                  <TagType>
                    <Description>record names</Description>
                    <BuildIn>true</BuildIn>
                    <RegexPatterns />
                    <Show>true</Show>
                    <TrackCaret>false</TrackCaret>
                    <IconFilename />
                    <ForeColor>0</ForeColor>
                  </TagType>
                </value>
              </item>
              <item>
                <key>
                  <string>t</string>
                </key>
                <value>
                  <TagType>
                    <Description>type definitions</Description>
                    <BuildIn>true</BuildIn>
                    <RegexPatterns />
                    <Show>true</Show>
                    <TrackCaret>false</TrackCaret>
                    <IconFilename />
                    <ForeColor>0</ForeColor>
                  </TagType>
                </value>
              </item>
              <item>
                <key>
                  <string>T</string>
                </key>
                <value>
                  <TagType>
                    <Description>subtype definitions</Description>
                    <BuildIn>true</BuildIn>
                    <RegexPatterns />
                    <Show>true</Show>
                    <TrackCaret>false</TrackCaret>
                    <IconFilename />
                    <ForeColor>0</ForeColor>
                  </TagType>
                </value>
              </item>
              <item>
                <key>
                  <string>s</string>
                </key>
                <value>
                  <TagType>
                    <Description>Signals</Description>
                    <BuildIn>false</BuildIn>
                    <RegexPatterns>
                      <string>/^\s*signal\s+(\w+)/\1/s/ei</string>
                    </RegexPatterns>
                    <Show>true</Show>
                    <TrackCaret>false</TrackCaret>
                    <IconFilename />
                    <ForeColor>-16777216</ForeColor>
                  </TagType>
                </value>
              </item>
              <item>
                <key>
                  <string>C</string>
                </key>
                <value>
                  <TagType>
                    <Description>component declarations [off]</Description>
                    <BuildIn>true</BuildIn>
                    <RegexPatterns />
                    <Show>true</Show>
                    <TrackCaret>false</TrackCaret>
                    <IconFilename />
                    <ForeColor>0</ForeColor>
                  </TagType>
                </value>
              </item>
              <item>
                <key>
                  <string>d</string>
                </key>
                <value>
                  <TagType>
                    <Description>prototypes [off]</Description>
                    <BuildIn>true</BuildIn>
                    <RegexPatterns />
                    <Show>true</Show>
                    <TrackCaret>false</TrackCaret>
                    <IconFilename />
                    <ForeColor>0</ForeColor>
                  </TagType>
                </value>
              </item>
              <item>
                <key>
                  <string>f</string>
                </key>
                <value>
                  <TagType>
                    <Description>function prototypes and declarations</Description>
                    <BuildIn>true</BuildIn>
                    <RegexPatterns />
                    <Show>true</Show>
                    <TrackCaret>false</TrackCaret>
                    <IconFilename />
                    <ForeColor>0</ForeColor>
                  </TagType>
                </value>
              </item>
              <item>
                <key>
                  <string>p</string>
                </key>
                <value>
                  <TagType>
                    <Description>procedure prototypes and declarations</Description>
                    <BuildIn>true</BuildIn>
                    <RegexPatterns />
                    <Show>true</Show>
                    <TrackCaret>false</TrackCaret>
                    <IconFilename />
                    <ForeColor>0</ForeColor>
                  </TagType>
                </value>
              </item>
              <item>
                <key>
                  <string>l</string>
                </key>
                <value>
                  <TagType>
                    <Description>local definitions [off]</Description>
                    <BuildIn>true</BuildIn>
                    <RegexPatterns />
                    <Show>true</Show>
                    <TrackCaret>false</TrackCaret>
                    <IconFilename />
                    <ForeColor>0</ForeColor>
                  </TagType>
                </value>
              </item>
              <item>
                <key>
                  <string>u</string>
                </key>
                <value>
                  <TagType>
                    <Description>Process</Description>
                    <BuildIn>false</BuildIn>
                    <RegexPatterns>
                      <string>/^\s*(\w+)\s*:\s*process/\1/u/ei</string>
                      <string>/^\s*process/unamed process/u/ei</string>
                    </RegexPatterns>
                    <Show>true</Show>
                    <TrackCaret>false</TrackCaret>
                    <IconFilename />
                    <ForeColor>-16777216</ForeColor>
                  </TagType>
                </value>
              </item>
              <item>
                <key>
                  <string>B</string>
                </key>
                <value>
                  <TagType>
                    <Description>Blocks</Description>
                    <BuildIn>false</BuildIn>
                    <RegexPatterns>
                      <string>/^\s*(\w+)\s*:\s*block/\1/B/ei</string>
                      <string>/^\s*block/unamed_block/B/ei</string>
                    </RegexPatterns>
                    <Show>true</Show>
                    <TrackCaret>false</TrackCaret>
                    <IconFilename />
                    <ForeColor>-16777216</ForeColor>
                  </TagType>
                </value>
              </item>
              <item>
                <key>
                  <string>G</string>
                </key>
                <value>
                  <TagType>
                    <Description>Generates</Description>
                    <BuildIn>false</BuildIn>
                    <RegexPatterns>
                      <string>/^\s*(\w+)\s*:\s*generate/\1/G/ei</string>
                    </RegexPatterns>
                    <Show>true</Show>
                    <TrackCaret>false</TrackCaret>
                    <IconFilename />
                    <ForeColor>-16777216</ForeColor>
                  </TagType>
                </value>
              </item>
              <item>
                <key>
                  <string>E</string>
                </key>
                <value>
                  <TagType>
                    <Description>Entity used</Description>
                    <BuildIn>false</BuildIn>
                    <RegexPatterns>
                      <string>/^\s*entity\s+(\w*\.\w+)/\1/E/ei</string>
                      <string>/(\w+)\s*:\s*entity\s+(\w*\.\w+)/\1 : \2/E/ei</string>
                    </RegexPatterns>
                    <Show>true</Show>
                    <TrackCaret>false</TrackCaret>
                    <IconFilename />
                    <ForeColor>-16777216</ForeColor>
                  </TagType>
                </value>
              </item>
            </TagTypes>
          </Language>
        </value>
      </item>
    </SerializableDictionaryOfStringLanguage>
    

    Not fully tested and might not works on all VHDL