Giter Club home page Giter Club logo

Comments (5)

eine avatar eine commented on August 16, 2024

Hi @mikey! I'm pinging @tgingold and @hackfin, who are the ones that have used components.vhdl.

AFAIU, those are used to instantiate vendor primitives for ECP5 devices, is it correct? Is so, since it is a single file and for an specific device only, I'm not sure about adding it to the synth/yosys image yet. Well, my main concern is that I don't know where to add it. Currently, ghdl and yosys are installed in /usr/local/bin, and the plugin is installed in the default location for plugins in yosys' tree. If we are going to add components.vhdl to GHDL's installation, we might consider moving it to https://github.com/ghdl/ghdl/tree/master/libraries and distributing it along with other libraries. BTW, is components.vhdl required for ghdl --synth? Otherwise, which location do you suggest?

from docker.

hackfin avatar hackfin commented on August 16, 2024

The file location is library/ecp5u/components.vhdl and is just a re-emitted (from the lattice proprietary) components stub declaration for all the architecture specific blackboxes. Since vendor specific, it should rather be in a vendor library add-on that is tested against nextpnr (to which it is linked more closely, due to the nature of the late blackbox binding). So in my opinion it shouldn't go into the GHDL distribution.
Note also that only a few of those components are continously tested. Since there's a lot of deficiencies on either the Verilog or VHDL side of things (missing simulation models, see also YosysHQ/yosys#1358), I've taken it up to the higher level Python/MyHDL-jupyosys domain to be able to emit a 'whiteboxed' functional model at least for the V* HDLs. Again, this co-simulating/verifying/auto-testing (also for hardware-implementation) is more yosys/nextpnr specific.

from docker.

eine avatar eine commented on August 16, 2024

@hackfin, thanks for clarifying! Maybe it's time to create the repo for "examples" proposed in ghdl/ghdl-yosys-plugin#98 and discussed in ghdl/ghdl#1291. See also May 2, 2020 11:35 AM.

from docker.

eine avatar eine commented on August 16, 2024

Refs:

from docker.

eine avatar eine commented on August 16, 2024

Discussion moved to hdl/containers#18.

from docker.

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.