Skip to content

Commit

Permalink
Add ARA_CONFIGURATION parameter to cheshire/Makefile
Browse files Browse the repository at this point in the history
Co-authored-by: Vincenzo Maisto <vincenzo.maisto2@unina.it>
Co-authored-by: Matteo Perotti <mperotti@iis.ee.ethz.ch>
Signed-off-by: Moritz Imfeld <moimfeld@student.ethz.ch>

dfklj
  • Loading branch information
moimfeld authored and mp-17 committed Jul 3, 2024
1 parent 24a1f13 commit ca32c65
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions cheshire/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,19 @@
# Author: Moritz Imfeld <moimfeld@student.ethz.ch>
#


# Chshire root reposiotry
MAKEFILE_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
ARA_ROOT := $(MAKEFILE_DIR)/..
BACKREF_CHS_ROOT ?= ../../cheshire
ARA_ROOT := $(MAKEFILE_DIR)/..
BACKREF_CHS_ROOT ?= ../../../../..
BACKREF_CHS_XIL_SCRIPTS := $(BACKREF_CHS_ROOT)/target/xilinx/scripts


# Set up Bender targets and defines
# default configuration for Cheshire + Ara is 2_lanes
ARA_CONFIGURATION ?= 2_lanes
include $(ARA_ROOT)/config/$(ARA_CONFIGURATION).mk
BOARD := vcu128
CUSTOM_BENDER_TARGETS := -t fpga -t cv64a6_imafdcv_sv39 -t cva6 -t $(BOARD) --define ARA
CUSTOM_BENDER_TARGETS := -t fpga -t cv64a6_imafdcv_sv39 -t cva6 -t $(BOARD) --define ARA --define NR_LANES=$(nr_lanes) --define VLEN=$(vlen)

.PHONY: ara-chs-xilinx-$(BOARD) clean

Expand Down

0 comments on commit ca32c65

Please sign in to comment.