Comments (10)
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.
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.
This is resolved with the release of contrib library
from connectal.
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.
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.
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.
bsc-contrib has XilinxCells but the hierarchy has changed, so one more fix needed.
from connectal.
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.
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.
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)
- Adding Connectal Support to DE5 Net Board HOT 4
- Bypass version mismatch problems in generated Makefile HOT 1
- Simple Amazon AWS EC2 F1 example HOT 16
- Documentation embedded diagrams HOT 3
- write documentation for bsvdepend.py
- Is it possible to support the opensource bsc? HOT 5
- bsvdepend.py fails to find imported package whose name is expanded from macro
- AWS build script should check for credentials before starting the build
- Python 3 support HOT 4
- PCIe drivers fail to compile on Ubuntu 16.04 HOT 3
- PcieHost.bsv fails to build for multiple targets HOT 11
- DataBusWidth=256 support HOT 8
- Error in pcieportal_ioctl function HOT 5
- Error while building for kc705, "recipe for target 'obj/Pcie1EndpointX7.bo' failed" HOT 4
- error while running "make run.kc705g2" HOT 9
- ERROR: could not insert 'portalmem' HOT 2
- support the bitwidth calculation of decimal number scoped enumeration HOT 5
- Problem while building for zedboard HOT 2
- obsolete bsc version checking bug in `scripts/Makefile.connectal.build` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connectal.