Hello Brian, I looked into your bullets: (1) Both .exe's produce identical results for the gna tests. That's good :)
---------------------------------------
(2) complib.ps1 should be using "std08" sources, not "std"
The problem is that std08 does not match to a directory on disk. So it's not
possible to switch $VHDLDestLibrary to "std08".
Your solution was also my intention, that's why I created a std08 section in
$SourceFiles.
So how can we solve this:
(a) Add env.vhd and env_body.vhd to section 'std' and extend the library source
code with --START-V08 and --END-V08 markers.
=> It's a quick solution
=> It requires changes in env*.vhdl
(b) I can change the $SourceFiles structure to a more complex one, which
reflects more aspects:
-> source directory
-> destination directory
-> VHDL standard
-> file operation: copy vs. filter
-> dependencies vs. bootstrap
=> This could reduce the amount of code and loops, because all information is
present in the data structure and need not be
hard code in different loop patterns.
I'm thinking of 2 structures:
1) file list
2) compile receipt
Should I push solution (a) to the repo as a quick fix?
---------------------------------------
(3) Copyright symbols in the 2008 ieee library source comments have been
replaced by "?" after preprocessing
I used the Get-HexDump CmdLet to analyze the file. The copyright symbol is not
in range of ASCII encoding (© = 169; it's translated to '?' = 63)
Encoding © as 0xA9 (decimal 169) is used by: ANSI, ISO-8859-1 (Latin1), ...
It's not UTF-8 encoded, because there is no prefix byte (=> 0xC2)
Where can I find the correct encodings?
Here are the PS lines to test the 'bug':
cd \libraries\ieee2008
Get-Content math_real.vhdl" -Encoding Ascii | Out-File "$SourceFile.v08"
-Encoding Ascii
---------------------------------------
(4) Some file locations have changed - using a local copy vs. analyzing source
file located in another directory
This should be equivalent.
Regards
Patrick
> -----Original Message-----
> From: Ghdl-discuss [mailto:[email protected]] On Behalf Of
> Brian Davis
> Sent: Monday, February 09, 2015 12:04 AM
> To: [email protected]
> Subject: Re: [Ghdl-discuss] New build scripts for GHDL on Windows
>
> On January 31, 2015, Patrick wrote:
> >
> > I found the bug: line 215 -> the strip call is a comment.
> >
> I don't know that I'd call that a 'bug', just a difference :)
>
> I'm just trying to spot any differences between the two builds as a
> verification method.
>
> ---------------
> Testsuite
>
> Both .exe's produce identical results for the gna tests.
>
> Note, one gna test fails, for both .exe's, when using 4a8b24 :
> GNA test failed ( bug05)
>
> ---------------
> Libraries
>
> Some notes from comparing the generated libraries, .bat vs. .ps1:
>
> Needs fixing:
>
> - v08 library is missing env files
> complib.ps1 should be using "std08" sources, not "std"
> i.e. $VHDLDestLibrary = "std08"
>
> Difference noted, probably not worth much effort to fix:
>
> - Copyright symbols in the 2008 ieee library source comments
> have been replaced by "?" after preprocessing
> ( Some sort of PowerShell pipe character set issue? )
>
> Difference noted, don't think anything needs to be changed:
>
> - some file locations have changed - using a local copy
> vs. analyzing source file located in another directory.
>
> This should work equally well, but I haven't tested all the
> library/std combinations (not sure the testsuite checks that).
>
> -Brian
>
>
> _______________________________________________
> Ghdl-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/ghdl-discuss
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
