Commit 5dbd521a authored by Andrey Filippov's avatar Andrey Filippov

synchronized to vdt_plugin

parent f7ccdb40
...@@ -88,6 +88,10 @@ ...@@ -88,6 +88,10 @@
label="Report post-implementation timing" label="Report post-implementation timing"
icon="clock.png" icon="clock.png"
call="ISETracePAR"/> call="ISETracePAR"/>
<menuitem name="ISEReportGen"
label="Generate reports"
icon="source_attach_attrib.gif"
call="ISEReportGen"/>
<menuitem name="ISEBitgen" <menuitem name="ISEBitgen"
label="Generate bitstream file(s)n" label="Generate bitstream file(s)n"
icon="bitstream.png" icon="bitstream.png"
......
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
sep=" " sep=" "
prompt="@@FINISH@@" prompt="@@FINISH@@"
success="@@FINISH@@" success="@@FINISH@@"
failure="ERROR" failure="ERROR:"
log="" log=""
stdout="parser_ISE"> stdout="parser_ISE">
"mkdir -p" "mkdir -p"
......
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
dest="ISEConsole" dest="ISEConsole"
mark="``" mark="``"
sep=" " sep=" "
failure="ERROR" failure="ERROR:"
prompt="@@FINISH@@" prompt="@@FINISH@@"
log=""> log="">
"cd ~/%ISEWorkspace\n" "cd ~/%ISEWorkspace\n"
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
mark="``" mark="``"
sep=" " sep=" "
prompt="@@FINISH@@" prompt="@@FINISH@@"
failure="ERROR" failure="ERROR:"
log=""> log="">
"cd ~/%ISEWorkspace\n" "cd ~/%ISEWorkspace\n"
<!-- Remove old snapshot if it exists (unlikely as it includes timestamp?) --> <!-- Remove old snapshot if it exists (unlikely as it includes timestamp?) -->
......
...@@ -312,7 +312,7 @@ ...@@ -312,7 +312,7 @@
sep=" " sep=" "
prompt="@@FINISH@@" prompt="@@FINISH@@"
success="@@FINISH@@" success="@@FINISH@@"
failure="ERROR" failure="ERROR:"
log="" log=""
stdout="parser_ISE"> stdout="parser_ISE">
"mkdir -p" "mkdir -p"
...@@ -341,7 +341,8 @@ ...@@ -341,7 +341,8 @@
"%pack_registers_iob" "%pack_registers_iob"
"%register_duplication" "%register_duplication"
"%register_ordering" "%register_ordering"
"%smartguide" "%smartguide"
<!-- "%speed_grade" -->
"%placer_cost_table" "%placer_cost_table"
"%timing" "%timing"
"%do_not_remove_unused" "%do_not_remove_unused"
......
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
sep=" " sep=" "
prompt="@@FINISH@@" prompt="@@FINISH@@"
success="@@FINISH@@" success="@@FINISH@@"
failure="ERROR" failure="ERROR:"
log="" log=""
stdout="parser_ISE"> stdout="parser_ISE">
"mkdir -p" "mkdir -p"
......
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
sep=" " sep=" "
prompt="@@FINISH@@" prompt="@@FINISH@@"
success="@@FINISH@@" success="@@FINISH@@"
failure="ERROR" failure="ERROR:"
log="" log=""
stdout="parser_ISE"> stdout="parser_ISE">
"mkdir -p" "mkdir -p"
...@@ -231,7 +231,8 @@ ...@@ -231,7 +231,8 @@
"%power" "%power"
"%no_routing" "%no_routing"
"%router_effor_level" "%router_effor_level"
"%smartguide" "%smartguide"
<!-- "%speed_grade" -->
"%placer_cost_table" "%placer_cost_table"
"%overwrite" "%overwrite"
"%performance_evaluation" "%performance_evaluation"
......
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
sep=" " sep=" "
prompt="@@FINISH@@" prompt="@@FINISH@@"
success="@@FINISH@@" success="@@FINISH@@"
failure="ERROR" failure="ERROR:"
log="" log=""
stdout="parser_ISE"> stdout="parser_ISE">
"mkdir -p" "mkdir -p"
......
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*******************************************************************************
* Copyright (c) 2014 Elphel, Inc.
* This file is a part of VDT plug-in.
* VDT plug-in is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* VDT plug-in is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Additional permission under GNU GPL version 3 section 7:
* If you modify this Program, or any covered work, by linking or combining it
* with Eclipse or Eclipse plugins (or a modified version of those libraries),
* containing parts covered by the terms of EPL/CPL, the licensors of this
* Program grant you additional permission to convey the resulting work.
* {Corresponding Source for a non-source form of such a combination shall
* include the source code for the parts of Eclipse or Eclipse plugins used
* as well as that of the covered work.}
*******************************************************************************/
-->
<vdt-project>
<interface name="ISEReportInterface" extends="ISEInterface">
<typedef name="PadType">
<paramtype kind= "enum" base="String">
<item value= "all" label="All pads reports"/>
<item value= "csv" label="Generate CSV (spreadsheet) output file"/>
<item value= "pad" label="Generate *.pad file"/>
<item value= "text" label="Generate a plain text pad report"/>
</paramtype>
</typedef>
</interface>
<tool name="ISEReportGen" label="run ReportGen"
project="FPGA_project"
interface="ISEReportInterface"
package="FPGA_package"
shell="/bin/bash"
description="Run ReportGen"
log-dir="ISELogDir"
state-dir="ISELocalDir"
disable="DisableISEReportGen"
abstract="false"
inherits="ISEToolPrototype"
priority="0.5"
>
<action-menu>
<action label="Generate mapping reports" resource="" icon="source_attach_attrib.gif" />
</action-menu>
<depends-list>
<!-- <depends state="ISESnapshotMap"/> -->
<depends state="ISESnapshotPAR"/>
</depends-list>
<parameter id="DisableISEReportGen" label="Disable" tooltip="Disable reports generation"
default="true" type= "Boolean" format="None"/>
<parameter id="input_file" label="Design file name" tooltip= "Input design file name (*.ncd)"
default="%%ProjectName.ncd" visible="true" type="String" format="CopyValue"/>
<!-- ReportGen options -->
<parameter id="clock_regions" label="Clock regions"
tooltip="Generate a clock region report"
default="false" omit="false" type= "Boolean" format="DashName"/>
<parameter id="delay" label="Delay report"
tooltip="Generate a delay report"
default="false" omit="false" type= "Boolean" format="DashName"/>
<parameter id="pad" label="Pads report"
tooltip="Generates a pad report file. You can modify this command by using padfmt and/or padsortcol."
default="false" omit="false" type= "Boolean" format="DashName"/>
<parameter id="padfmt" label="Pad format" tooltip= "Select report format. Requires -pad option."
default="all" visible="true" omit="" type="PadType" format="Dash"/>
<parameter id="padsortcol" label="Sort/columns" tooltip= "Specify which columns to show and sort order: 1, 3:5, 8 - show 3,4,5,8 sort by 1. Requiress -pad"
default="" visible="true" omit="" type="String" format="Dash"/>
<parameter id="unrouted_nets" label="Unrouted nets"
tooltip="Generates an unrouted networks report."
default="false" omit="false" type= "Boolean" format="DashName"/>
<input>
<group name="General options">
"DisableISEReportGen"
"input_file"
"clock_regions"
"delay"
"pad"
"padfmt"
"padsortcol"
"unrouted_nets"
</group>
</input>
<output>
<line name="ise_run_reportgen"
dest="ISEConsole"
mark="``"
sep=" "
prompt="@@FINISH@@"
success="@@FINISH@@"
failure="ERROR:"
log=""
stdout="parser_ISE">
"mkdir -p"
"~/%ISEProjectRoot/%ISERemoteDir"
"\n"
"cd ~/%ISEProjectRoot\n"
"%ISEBinAbsolutePath/reportgen"
<!-- reportgen command options -->
"%clock_regions"
"%delay"
"%pad"
<if pad="true">
"%padfmt"
"%padsortcol"
</if>
"%unrouted_nets"
"%input_file"
"\n"
"echo \"@@FINISH@@\"\n"
</line>
<!-- TODO: copy results -->
<line name="ise_copy_after_reportgen">
"-c"
"mkdir -p %ISELocalResultDir ;"
"echo \" *** ignore missing files below ***\";"
"rsync -avr -e ssh"
"%RemoteUser@%RemoteHost:%ISEProjectRoot/*.dly"
"%RemoteUser@%RemoteHost:%ISEProjectRoot/*.pad"
"%RemoteUser@%RemoteHost:%ISEProjectRoot/*.csv"
"%RemoteUser@%RemoteHost:%ISEProjectRoot/*.txt"
"%ISELocalResultDir/"
</line>
</output>
</tool>
</vdt-project>
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
sep=" " sep=" "
prompt="@@FINISH@@" prompt="@@FINISH@@"
success="@@FINISH@@" success="@@FINISH@@"
failure="ERROR" failure="ERROR:"
log="" log=""
stdout="parser_ISE"> stdout="parser_ISE">
"mkdir -p" "mkdir -p"
......
...@@ -463,7 +463,7 @@ ...@@ -463,7 +463,7 @@
<parameter id="cross_clock_analysis" label="Cross clock analysis" tooltip= "Perform inter-clock domain analysis during timing optimization" <parameter id="cross_clock_analysis" label="Cross clock analysis" tooltip= "Perform inter-clock domain analysis during timing optimization"
default="false" visible="true" omit="false" type="BoolYesNo" format="Dash"/> default="false" visible="true" omit="false" type="BoolYesNo" format="Dash"/>
<parameter id="write_timing_constraints" label="Write timing constraints" tooltip= "Write timing constraints to the NGC file" <parameter id="write_timing_constraints" label="Write timing constraints" tooltip= "Write timing constraints to the NGC file"
default="false" visible="true" omit="false" type="BoolYesNo" format="Dash"/> default="true" visible="true" omit="false" type="BoolYesNo" format="Dash"/>
<!-- set option --> <!-- set option -->
<parameter id="tmpdir" label="TMP directory" tooltip= "temporary directory (clean up regularly)" <parameter id="tmpdir" label="TMP directory" tooltip= "temporary directory (clean up regularly)"
default="/tmp" visible="true" omit="/tmp" type="String" format="Dash"/> default="/tmp" visible="true" omit="/tmp" type="String" format="Dash"/>
...@@ -694,7 +694,7 @@ ...@@ -694,7 +694,7 @@
sep=" " sep=" "
prompt="@@FINISH@@" prompt="@@FINISH@@"
success="@@FINISH@@" success="@@FINISH@@"
failure="ERROR" failure="ERROR:"
log="" log=""
stdout="parser_ISE"> stdout="parser_ISE">
"mkdir -p" "mkdir -p"
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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