|
| 1 | +# TRISTAN/rb_cva6_cropro_wrapper |
| 2 | +This repository is holding the source RTL for the CVX-if coprocessor wrapper CRC designed by Bosch, in the context of the TRISTAN project. |
| 3 | +Additionnaly, some testbenches are available. |
| 4 | + |
| 5 | +## Table of Contents <!-- omit in toc --> |
| 6 | +- [How to use this repo](#howto) |
| 7 | +- [Directory Structure](#directory-structure) |
| 8 | +- [Links and resources](#links-resources) |
| 9 | +- [About](#about) |
| 10 | + - [Maintainers](#maintainers) |
| 11 | + |
| 12 | +An example implementation of a CRC and EXP coprocessor wrapper on the CVX-ID interface is given below : |
| 13 | + |
| 14 | +``` |
| 15 | + |
| 16 | + // --------------- |
| 17 | + // CRC Coprocessor wrapper : CRC +EXP |
| 18 | + // --------------- |
| 19 | +
|
| 20 | + cvxif_pkg::cvxif_req_t [cvxif_wrapper_pkg::COPRO_NBR-1:0] cvxif_req_copro; |
| 21 | + cvxif_pkg::cvxif_resp_t [cvxif_wrapper_pkg::COPRO_NBR-1:0] cvxif_resp_copro; |
| 22 | + |
| 23 | + cvxif_coprocessor_wrapper #( |
| 24 | + .COPRO_NBR ( cvxif_wrapper_pkg::COPRO_NBR ), |
| 25 | + .SAME_COPRO_NBR ( cvxif_wrapper_pkg::SAME_COPRO_NBR ), |
| 26 | + .SAME_COPRO_TABLE ( cvxif_wrapper_pkg::SAME_COPRO_TABLE ), |
| 27 | + .DECODING_TYPE ( cvxif_wrapper_pkg::DECODING_TYPE ), |
| 28 | + .decoding_LUT ( cvxif_wrapper_pkg::decoding_LUT ), |
| 29 | + .i_resp_LUT ( cvxif_wrapper_pkg::i_resp_LUT ) |
| 30 | + ) i_cvxif_coprocessor_wrapper ( |
| 31 | + .clk_i ( clk ), |
| 32 | + .rst_ni ( sys_rst_n ), |
| 33 | + .cvxif_req_i ( cvxif_req ), |
| 34 | + .cvxif_req_copro ( cvxif_req_copro ), |
| 35 | + .cvxif_resp_copro ( cvxif_resp_copro ), |
| 36 | + .cvxif_resp_o ( cvxif_resp ) |
| 37 | + ); |
| 38 | + |
| 39 | + cvxif_crc_coprocessor i_cvxif_crc_coprocessor0 ( |
| 40 | + .clk_i ( clk ), |
| 41 | + .rst_ni ( sys_rst_n ), |
| 42 | + .cvxif_req_i ( cvxif_req_copro[0] ), |
| 43 | + .cvxif_resp_o ( cvxif_resp_copro[0] ) |
| 44 | + ); |
| 45 | + |
| 46 | + cvxif_exp_coprocessor i_cvxif_exp_coprocessor1 ( |
| 47 | + .clk_i ( clk ), |
| 48 | + .rst_ni ( sys_rst_n ), |
| 49 | + .cvxif_req_i ( cvxif_req_copro[1] ), |
| 50 | + .cvxif_resp_o ( cvxif_resp_copro[1] ) |
| 51 | + ); |
| 52 | + |
| 53 | + |
| 54 | +``` |
| 55 | + |
| 56 | + |
| 57 | +## Directory Structure <a name="directory-structure"></a> |
| 58 | + |
| 59 | +This repository is structured according to the standard EIY folder structure : |
| 60 | +* rtl_v : contains RTL files |
| 61 | + |
| 62 | + |
| 63 | +## Links and resources <a name="links-resources"></a> |
| 64 | +* [EU TRISTAN project description](https://cordis.europa.eu/project/id/101095947) |
| 65 | + |
| 66 | +## About <a name="about"></a> |
| 67 | +Together for RISc-V Technology and ApplicatioNs (TRISTAN) is a project financed partly by the Europan Union and involving multiple companies. |
| 68 | +Some of the activities done by BOSCH will by open-sourced while other aspects will stay closed source. |
| 69 | + |
| 70 | +### Maintainers <a name="maintainers"></a> |
| 71 | + |
| 72 | +* [Nicolas TRIBIE](nicolas.tribie___at__@fr.bosch.com) |
0 commit comments