Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vdt-plugin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
vdt-plugin
Commits
1e47ffcc
Commit
1e47ffcc
authored
Mar 10, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Started ISE XST tool
parent
4ab58c67
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
795 additions
and
27 deletions
+795
-27
SelectedResourceManager.java
src/com/elphel/vdt/ui/variables/SelectedResourceManager.java
+2
-1
DesignFlowView.java
src/com/elphel/vdt/ui/views/DesignFlowView.java
+10
-7
BasicInterface.xml
tools/BasicInterface.xml
+1
-0
DesignMenu.xml
tools/DesignMenu.xml
+4
-1
FPGA_project.xml
tools/FPGA_project.xml
+6
-6
ise_interface.xml
tools/Xilinx_ISE/ise_interface.xml
+9
-0
ise_partgen.xml
tools/Xilinx_ISE/ise_partgen.xml
+13
-2
ise_proto.xml
tools/Xilinx_ISE/ise_proto.xml
+6
-6
ise_xst.xml
tools/Xilinx_ISE/ise_xst.xml
+744
-0
vivado_synthesis.xml
tools/Xilinx_Vivado/vivado_synthesis.xml
+0
-4
No files found.
src/com/elphel/vdt/ui/variables/SelectedResourceManager.java
View file @
1e47ffcc
...
...
@@ -263,7 +263,8 @@ public class SelectedResourceManager implements IWindowListener, ISelectionListe
if
(
VerilogPlugin
.
getPreferenceBoolean
(
PreferenceStrings
.
DEBUG_OTHER
))
System
.
out
.
println
(
"Updated fSelectedVerilogFile: "
+
fSelectedVerilogFile
);
}
else
{
System
.
out
.
println
(
selectedResource
+
" is not a file or not an HDL file"
);
if
(
VerilogPlugin
.
getPreferenceBoolean
(
PreferenceStrings
.
DEBUG_OTHER
))
System
.
out
.
println
(
selectedResource
+
" is not a file or not an HDL file"
);
}
}
...
...
src/com/elphel/vdt/ui/views/DesignFlowView.java
View file @
1e47ffcc
...
...
@@ -21,7 +21,7 @@ import java.util.List;
import
java.util.Map
;
import
org.eclipse.swt.widgets.Composite
;
import
org.eclipse.swt.widgets.Display
;
import
org.eclipse.swt.widgets.Event
;
import
org.eclipse.swt.widgets.Listener
;
import
org.eclipse.swt.widgets.Shell
;
...
...
@@ -104,7 +104,7 @@ public class DesignFlowView extends ViewPart implements ISelectionListener {
private
static
final
String
TAG_LINKED_TOOLS
=
"LinkedTools"
;
private
TreeViewer
viewer
;
private
DrillDownAdapter
drillDownAdapter
;
//
private DrillDownAdapter drillDownAdapter;
private
Action
showLaunchConfigAction
;
// private Action launchAction;
...
...
@@ -154,7 +154,7 @@ public class DesignFlowView extends ViewPart implements ISelectionListener {
IDoubleClickListener
doubleClickListener
=
null
;
private
Action
[]
launchActions
;
private
ToolSequence
toolSequence
=
null
;
private
Composite
compositeParent
;
//
private Composite compositeParent;
/**
* The constructor.
*/
...
...
@@ -201,9 +201,9 @@ public class DesignFlowView extends ViewPart implements ISelectionListener {
if
(
VerilogPlugin
.
getPreferenceBoolean
(
PreferenceStrings
.
DEBUG_OTHER
))
System
.
out
.
println
(
"+++++ createPartControl()"
);
compositeParent
=
parent
;
// will it help to re-draw
//
compositeParent=parent; // will it help to re-draw
viewer
=
new
TreeViewer
(
parent
,
SWT
.
SINGLE
|
SWT
.
H_SCROLL
|
SWT
.
V_SCROLL
);
drillDownAdapter
=
new
DrillDownAdapter
(
viewer
);
//
drillDownAdapter = new DrillDownAdapter(viewer);
viewer
.
setContentProvider
(
new
ViewContentProvider
());
viewer
.
setLabelProvider
(
new
ViewLabelProvider
());
...
...
@@ -1109,7 +1109,9 @@ public class DesignFlowView extends ViewPart implements ISelectionListener {
Object
obj
=
((
IStructuredSelection
)
selection
).
getFirstElement
();
selectedItem
=
(
DesignMenuModel
.
Item
)
obj
;
if
(
selectedResource
==
null
)
selectedResource
=
SelectedResourceManager
.
getDefault
().
getViewSelectedResource
(
IPageLayout
.
ID_RES_NAV
);
// selectedResource = SelectedResourceManager.getDefault().getViewSelectedResource(IPageLayout.ID_RES_NAV);
selectedResource
=
SelectedResourceManager
.
getDefault
().
getViewSelectedResource
(
IPageLayout
.
ID_PROJECT_EXPLORER
);
//
updateLaunchAction
();
}
}
// class ToolSelectionChangedListener
...
...
@@ -1362,7 +1364,8 @@ public class DesignFlowView extends ViewPart implements ISelectionListener {
if
(
selectedResource
!=
null
)
{
String
location
=
selectedResource
.
getFullPath
().
toPortableString
();
memento
.
putString
(
TAG_SELECTED_RESOURCE
,
location
);
System
.
out
.
println
(
"saveState(memento): selectedResource="
+
selectedResource
);
if
(
VerilogPlugin
.
getPreferenceBoolean
(
PreferenceStrings
.
DEBUG_OTHER
))
System
.
out
.
println
(
"saveState(memento): selectedResource="
+
selectedResource
);
}
IResource
HDLFile
=
SelectedResourceManager
.
getDefault
().
getChosenVerilogFile
();
if
(
HDLFile
!=
null
){
...
...
tools/BasicInterface.xml
View file @
1e47ffcc
...
...
@@ -94,6 +94,7 @@
<syntax
name=
"DashListIndividual"
format=
"%(-%%ParamName %%ParamValue%| %)"
/>
<syntax
name=
"DashListCommon"
format=
"-%%ParamName %(%%ParamValue%| %)"
/>
<syntax
name=
"DashName"
format=
" -%%ParamName"
/>
<syntax
name=
"QuotedDash"
format=
' -%%ParamName "%%ParamValue"'
/>
<!--
Does not work according to 2.2.1. "Inside text-repetitor, one and only one pattern-generator is mandatory".
...
...
tools/DesignMenu.xml
View file @
1e47ffcc
...
...
@@ -48,7 +48,10 @@
label=
"Run ISE partgen"
icon=
"bitstream.png"
call=
"ISEPartgen"
/>
<menuitem
name=
"ISESynthesis"
label=
"Synthesize design"
icon=
"Retort.png"
call=
"ISExst"
/>
</menu>
<menu
name=
"Vivado"
...
...
tools/FPGA_project.xml
View file @
1e47ffcc
...
...
@@ -201,17 +201,17 @@
type=
"String"
default=
"vdt_ise"
format=
"RemoteRootSyntax"
readonly=
"false"
/>
<parameter
id=
"ISERemoteDir"
label=
"Remote ISE directory"
tooltip=
"Remote ISE output subdirectroy for snapshot and result files"
type=
"Pathname"
default=
"
vivado
_build"
format=
"CopyValue"
readonly=
"false"
/>
type=
"Pathname"
default=
"
ise
_build"
format=
"CopyValue"
readonly=
"false"
/>
<parameter
id=
"ISELocalDir"
label=
"Local ISE directory"
tooltip=
"Local project subdirectroy for Xilinx ISE snapshot files"
type=
"Pathname"
default=
"
vivado
_state"
format=
"CopyValue"
readonly=
"false"
/>
type=
"Pathname"
default=
"
ise
_state"
format=
"CopyValue"
readonly=
"false"
/>
<parameter
id=
"ISELocalResultDir"
label=
"Local ISE results directory"
tooltip=
"Local project subdirectroy for Xilinx ISE generated result files"
type=
"Pathname"
default=
"
vivado
_results"
format=
"CopyValue"
readonly=
"false"
/>
type=
"Pathname"
default=
"
ise
_results"
format=
"CopyValue"
readonly=
"false"
/>
<parameter
id=
"ISELogDir"
label=
"Local ISE tool logs directory"
tooltip=
"Local project subdirectroy for Xilinx ISE tools log files"
type=
"Pathname"
default=
"
vivado
_logs"
format=
"CopyValue"
readonly=
"false"
/>
type=
"Pathname"
default=
"
ise
_logs"
format=
"CopyValue"
readonly=
"false"
/>
<parameter
id=
"ISEIgnoreSource"
label=
"Ignore source files"
tooltip=
"Pattern to ignore source files that match this regular expression"
type=
"String"
default=
".*unisims.*"
format=
"CopyValue"
readonly=
"false"
/>
...
...
@@ -306,16 +306,16 @@
<parameter
id=
"ISESedPaths"
type=
"String"
format=
"CopyValue"
label=
"sed command line"
tooltip=
"Remote file prefix to be removed for the local error parser when running ISE tools"
default=
"sed -u 's@/home/%RemoteUser/%
Vivado
ProjectRoot/%%ProjectName/@@'"
/>
default=
"sed -u 's@/home/%RemoteUser/%
ISE
ProjectRoot/%%ProjectName/@@'"
/>
<input>
<group
name=
"Genaral"
label=
"General parameters"
>
"part"
"ImplementationTopFile"
</group>
<group
name=
"Simulation"
label=
"Simulation properties"
>
"SimulationTopFile"
"SimulationTopModule"
"ImplementationTopFile"
"SimulDir"
</group>
...
...
tools/Xilinx_ISE/ise_interface.xml
View file @
1e47ffcc
...
...
@@ -11,7 +11,16 @@
<item
value=
"silent"
label=
"Only errors and warnings are output"
/>
</paramtype>
</typedef>
<typedef
name =
"Cardinal_M1_100"
>
<paramtype
kind=
"number"
lo=
"-1"
hi=
"100"
format=
"%d"
/>
</typedef>
<syntax
name=
"DashNamePart"
format=
"-%%ParamName %part"
/>
<syntax
name=
"DashListQuoted"
format=
'-%%ParamName "%(%%ParamValue%| %)"'
/>
<syntax
name=
"DashListBraced"
format=
"-%%ParamName {%(%%ParamValue%| %)}"
/>
<!-- <syntax name="QuietSyntax" format=" -quiet" />
...
...
tools/Xilinx_ISE/ise_partgen.xml
View file @
1e47ffcc
...
...
@@ -66,9 +66,9 @@
log=
""
stdout=
"parser_ISE"
>
"mkdir -p"
"~/%ISEProjectRoot"
"~/%ISEProjectRoot
/%ISERemoteDir
"
"\n"
"cd ~/%ISEProjectRoot\n"
"cd ~/%ISEProjectRoot
/%ISERemoteDir
\n"
"%ISEBinAbsolutePath/partgen"
"%p_option"
"%v_option"
...
...
@@ -83,6 +83,17 @@
"echo \"@@FINISH@@\"\n"
</line>
<!-- TODO: copy results -->
<line
name=
"ise_copy_after_partgen"
>
"-c"
"mkdir -p %ISELocalResultDir ;"
"rsync -avr -e ssh"
"%RemoteUser@%RemoteHost:%ISEProjectRoot/%ISERemoteDir/partlist.*"
"%RemoteUser@%RemoteHost:%ISEProjectRoot/%ISERemoteDir/*.pkg"
<if
useRedirect=
"true"
>
"%RemoteUser@%RemoteHost:%ISEProjectRoot/%ISERemoteDir/%redirect"
</if>
"%ISELocalResultDir/"
</line>
</output>
</tool>
</vdt-project>
...
...
tools/Xilinx_ISE/ise_proto.xml
View file @
1e47ffcc
...
...
@@ -27,13 +27,13 @@
<!-- parser parameters -->
<!-- TODO: parser is temporarily copied from Vivado, change to ISE -->
<parameter
id=
"PatternErrors"
label=
"Errors"
tooltip=
"Regular expression for error messages"
default=
".*ERROR: (\[.*\].*)\[(.*):([0-9]+)\]"
default=
'ERROR:(\S*).*"(.*)"\s*Line\s*([0-9]+):\s*(\S.*)'
visible=
"true"
type=
"String"
format=
"CopyValue"
/>
<parameter
id=
"PatternWarnings"
label=
"Warnings"
tooltip=
"Regular expression for warnings messages"
default=
".*WARNING: (\[.*\].*)\[(.*):([0-9]+)\]"
default=
'WARNING:(\S*).*"(.*)"\s*Line\s*([0-9]+):\s*(\S.*)'
visible=
"true"
type=
"String"
format=
"CopyValue"
/>
<parameter
id=
"PatternInfo"
label=
"Info"
tooltip=
"Regular expression for info messages"
default=
".*INFO: (\[.*\].*)\[(.*):([0-9]+)\]"
default=
'INFO:(\S*).*"(.*)"\s*Line\s*([0-9]+):\s*(\S.*)'
visible=
"true"
type=
"String"
format=
"CopyValue"
/>
<parameter
id=
"NoFileProblem"
label=
"No-file problems"
tooltip=
"Report problems that do not specify particular source file/line"
default=
"true"
visible=
"true"
omit=
"false"
type=
"Boolean"
format=
"None"
/>
...
...
@@ -67,12 +67,12 @@
type=
"Boolean"
format=
"None"
/>
<parameter
id=
"PreGrepW"
visible=
"false"
type=
"String"
format=
"None"
default=
"?%ShowWarnings=true: |WARNING, "
/>
default=
"?%ShowWarnings=true: |WARNING
:
, "
/>
<parameter
id=
"PreGrepI"
visible=
"false"
type=
"String"
format=
"None"
default=
"?%ShowInfo=true: |INFO, "
/>
default=
"?%ShowInfo=true: |INFO
:
, "
/>
<parameter
id=
"GrepEWI"
label=
"Grep filter"
tooltip=
"Calculated grep filter"
default=
"grep --line-buffered -E 'ERROR%PreGrepW%PreGrepI'"
default=
"grep --line-buffered -E 'ERROR
:
%PreGrepW%PreGrepI'"
type=
"String"
format=
"CopyValue"
visible=
"true"
readonly=
"true"
/>
...
...
tools/Xilinx_ISE/ise_xst.xml
0 → 100644
View file @
1e47ffcc
This diff is collapsed.
Click to expand it.
tools/Xilinx_Vivado/vivado_synthesis.xml
View file @
1e47ffcc
...
...
@@ -86,10 +86,6 @@
<parameter
id=
"ConstraintsFiles"
type=
"Filelist"
format=
"ParamListSyntax"
default=
""
label=
"Constraints files"
tooltip=
"Select constraint files to load to Vivado"
readonly=
"false"
visible=
"true"
/>
<parameter
id=
"ConstraintsFiles"
type=
"Filelist"
format=
"ParamListSyntax"
default=
"%"
label=
"Constraints files"
tooltip=
"Select constraint files to load to Vivado"
readonly=
"false"
visible=
"true"
/>
<parameter
id=
"SkipSnapshotSynth"
label=
"Skip snapshot"
tooltip=
"Do not create snapshot after synthesis"
default=
"false"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment