Useful helpers for Bluespec developers.
Explore the docs »
Report Bug
·
Request Feature
Over the years developing in Bluespec we came accross certain features missing from the AzureIP library. This repository contains some of the frequently used parts.
- A FIFO that counts the maximum number of entries. Useful for design space exploration.
- Network helper functions, e.g. toggle endianess in Word.
- Send out data over a AXI4 stream based network interface, e.g. Xilinx 10G Ethernet Subsystem
- Parse ethernet packets coming from such a subsystem
- Produce colorful text for testbenches
To get a local copy up and running follow these simple steps.
Have the bluespec compiler installed.
- Clone the repo
git clone github.com/esa-tu-darmstadt/BlueLib.git
- Optional: Install
BlueAXI
forPacketParser
orPacketSender
- Import
BlueLib
or a part of the packet in your Bluespec packet:
import BlueLib :: *;
- Add the
src
directory to yourbsc
library path during compilation:
bsc ${OTHER_FLAGS} -p path/to/BlueLib/src
printColorTimed(RED, $format("Hello World!"));
For more examples, please refer to the Documentation
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Embedded Systems and Applications Group - https://www.esa.informatik.tu-darmstadt.de
Project Link: https://github.com/esa-tu-darmstadt/BlueLib