Commit 9473a405 authored by Andrey Filippov's avatar Andrey Filippov

inor edits, tested with Eclipse Neon

parent c2841e90
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="_generated"/> <classpathentry kind="src" path="_generated"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/> <classpathentry kind="output" path="bin"/>
</classpath> </classpath>
#Tue Sep 04 22:07:00 MDT 2007
eclipse.preferences.version=1 eclipse.preferences.version=1
instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.debug.lineNumber=generate org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
...@@ -58,10 +58,12 @@ sudo apt-get install autoconf gperf flex bison g++ zlib1g-dev libbz2-dev git ...@@ -58,10 +58,12 @@ sudo apt-get install autoconf gperf flex bison g++ zlib1g-dev libbz2-dev git
``` ```
#### Java JDK #### Java JDK
For most tasks JRE is sufficient, but if you would like to be able to modify and recompile Verilog For most tasks JRE is sufficient, but if you would like to be able to modify and recompile Verilog
language parsing you will need java compiler that comes with the full JDK language parsing you will need java compiler that comes with the full JDK.
``` ```
sudo apt-get install default-jdk sudo apt-get install default-jdk
``` ```
### Icarus Verilog ### Icarus Verilog
Icarus Verilog has to be compiled from the source code that is available in git repository: Icarus Verilog has to be compiled from the source code that is available in git repository:
``` ```
...@@ -96,7 +98,8 @@ installation. VDT uses modified version of [VEditor](http://sourceforge.net/proj ...@@ -96,7 +98,8 @@ installation. VDT uses modified version of [VEditor](http://sourceforge.net/proj
and any other versions of VEditor installed will conflict with VDT. and any other versions of VEditor installed will conflict with VDT.
There are still issues with GTK3 (refresh of the windows content, animated icons), all seems There are still issues with GTK3 (refresh of the windows content, animated icons), all seems
to work if Gtk3 is disabled (Gtk2 used instead) by adding the following 2 lines in the eclipse.ini file. to work if Gtk3 is disabled (Gtk2 used instead) by adding the following 2 lines in the eclipse.ini
file (it is in the same directory as eclipse executable) .
``` ```
--launcher.GTK_version --launcher.GTK_version
2 2
...@@ -109,6 +112,14 @@ are added just before line ...@@ -109,6 +112,14 @@ are added just before line
Additionally a fix is required to make menu tooltips visible (https://github.com/dirruk1/gnome-breeze/issues/7#issuecomment-109325330) : Additionally a fix is required to make menu tooltips visible (https://github.com/dirruk1/gnome-breeze/issues/7#issuecomment-109325330) :
«go to system settings > color > options and make sure "apply colors to non-Qt colors" is switched off, then log out and back in and see if the colors are normal. The tooltips are not supposed to have a light background.» «go to system settings > color > options and make sure "apply colors to non-Qt colors" is switched off, then log out and back in and see if the colors are normal. The tooltips are not supposed to have a light background.»
__Update for Eclipse Neon__: Tested, instructions above are still valid (including using GTK2 instead of GTK3),
in the installer the needed _Eclipse IDE for Java EE Developers_ is __the second choice__ in the menu. You also need to
remove the following line in eclipse.ini. By default Neon installs executable and ini file to ~/eclipse/jee-neon/:
-XX:+UseStringDeduplication
As it is not recognized on GNU/Linux (at least on my installation) and causes a crash at startup.
### Installation of VDT plugin itself ### Installation of VDT plugin itself
VDT plugin uses modified VEditor plugin for Eclipse and because of the license incompatibility VDT plugin uses modified VEditor plugin for Eclipse and because of the license incompatibility
......
...@@ -140,8 +140,10 @@ public class VDTRunner { ...@@ -140,8 +140,10 @@ public class VDTRunner {
private void doResumeLaunch(String consoleName, int numItem) throws CoreException { private void doResumeLaunch(String consoleName, int numItem) throws CoreException {
final VDTRunnerConfiguration runConfig=runningBuilds.resumeConfiguration(consoleName); final VDTRunnerConfiguration runConfig=runningBuilds.resumeConfiguration(consoleName);
if (runConfig==null){ if (runConfig==null){
System.out.println("Turned out nothing to do. Probably a bug"); if (VerilogPlugin.getPreferenceBoolean(PreferenceStrings.DEBUG_LAUNCHING)) {
MessageUI.error("Turned out nothing to do. Probably a bug"); System.out.println("Turned out nothing to do. Probably a bug, consoleName = "+consoleName);
MessageUI.error("Turned out nothing to do. Probably a bug, consoleName = "+consoleName);
}
abortLaunch(consoleName); abortLaunch(consoleName);
return; return;
} }
...@@ -339,7 +341,7 @@ public class VDTRunner { ...@@ -339,7 +341,7 @@ public class VDTRunner {
final boolean debugPrint=VerilogPlugin.getPreferenceBoolean(PreferenceStrings.DEBUG_LAUNCHING); final boolean debugPrint=VerilogPlugin.getPreferenceBoolean(PreferenceStrings.DEBUG_LAUNCHING);
if (runConfig==null){ if (runConfig==null){
System.out.println("Turned out nothing to do. Probably a bug"); System.out.println("Turned out nothing to do. Probably a bug, consoleName = "+consoleName);
return; return;
} }
......
...@@ -75,6 +75,7 @@ ...@@ -75,6 +75,7 @@
format="ln -sf %%ParamValue-%%BuildStamp.ivlg %SimulDir/%%ParamValue-latest.ivlg;" /> format="ln -sf %%ParamValue-%%BuildStamp.ivlg %SimulDir/%%ParamValue-latest.ivlg;" />
<syntax name="FstFileLatestSyntax" <syntax name="FstFileLatestSyntax"
format="ln -sf %%ParamValue-%%BuildStamp.fst %SimulDir/%%ParamValue-latest.fst;" /> format="ln -sf %%ParamValue-%%BuildStamp.fst %SimulDir/%%ParamValue-latest.fst;" />
<syntax name="MakefileExport" format="export %%ParamName=%%ParamValue" />
<!-- include file has target, not link value --> <!-- include file has target, not link value -->
...@@ -163,9 +164,11 @@ ...@@ -163,9 +164,11 @@
type="String" format="NameEqValue" default="%%TopModule" type="String" format="NameEqValue" default="%%TopModule"
readonly="true" visible="true" /> readonly="true" visible="true" />
<parameter id="CocotbRANDOM_SEED" outid="RANDOM_SEED" type="LongCardinal" label="Random seed" tooltip="Seed the Python random module to recreate a previous test stimulus. At the beginning of every test a message is displayed with the seed used for that execution." <parameter id="CocotbRANDOM_SEED" outid="RANDOM_SEED" type="LongCardinal" label="Random seed" tooltip="Seed the Python random module to recreate a previous test stimulus. At the beginning of every test a message is displayed with the seed used for that execution."
format="NameEqValue" default="0" omit="0" readonly="false" visible="true" /> format="MakefileExport" default="0" omit="0" readonly="false" visible="true" />
<parameter id="COCOTB_ANSI_OUTPUT" outid="COCOTB_ANSI_OUTPUT" type="Bool_1_0" format="NameEqValue" <parameter id="COCOTB_ANSI_OUTPUT" outid="COCOTB_ANSI_OUTPUT" type="Bool_1_0" format="MakefileExport"
default="false" label="Force ANSI output" tooltip="Use this to override the default behaviour of annotating cocotb output with ANSI colour codes if the output is a terminal (isatty())." /> default="false" omit="false" label="Force ANSI output" tooltip="Use this to override the default behaviour of annotating cocotb output with ANSI colour codes if the output is a terminal (isatty())." />
<parameter id="COCOTB_DEBUG" outid="COCOTB_DEBUG" type="Bool_1_0" format="MakefileExport"
default="false" omit="false" label="Debug" tooltip="Enable debug mode in simulation Python module(s)" />
<parameter id="CocotbMODULE" outid="MODULE" type="Stringlist" label="Simulation Python module(s)" tooltip="The name of the module(s) to search for test functions." <parameter id="CocotbMODULE" outid="MODULE" type="Stringlist" label="Simulation Python module(s)" tooltip="The name of the module(s) to search for test functions."
format="ListEqComma" default="" omit="" readonly="false" visible="true" /> format="ListEqComma" default="" omit="" readonly="false" visible="true" />
<parameter id="CocotbTESTCASE" outid="TESTCASE" type="Stringlist" label="Test funcion(s) to run" tooltip="The name of the test function(s) to run. If this variable is not defined cocotb discovers and executes all functions decorated with @cocotb.test() decorator in the supplied modules." <parameter id="CocotbTESTCASE" outid="TESTCASE" type="Stringlist" label="Test funcion(s) to run" tooltip="The name of the test function(s) to run. If this variable is not defined cocotb discovers and executes all functions decorated with @cocotb.test() decorator in the supplied modules."
...@@ -389,6 +392,7 @@ ...@@ -389,6 +392,7 @@
"CocotbCUSTOM_COMPILE_DEPS" "CocotbCUSTOM_COMPILE_DEPS"
"CocotbCUSTOM_SIM_DEPS" "CocotbCUSTOM_SIM_DEPS"
"CocotbRANDOM_SEED" "CocotbRANDOM_SEED"
"COCOTB_DEBUG"
"COCOTB_ANSI_OUTPUT" "COCOTB_ANSI_OUTPUT"
"CocotbRootRel" "CocotbRootRel"
"MakeCleanPatterns" "MakeCleanPatterns"
...@@ -498,8 +502,12 @@ ...@@ -498,8 +502,12 @@
sep="\n"> sep="\n">
"%ProjectAbsolutePath" "%ProjectAbsolutePath"
"%CocotbDutTopModule" "%CocotbDutTopModule"
"%CocotbMODULE" "export %CocotbMODULE"
"%CocotbTESTCASE" "export %CocotbTESTCASE"
"%CocotbRANDOM_SEED"
"%COCOTB_DEBUG"
"%COCOTB_ANSI_OUTPUT"
"%CocotbVERILOG_SOURCES" "%CocotbVERILOG_SOURCES"
"%CocotbExtraFiles" "%CocotbExtraFiles"
"%CocotbVHDL_SOURCES" "%CocotbVHDL_SOURCES"
...@@ -528,8 +536,6 @@ ...@@ -528,8 +536,6 @@
"CUSTOM_COMPILE_DEPS += $(PROJECT_ROOT)/IVERILOG_INCLUDE.v" "CUSTOM_COMPILE_DEPS += $(PROJECT_ROOT)/IVERILOG_INCLUDE.v"
"%CocotbCUSTOM_SIM_DEPS" "%CocotbCUSTOM_SIM_DEPS"
"%CocotbRANDOM_SEED"
"%COCOTB_ANSI_OUTPUT"
"%CocotbRoot" "%CocotbRoot"
"include $(COCOTB)/makefiles/Makefile.inc" "include $(COCOTB)/makefiles/Makefile.inc"
"include $(COCOTB)/makefiles/Makefile.sim" "include $(COCOTB)/makefiles/Makefile.sim"
......
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