Hello Brian, > Would a quick patch to the 'v08\std' portion of the library script along these > lines work, separating the directory and file names: > > $VHDLSrcLibrary = "std" > $VHDLSrcLibraryFiles = "std08" > foreach ($SourceFile in $SourceFiles[$VHDLSrcLibraryFiles]) > ...
I fixed it as you suggested.
> I think long term your option (b) would be more flexible.
OK, I'll rework it in a few days.
Regards
Patrick
> -----Original Message-----
> From: Ghdl-discuss [mailto:[email protected]] On Behalf Of
> Brian Davis
> Sent: Monday, February 09, 2015 3:58 AM
> To: [email protected]
> Subject: Re: [Ghdl-discuss] New build scripts for GHDL on Windows
>
> On February 09, 2015, Patrick wrote:
> >
> >> (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.
> >
> Sorry, I had just looked quickly at the script, and noticed there was a
> 'std08'
> defined and not used- but I hadn't noticed the directory name issue.
>
> Would a quick patch to the 'v08\std' portion of the library script along these
> lines work, separating the directory and file names:
>
> $VHDLSrcLibrary = "std"
> $VHDLSrcLibraryFiles = "std08"
> foreach ($SourceFile in $SourceFiles[$VHDLSrcLibraryFiles])
> ...
>
> I think long term your option (b) would be more flexible.
>
> >
> > 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
> >
> IIRC, 'env' is new to the 2008 spec, and thus shouldn't be analyzed at all
> into
> 'std' for earlier versions.
>
> >
> >> Difference noted, probably not worth much effort to 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)
> >
> I don't know that this is worth fixing ( and the preprocessed files still have
> "copyright" spelled out in English anyways. )
>
> -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
