Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example project misses 'bsc' command #22

Open
ranzbak opened this issue Nov 23, 2019 · 1 comment
Open

Example project misses 'bsc' command #22

ranzbak opened this issue Nov 23, 2019 · 1 comment

Comments

@ranzbak
Copy link

ranzbak commented Nov 23, 2019

I'm running Mint Linux 19.2, and I used the apt get method to install the fpgamake software on my machine.
One of the first steps I am trying is to build an example project, but I'm not able to, it seems like the 'bsc' command is missing on my machine?
The documentation doesn't mention anything about bsc.
Please let me know if more information is needed.

Output from: make

/usr/bin/time bsc -u -verilog -elab -reset-prefix RST_P -D BSV_POSITIVE_RESET \
-p +:bsv \
-bdir /home/paul/work/fpga/fpgamake/fpgamake/examples/uart_kc705/kc705/bo -vdir verilog -info-dir /home/paul/work/fpga/fpgamake/fpgamake/examples/uart_kc705/kc705/info -p :+ -no-show-method-conf \
-show-schedule -show-compiles -aggressive-conditions -keep-fires -no-inline-rwire   \
-remove-dollar -show-range-conflict -scheduler-effort 500 bsv/DutTop.bsv
/usr/bin/time: cannot run bsc: No such file or directory
Command exited with non-zero status 127
0.00user 0.00system 0:00.00elapsed ?%CPU (0avgtext+0avgdata 1120maxresident)k
0inputs+0outputs (0major+27minor)pagefaults 0swaps
Makefile:17: recipe for target 'verilog/mkDutTop.v' failed
make: *** [verilog/mkDutTop.v] Error 127

@jameyhicks
Copy link
Member

bsc is the Bluespec System Verilog compiler from bluespec.com. It is available for free for academic use. The goal of splitting fpgamake out of connectal was to make it independent of BSV, so it was an error on my part to add an example that depends on bsc.

The led_sw example does not depend on BSV. I could also commit the Verilog generated by BSV for the kc705 example if that would be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants