Git Product home page Git Product logo

Comments (8)

nickg avatar nickg commented on August 25, 2024

It's not actually possible to do this and remain compliant with VHDL-1993, which is what I'm aiming for at the moment. The LRM says:

The library denoted by the library logical name STD contains no library units other than package STANDARD and package TEXTIO.

Instead I've added, in commit d4a48db, a package nvc.sim which contains implementation of these procedures you can use instead. If/when I add -2008 support the std.env package can use the same implementation.

from nvc.

hiyuh avatar hiyuh commented on August 25, 2024

just for my reference, nvc can remap nvc.sim as std.env by user after installing?
(of course, every users ultimately can do everything b/c nvc is under GPLv3 ATM.)
IIRC, ModelSim can remap library name, but can not remap package name.
IMHO, if nvc also can not remap package name, renaming nvc.sim to nvc.env would be better.

from nvc.

hiyuh avatar hiyuh commented on August 25, 2024

could you mind to pull my issue41 branch?

from nvc.

hiyuh avatar hiyuh commented on August 25, 2024

--enable-vhdl-2008 is now ready! 😁
could you mind to implement skipping unsupported regression to test/run_regr.rb?
im not so good at coding in ruby...

from nvc.

nickg avatar nickg commented on August 25, 2024

I've added something temporary for now. I think I'm going to add a --std=X command line option to do this properly.

from nvc.

nickg avatar nickg commented on August 25, 2024

OK, with the above commit and the few before it this should be handled slightly better:

Library names can now be suffixed with a minimum standard version. So there's now separate std and std.08 libraries installed. When compiling with --std=2008 the suffixed library std.08 is preferred and this one contains the STD.ENV package.

from nvc.

hiyuh avatar hiyuh commented on August 25, 2024

nice!
then could you mind to pull my werror branch?
it contains a fix for --enable-werror on cygwin and additional ignore entry for in tree build.

from nvc.

nickg avatar nickg commented on August 25, 2024

Thanks, merged it.

from nvc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.