gburdell / parser

Derived from https://sourceforge.net/projects/v2kparse
45 stars 13 forks source link

which compatible versions java/ruby/jruby/analyzer #3

Closed ghanes closed 10 years ago

ghanes commented 10 years ago

Hi, I am looking to know what combinations of versions of java, ruby, jruby, and analyzer to use. (or other cause of this failure)

I have been running into various problems and they seem to be incompatible versions of the tools in my setup. I have tried a couple combinations but errors seemed to move around depending on the combination. Mostly in to_java and to_a calls.

I have 0 exp working in these languages, otherwise the answer would probably seem obvious. If you are not seeing this error, would you publish the tool versions you are using and I can try to re-create it.

Thanks, Gord.

Here is my current error:

analyze -m ddr3_x64_test +incdir+submodules -y submodules ddr3_x64_test.v Info : <BLAH,BLAH>/ddr3_x64_test.v: processing... (FILE-3) NoMethodError: undefined method `to_a' for #String:0x102efc59 link at /parser-analyze_r1.3/apps/analyze/lib/parse.rb:151 process at /parser-analyze_r1.3/apps/analyze/lib/analyze.rb:53 process at /parser-analyze_r1.3/apps/analyze/lib/main.rb:57 (root) at /parser-analyze_r1.3/apps/analyze/lib/main.rb:131

I can also generate the error on the v2kparser example code tc6/e1 analyze -m top -f e1.f

With the above example I used tool versions: [synthesis]$ java -version java version "1.8.0_05" Java(TM) SE Runtime Environment (build 1.8.0_05-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

[synthesis]$ ruby -v ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]

[synthesis]$ jruby -v jruby 1.7.12 (1.9.3p392) 2014-04-15 643e292 on Java HotSpot(TM) 64-Bit Server VM 1.8.0_05-b13 +indy [linux-amd64]

[synthesis]$ analyze

Usage: analyze -m [option] ...

Version r1.3.

Analyze one or more SystemVerilog, VHDL or Liberty and quick link .

gburdell commented 10 years ago

[gburdell:22]~% java -version java version "1.7.0_07" Java(TM) SE Runtime Environment (build 1.7.0_07-b10) Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)

[gburdell:23]~% jruby -v jruby 1.5.1 (ruby 1.8.7 patchlevel 249) (2010-07-28 6586) (Java HotSpot(TM) 64-Bit Server VM 1.7.0_07) [amd64-java]

Those versions work fine w/ the latest analyze 1.3.

From: ghanes Sent: Thursday, May 01, 2014 2:30 PM To: gburdell/parser Subject: [parser] which compatible versions java/ruby/jruby/analyzer (#3)

Hi, I am looking to know what combinations of versions of java, ruby, jruby, and analyzer to use. (or other cause of this failure)

I have been running into various problems and they seem to be incompatible versions of the tools in my setup. I have tried a couple combinations but errors seemed to move around depending on the combination. Mostly in to_java and to_a calls.

I have 0 exp working in these languages, otherwise the answer would probably seem obvious. If you are not seeing this error, would you publish the tool versions you are using and I can try to re-create it.

Thanks, Gord.

Here is my current error:

analyze -m ddr3_x64_test +incdir+submodules -y submodules ddr3_x64_test.v Info : /ddr3_x64_test.v: processing... (FILE-3) NoMethodError: undefined method `to_a' for #String:0x102efc59 link at /parser-analyze_r1.3/apps/analyze/lib/parse.rb:151 process at /parser-analyze_r1.3/apps/analyze/lib/analyze.rb:53 process at /parser-analyze_r1.3/apps/analyze/lib/main.rb:57 (root) at /parser-analyze_r1.3/apps/analyze/lib/main.rb:131

I can also generate the error on the v2kparser example code tc6/e1 analyze -m top -f e1.f

With the above example I used tool versions: [synthesis]$ java -version java version "1.8.0_05" Java(TM) SE Runtime Environment (build 1.8.0_05-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

[synthesis]$ ruby -v ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]

[synthesis]$ jruby -v jruby 1.7.12 (1.9.3p392) 2014-04-15 643e292 on Java HotSpot(TM) 64-Bit Server VM 1.8.0_05-b13 +indy [linux-amd64]

[synthesis]$ analyze

Usage: analyze -m [option] ...

Version r1.3.

Analyze one or more SystemVerilog, VHDL or Liberty and quick link .

— Reply to this email directly or view it on GitHub.