# Copyright 2020 ETH Zurich and University of Bologna.
# Solderpad Hardware License, Version 0.51, see LICENSE for details.
# SPDX-License-Identifier: SHL-0.51
package:
  name: reqrsp_interface
  authors:
  - Fabian Schuiki <fschuiki@iis.ee.ethz.ch>
  - Florian Zaruba <zarubaf@iis.ee.ethz.ch>

dependencies:
  axi:          { git: "https://github.com/pulp-platform/axi.git",          version: 0.29.2 }
  common_cells: { git: "https://github.com/pulp-platform/common_cells.git", version: 1.23.0 }

export_include_dirs:
- include

sources:
# Level 0:
- src/reqrsp_pkg.sv
# Level 1:
- src/reqrsp_intf.sv
# Level 2:
- src/axi_to_reqrsp.sv
- src/reqrsp_cut.sv
- src/reqrsp_demux.sv
- src/reqrsp_iso.sv
- src/reqrsp_mux.sv
- src/reqrsp_to_axi.sv
- target: simulation
  files:
  - src/reqrsp_test.sv
- target: test
  files:
  # Level 0
  - test/axi_to_reqrsp_tb.sv
  - test/reqrsp_demux_tb.sv
  - test/reqrsp_idempotent_tb.sv
  - test/reqrsp_mux_tb.sv
  - test/reqrsp_to_axi_tb.sv