All Projects → B-Lang-org → bsc-contrib

B-Lang-org / bsc-contrib

Licence: other
A place to share libraries and utilities that don't belong in the core bsc repo

Programming Languages

Bluespec
12 projects
TeX
3793 projects
Makefile
30231 projects
python
139335 projects - #7 most used programming language
shell
77523 projects
tcl
693 projects
Verilog
626 projects

Bluespec Compiler - Contributed libraries and utilities


This is a place to share libraries and utilities that don't belong (or don't yet belong) in the core bsc repository.

Files can be installed in the same way as in the bsc repository:

$ make PREFIX=/tools/bluespec

If the PREFIX variable is not specified, the default is inst.

Each set of libraries is installed into its own subdirectory, so that they are not in the path by default, but instead are only available when explicitly added on the command line:

$ bsc -p +:%/Libraries/FPGA/Xilinx/

Until a more sophisicated library system is available, this repository can be used for sharing useful code. Contributions are welcome. No guarantees are made about the quality of this code. Tests for some libraries can be found in the testing directory.


Testing

The directory testing/bsc.contrib contains tests that can be run using the testing infrastructure of the bsc repository. Simply copy the directory to a clone of that repo, set BSCCONTRIBDIR in the environment to point to the installation to be tested, and run the testsuite as usual:

$ cp -r testing/bsc.contrib /path/to/bsc/testsuite/
$ cd /path/to/bsc/testsuite/bsc.contrib/
$ export BSCCONTRIBDIR=/path/to/bsc-contrib/inst
$ make check

License

Individual contributions are responsible for specifying their own copyright and license. Libraries provided by Bluespec Inc have a header comment that states the copyright and the license as an SPDX short identifier (BSD-3-Clause) with the full license text given in the LICENSES directory.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].