I downloaded the latest source for the parser because I need to install it on RHEL5 systems ( 32bit and 64bit). However, when I run
Code:
make check
I get some failed tests:
Code:
...
var9................%%FAILED%%
writer-comments.....PASSED
my_group.lib........PASSED
newstuff.lib........%%FAILED%%
defgroup.lib........PASSED
...
Comparing var9.out and var9.ref leads me to believe that the expression parsing is the issue. It seems to be returning the wrong expression back for the right-hand-side. Here is a sample diff. There are quite a few of these:\
Code:
$ diff var9.out var9.ref
...
777c777
< vimax : EXPR= VDD + VDD
---
> vimax : EXPR= VDD + 0.3
781c781
< vomax : EXPR= VDD + VDD
---
> vomax : EXPR= VDD + 0.3
...
As you can see the LHS is replicated at the RHS on the
bad output. The true RHS is ... gone.
For the newstuff difference there are additional errors noted:
Code:
$ diff newstuff.out newstuff.ref
13d12
< ERROR: newstuff.lib:6, Argument #2 of retention_pin should be an int, but it has non-integer characters in it (z). (Syntax Error Encountered)
16d14
< ERROR: newstuff.lib:11, Argument #2 of retention_pin should be an int, but it has non-integer characters in it (z). (Syntax Error Encountered)
...
Here are the problematic lines:
Code:
grep retention_pin newstuff.lib
retention_pin( "pin2","z");
retention_pin( "pin1","z");
It seems to want the "z" to be an integer. This complies with the syntax.cmos.desc file. In this case I think the newstuff.ref needs to be regenerated to include the new errors or the lib file needs the have the "z" changed to an int.
Code:
$ grep retention_pin syntax.cmos.desc
retention_pin( string, int);
I will fix the code for var9 problem...when I get the chance. For now I'll have to go back to 2.5.
So where should I send the patches, or who do I have to contact about the issues so that they can be addressed in future releases? Is there some sort of formal issue tracking system other than simply posting to this forum...
The low activity level here has me concerned about using it as a formal mechanism for issue tracking...
Thanks
Nick