Giter VIP home page Giter VIP logo

Comments (5)

mariohoff avatar mariohoff commented on July 17, 2024 1

Oh that is very cool. Thank you, it works! Finally no more hourlong compiling. Yes! Thanks for your work.

from fpga-toolchain.

daveshah1 avatar daveshah1 commented on July 17, 2024

By following "Build as part of yosys (not recommended)" here: https://github.com/ghdl/ghdl-yosys-plugin I think we can get it to work on Windows, and as a fully static blob (the Yosys dynamic plugin interface doesn't support Windows yet).

from fpga-toolchain.

edbordin avatar edbordin commented on July 17, 2024

After some patching I've managed to build it into yosys. GHDL_PREFIX needs to be set on linux and darwin for it to work: export GHDL_PREFIX=$install_dir/lib/ghdl

The Ada equivalent of argv[0] is returning an empty string when ghdl is statically linked into yosys. For some reason it is working as intended on windows.

from fpga-toolchain.

mariohoff avatar mariohoff commented on July 17, 2024

Hey, if I try to run yosys -m ghdl .... I get the following error:

ERROR: This version of yosys is built without plugin support.

In my .zshrc I have

export PATH="$PATH:$HOME/ulx3s_workspace/fpga-toolchain/bin"
export GHDL_PREFIX="$HOME/ulx3s_workspace/fpga-toolchain/lib/ghdl"

Any help to fix this or do I have to compile yosys myself?

Thanks

Edit:
I always used yosys -m ghdl before that. Just setup my pc new and wanted to try this cool thing here to save myself some time!

Also I am using this version from today: fpga-toolchain-linux_x86_64-nightly-20200629.tar.gz

from fpga-toolchain.

edbordin avatar edbordin commented on July 17, 2024

Hi @qwqw330, as I understand it -m ghdl tells yosys to load a dynamic plugin for ghdl. Because we have compiled it into yosys you can simply remove that from the args (i.e. just run yosys ....) and it should hopefully work. Let me know how it goes though because you are probably one of the first testing this build on an actual design!

from fpga-toolchain.

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.