Commit c6438e0a authored by Andrey Filippov's avatar Andrey Filippov

changed parser to python-based

parent e72c8dd2
......@@ -70,7 +70,9 @@
<parameter id="verbose_bit" outid="verbose" label="Verbose" tooltip= "Temporarily override message limits set with set_msg_config"
default="false" visible="true" omit="false" type="Boolean" format="DashName"/>
<!-- parser parameters - will have different values than the base tool -->
<!-- parser parameters - will have different values than the base tool -->
<parameter id="parsers_path"/>
<parameter id="parser_name"/>
<parameter id="PatternErrors"/>
<parameter id="PatternWarnings"/>
<parameter id="PatternInfo"/>
......
......@@ -86,7 +86,9 @@
default="false" visible="true" omit="false" type="Boolean" format="DashName"/>
<parameter id="verbose_opt" outid="verbose" label="verbose" tooltip= "Temporarily override message limits set with set_msg_config"
default="false" visible="true" omit="False" type="Boolean" format="DashName"/>
<!-- parser parameters - will have different values than the base tool -->
<!-- parser parameters - will have different values than the base tool -->
<parameter id="parsers_path"/>
<parameter id="parser_name"/>
<parameter id="PatternErrors"/>
<parameter id="PatternWarnings"/>
<parameter id="PatternInfo"/>
......
......@@ -99,7 +99,9 @@
<parameter id="verbose_phys_opt" outid="verbose" label="Verbose" tooltip= "Temporarily override message limits set with set_msg_config"
default="false" visible="true" omit="false" type="Boolean" format="DashName"/>
<!-- parser parameters - will have different values than the base tool -->
<!-- parser parameters - will have different values than the base tool -->
<parameter id="parsers_path"/>
<parameter id="parser_name"/>
<parameter id="PatternErrors"/>
<parameter id="PatternWarnings"/>
<parameter id="PatternInfo"/>
......
......@@ -181,7 +181,9 @@
<parameter id="verbose_phys_opt" outid="verbose" label="Verbose" tooltip= "Temporarily override message limits set with set_msg_config"
default="false" visible="true" omit="false" type="Boolean" format="DashName"/>
<!-- parser parameters - will have different values than the base tool -->
<!-- parser parameters - will have different values than the base tool -->
<parameter id="parsers_path"/>
<parameter id="parser_name"/>
<parameter id="PatternErrors"/>
<parameter id="PatternWarnings"/>
<parameter id="PatternInfo"/>
......
......@@ -55,7 +55,9 @@
<parameter id="verbose_pwr_opt" outid="verbose" label="Verbose" tooltip= "Temporarily override message limits set with set_msg_config"
default="false" visible="true" omit="false" type="Boolean" format="DashName"/>
<!-- parser parameters - will have different values than the base tool -->
<!-- parser parameters - will have different values than the base tool -->
<parameter id="parsers_path"/>
<parameter id="parser_name"/>
<parameter id="PatternErrors"/>
<parameter id="PatternWarnings"/>
<parameter id="PatternInfo"/>
......
......@@ -94,7 +94,9 @@
<parameter id="verbose_place" outid="verbose" label="Verbose" tooltip= "Temporarily override message limits set with set_msg_config"
default="false" visible="true" omit="false" type="Boolean" format="DashName"/>
<!-- parser parameters - will have different values than the base tool -->
<!-- parser parameters - will have different values than the base tool -->
<parameter id="parsers_path"/>
<parameter id="parser_name"/>
<parameter id="PatternErrors"/>
<parameter id="PatternWarnings"/>
<parameter id="PatternInfo"/>
......
......@@ -77,10 +77,18 @@
default="grep --line-buffered -E 'ERROR%PreGrepW%PreGrepI'"
type="String" format="CopyValue"
visible="true" readonly="true"/>
<parameter id="parsers_path" label="Parsers Path" tooltip= "parsers directory in plugins"
default="%%ParsersPath" visible="true" omit="" type="String" format="CopyValue"/>
<parameter id="parser_name" label="Vivado parser name" tooltip= "Vivado output parser script path"
default="parser_vivado.py" visible="true" omit="" type="String" format="CopyValue"/>
<input>
<group name="Parser"
weight="10">
weight="10">
"parsers_path"
"parser_name"
"---"
"ShowWarnings"
"ShowInfo"
"GrepEWI"
......@@ -109,7 +117,8 @@
warnings= "PatternWarnings"
info= "PatternInfo">
"-c"
"%GrepEWI"
"python -u %parsers_path%parser_name %%ToolName | "
"%GrepEWI"
"| %VivadoSedPaths"
<if NoBabyTalk="true">
"| grep --line-buffered -v \"license\""
......
......@@ -99,7 +99,9 @@
<parameter id="verbose_route" outid="verbose" label="Verbose" tooltip= "Temporarily override message limits set with set_msg_config"
default="false" visible="true" omit="false" type="Boolean" format="DashName"/>
<!-- parser parameters - will have different values than the base tool -->
<!-- parser parameters - will have different values than the base tool -->
<parameter id="parsers_path"/>
<parameter id="parser_name"/>
<parameter id="PatternErrors"/>
<parameter id="PatternWarnings"/>
<parameter id="PatternInfo"/>
......
......@@ -172,7 +172,9 @@
<parameter id="VivadoSynthActionIndex" default="%%ChosenActionIndex"
type="String" format="CopyValue" visible="false" />
<!-- parser parameters - will have different values than the base tool -->
<!-- parser parameters - will have different values than the base tool -->
<parameter id="parsers_path"/>
<parameter id="parser_name"/>
<parameter id="PatternErrors"/>
<parameter id="PatternWarnings"/>
<parameter id="PatternInfo"/>
......@@ -269,7 +271,9 @@
"set outputDir ~/%VivadoProjectRoot/%VivadoRemoteDir\n"
<if ResetProject="true">
"reset_project -quiet\n"
</if>
</if>
<!-- Increase number of warning lines, filter them separately. TODO: add configuration parameter -->
"set_msg_config -severity WARNING -limit 1000\n"
"file mkdir $outputDir\n"
"read_verilog "
"%FilteredSourceListPar\n"
......
......@@ -51,7 +51,9 @@
<!-- same value as %file, but will appear withou "-file" prefix -->
<parameter id="file" default="%VivadoRemoteDir/%rawfile" visible="false" omit="" type="String" format="Dash"/>
<!-- parser parameters - will have different values than the base tool -->
<!-- parser parameters - will have different values than the base tool -->
<parameter id="parsers_path"/>
<parameter id="parser_name"/>
<parameter id="PatternErrors"/>
<parameter id="PatternWarnings"/>
<parameter id="PatternInfo"/>
......
......@@ -197,7 +197,9 @@
<parameter id="verbose" outid="verbose" label="Verbose" tooltip= "Temporarily override message limits set with set_msg_config"
default="false" visible="true" omit="false" type="Boolean" format="DashName"/>
<!-- parser parameters - will have different values than the base tool -->
<!-- parser parameters - will have different values than the base tool -->
<parameter id="parsers_path"/>
<parameter id="parser_name"/>
<parameter id="PatternErrors"/>
<parameter id="PatternWarnings"/>
<parameter id="PatternInfo"/>
......
......@@ -26,7 +26,6 @@
inherits="VivadoReportTimingSummary"
shell="/bin/bash"
description="Report post-implementation timimg summary"
disable="DisableVivadoTimingSummary"
>
<depends-list>
<depends state="SnapshotRoute"/>
......@@ -35,8 +34,7 @@
<action-menu>
<action label="Report post-implementation timing summary" resource="" icon="clock_sum.png" />
</action-menu>
<parameter id="DisableVivadoTimingSummary" label="Disable" tooltip="Disable post-implementation timing summary report"
default="false" type= "Boolean" format="None"/>
<parameter id="DisableVivadoTimingSummary"/>
<!-- TODO Add (copy from proto) parameters that should be different for post and pre routing.
Or add more derivative reports. -->
......
......@@ -50,7 +50,8 @@
shell="/bin/bash"
description="Report timing summary"
log-dir="VivadoLogDir"
state-dir="VivadoLocalDir"
state-dir="VivadoLocalDir"
disable="DisableVivadoTimingSummary"
abstract="true"
inherits="VivadoToolPrototype"
priority="0.4"
......@@ -59,6 +60,9 @@
<action label="Report timing summary" resource="" icon="clock_sum.png" />
</action-menu>
<parameter id="DisableVivadoTimingSummary" label="Disable" tooltip="Disable timing report"
default="false" type= "Boolean" format="None"/>
<parameter id="SkipTCL" label="Skip TCL commands" tooltip="Do not run pre-timing summary TCL commands"
default="false" type= "Boolean" format="None"/>
......@@ -118,7 +122,9 @@
<parameter id="verbose" outid="verbose" label="Verbose" tooltip= "Temporarily override message limits set with set_msg_config"
default="false" visible="true" omit="false" type="Boolean" format="DashName"/>
<!-- parser parameters - will have different values than the base tool -->
<!-- parser parameters - will have different values than the base tool -->
<parameter id="parsers_path"/>
<parameter id="parser_name"/>
<parameter id="PatternErrors"/>
<parameter id="PatternWarnings"/>
<parameter id="PatternInfo"/>
......@@ -146,7 +152,8 @@
<parameter id="file" default="%VivadoRemoteDir/%rawfile" visible="false" omit="" type="String" format="Dash"/>
<input>
<group name="General">
<group name="General">
"DisableVivadoTimingSummary"
"SkipTCL"
</group>
<group name="TCL commands">
......
......@@ -26,7 +26,6 @@
inherits="VivadoReportTimingSummary"
shell="/bin/bash"
description="Report post-synthesis timimg summary"
disable="DisableVivadoTimingSummary"
>
<depends-list>
<depends state="SnapshotSynth"/>
......@@ -34,7 +33,8 @@
<action-menu>
<action label="Report post-synthesis timing summary" resource="" icon="clock_sum.png" />
</action-menu>
</action-menu>
<parameter id="DisableVivadoTimingSummary"/>
<parameter id="DisableVivadoTimingSummary" label="Disable" tooltip="Disable post-synthesis timing summary report"
default="false" type= "Boolean" format="None"/>
......
......@@ -52,7 +52,9 @@
<!-- same value as %file, but will appear withou "-file" prefix -->
<parameter id="file" default="%VivadoRemoteDir/%rawfile" visible="false" omit="" type="String" format="Dash"/>
<!-- parser parameters - will have different values than the base tool -->
<!-- parser parameters - will have different values than the base tool -->
<parameter id="parsers_path"/>
<parameter id="parser_name"/>
<parameter id="PatternErrors"/>
<parameter id="PatternWarnings"/>
<parameter id="PatternInfo"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment