Unset and forward user's LD_LIBRARY_PATH in cocotb

- If LD_LIBRARY_PATH is set in the environment, it overrides our path
  from extra_env which we use to help Verilator find the VPI libraries,
  so remove it from the environment.
- Add the LD_LIBRARY_PATH (if any) that was in the env already to our
  new LD_LIBRARY_PATH -- should avoid breakage on systems with fun
  configs.

Change-Id: Icdf712034db7c2e37c9c8f3d9bdee731f10091db
1 file changed
tree: 197110ff08a0e667b838806839b7368724ae7ee8
  1. doc/
  2. examples/
  3. external/
  4. hdl/
  5. hw_sim/
  6. kelvin_test_utils/
  7. lib/
  8. platforms/
  9. rules/
  10. tests/
  11. third_party/
  12. toolchain/
  13. utils/
  14. .bazelrc
  15. .bazelversion
  16. .gitignore
  17. CONTRIBUTING.md
  18. LICENSE
  19. PREUPLOAD.cfg
  20. README.md
  21. WORKSPACE
README.md

Kelvin

Kelvin is a RISC-V32IM core with a custom instruction set.

Kelvin block diagram

More information on the design can be found in the overview.

Getting Started

  • If you are hardware engineer looking to integrate Kelvin into your design, check out our integration guide.
  • If you are a software engineer looking to write code for Kelvin, start with this tutorial.

Building

Kelvin uses bazel as it's build system. The Verilated simulator for Kelvin can be generated using:

bazel build //tests/verilator_sim:core_sim

The verilog source for the Kelvin core can be generated using:

bazel build //hdl/chisel/src/kelvin:core_cc_library_emit_verilog

Verilog source for the Matcha SoC can be generated using:

bazel clean --expunge  # To generate the ToT sha
bazel build //hdl/chisel:matcha_kelvin_verilog