0
mirror of https://gitlab.com/hyperglitch/jellyfish.git synced 2025-04-18 12:49:17 +00:00
jellyfish-powersupply/gw/README.md

42 lines
938 B
Markdown
Raw Permalink Normal View History

2025-03-08 23:37:34 +00:00
# JellyfishOPP FPGA code
2024-04-12 21:32:38 +00:00
2025-03-08 23:37:34 +00:00
This directory contains the Verilog code for the JellyfishOPP. The code is still under development. Currently the code includes the basic functionality verification of th JellyfishOPP peripherals.
2024-04-12 21:32:38 +00:00
2025-03-08 23:37:34 +00:00
### Prerequisites
2024-04-12 21:32:38 +00:00
2025-03-08 23:37:34 +00:00
The open source toolchain is required to build the code. The toolchain can be downloaded from [https://github.com/YosysHQ/oss-cad-suite-build](https://github.com/YosysHQ/oss-cad-suite-build).
2024-04-12 21:32:38 +00:00
2025-03-08 23:37:34 +00:00
### Building the code
2024-04-12 21:32:38 +00:00
2025-03-08 23:37:34 +00:00
```
make BOARD=jellyfish
```
2024-04-12 21:32:38 +00:00
2025-03-08 23:37:34 +00:00
### Running the tests
Tests are currently broken due to the bug in the implementation of the behavioral model of ICE40 specific modules (SB_IO, SB_RAM40_4K)
```
make BOARD=jellyfish test-<test_name>
```
### Programming the FPGA
```
make BOARD=jellyfish prog
```
2025-03-09 00:00:16 +00:00
## License
Verilog code is licensed under the GPLv3 license.
<!--
SPDX-FileCopyrightText: 2025 Igor Brkic <igor@hyperglitch.com>
SPDX-License-Identifier: GPL-3.0-or-later
-->