Skip to content

Commit

Permalink
Makefile: Change some variables default value and add basic python re…
Browse files Browse the repository at this point in the history
…quirements
  • Loading branch information
LuigiGhionda committed Feb 11, 2025
1 parent f94b7e2 commit e7f3da1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions carfield.mk
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,11 @@ update_plic: $(CHS_ROOT)/hw/rv_plic.cfg.hjson
update_serial_link: $(CHS_ROOT)/hw/serial_link.hjson
sed -i 's/\(default: "\)8/\116/' $<

## Install basic python packages used to build Cheshire HW.
.PHONY: python_requirements
python_requirements:
pip install tabulate hjson

## Generate Spatz HW starting from a configuration file. This includes register file, memory map,
## interconnect parametrization.
.PHONY: spatzd-hw-init
Expand Down
2 changes: 1 addition & 1 deletion target/sim/sim.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## @section Carfield platform simulation

QUESTA ?= questa-2023.4
QUESTA ?=
TBENCH ?= tb_astral

## Get HyperRAM verification IP (VIP) for simulation
Expand Down
6 changes: 3 additions & 3 deletions target/xilinx/xilinx.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
# Makefile variables (user inputs are in capital letters)
#

VIVADO ?= vitis-2020.2 vivado
VIVADO ?= vivado

XILINX_PROJECT ?= carfield
# XILINX_FLAVOR in {vanilla,bd} see carfield_bd.mk
XILINX_FLAVOR ?= bd
XILINX_FLAVOR ?= vanilla
# XILINX_BOARD in {vcu128, vcu118}
XILINX_BOARD ?= vcu128
XILINX_BOARD ?= vcu118

ifeq ($(XILINX_BOARD),vcu128)
xilinx_part := xcvu37p-fsvh2892-2L-e
Expand Down

0 comments on commit e7f3da1

Please sign in to comment.