Git Product home page Git Product logo

Comments (10)

jameyhicks avatar jameyhicks commented on August 10, 2024

I have not been able to build it so I have not tested it yet. I will pull from the repo and try again.

Thank you for sharing the log files, these are helpful.

from connectal.

hanw avatar hanw commented on August 10, 2024

I tried to build echo for bluesim. The opensource version seems to miss some Xilinx libraries in Prelude. For instance, the XilinxCells.bo file cannot be found.

from connectal.

hanw avatar hanw commented on August 10, 2024

This is resolved with the release of contrib library

from connectal.

rajat-agarwal- avatar rajat-agarwal- commented on August 10, 2024

I am still getting the following error if i try to build echo for bluesim.
make[1]: *** No rule to make target 'obj/Vector.bo', needed by 'obj/XsimTop.bo'. Stop.

I think i am missing some variable or my paths are not pointing to correct location. Can you please help??

from connectal.

hanw avatar hanw commented on August 10, 2024

You can use V=1 make build.bluesim to print the commands used by connectal to compile your module. Current problem is the licensed bsc release and open-source bsc release install the library file to different paths. In the licensed bsc, all library files are installed under Prelude, in open-source bsc, the library files are under Libraries and the contrib library files are under their own directory. We need to update connectal to source from all these places.

from connectal.

hanw avatar hanw commented on August 10, 2024

Search for Prelude in connectal repo, these two python files need fix. scripts/packagesource.py, scripts/bsvdependencies.py Can you perhaps make a PR?

from connectal.

jameyhicks avatar jameyhicks commented on August 10, 2024

bsc-contrib has XilinxCells but the hierarchy has changed, so one more fix needed.

from connectal.

jameyhicks avatar jameyhicks commented on August 10, 2024

I was able to build and run examples/simple for verilator using open source bsc and bsc-contrib.
I compiled the BSV to Verilog for VC707 (build.vc707g2) and I'm compiling the verilog to a bitstream now.

This depends on bsc and bsc-contrib being installed into the same prefix:
cd bsc; make PREFIX=~/Bluespec install
cd bsc-contrib; make PREFIX=~/Bluespec install
export BLUESPECDIR=~/Bluespec/lib
cd connectal/examples/simple; make build.verilator run.verilator

We can make another change so that if bsc is on the path but BLUESPECDIR is not that the scripts would detect where the libraries are by running which bsc.

from connectal.

acw1251 avatar acw1251 commented on August 10, 2024

Just using which bsc will not work if bsc is a sym link. Instead you can use the technique mentioned in B-Lang-org/bsc#33 to get the library folder for open-sourced bsc. Running the command echo 'puts $env(BLUESPECDIR)' | bluetcl in the shell will get you the internal value of BLUESPECDIR used in bluetcl. This command works with licensed bsc as well.

One more thing, since bsc-contrib is separate from bsc now, would it make sense to add bsc-contrib as a submodule to connectal?

from connectal.

jameyhicks avatar jameyhicks commented on August 10, 2024

I was planning to dereference any symlinks. But why use a symlink rather than adjusting PATH?

I'm working on making bsc and bsc-contrib .debs.

from connectal.

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.