|
JHDL® Frequently Asked Questions
Known Problems
JHDL Version 0.1
This version is not supported at all. Please
upgrade
to a newer version.
JHDL Version 0.2
Version 0.2 is relatively stable, but lacks many, many bug fixes
and new features of the latest release. This version is not available
at this time and barring special circumstances, one should move to the
latest version.
Specfic Problems
- When running the NBitAdderTB example I get the following error:
java.lang.VerifyError: (class: byucc/jhdl/Logic/Logic, method:
placeOutPort signature:
(Lbyucc/jhdl/base/Wire;Lbyucc/jhdl/base/Cell;Lbyucc/jhdl/Logic/Directive;
Lbyucc/jhdl/base/Wire;Lbyucc/jhdl/base/Cell;)V)
Illegal instruction found at offset 52
at NBitAdderTB.(NBitAdderTB.java:16)
at NBitAdderTB.main(NBitAdderTB.java:11)
Exception in thread "main"
Or similar VerifyErrors in Logic.
This seems to happen on all platforms (Unix, Windows, etc.) It occurs
when JHDL Version 0.2 is used with Java 1.3 or later. JHDL 0.2 was
created using the JAVA JVM 1.1.8. The source code will compile with
newer versions of java, but the jar created under 1.1.8 does not seem
to want to work with newer JVMs.
There are a few solutions in this case:
- Update to the latest
JHDL version. JHDL
is always being improved and updated -- and we fix errors in the latest
versions. The latest versions are developed with JDK 1.3 and we do use
new java features, so it is not compatible with JDK 1.1.8. Be sure
to also obtain the appropriate documentation for your version of JHDL.
- Use Java 1.1.8. Version 0.2 was designed for Java 1.1.8. It was
tested with 1.1.8 and it does work with 1.1.8.
- Use java -noverify. This does seem to work, but we cannot
guarantee any particular behavior.
- When running my test bench I get the following:
**************************
NOTE: The TestBench NBitAdderTB-0 is extending Synchronous.
Consider updating it to extend byucc.jhdl.base.Structural or
descendent.
**************************
This is a common warning. In effect it is harmless, but in order to
be compatible with newer version of JHDL, you should consider updating
the class which your test bench is extending to Structural or a
descendant.
|
|