mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 05:07:21 -04:00
tb: Fix port width mismatch on AXI_USER_WIDTH and compile order for Questasim (#1043)
This commit is contained in:
parent
e41b3f67a2
commit
3bc643e0e2
2 changed files with 2 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -300,11 +300,11 @@ build: $(library) $(library)/.build-srcs $(library)/.build-tb $(dpi-library)/ari
|
|||
|
||||
# src files
|
||||
$(library)/.build-srcs: $(library)
|
||||
$(VLOG) $(compile_flag) -timescale "1ns / 1ns" -work $(library) -pedanticerrors -f core/Flist.cva6 $(list_incdir) -suppress 2583
|
||||
$(VLOG) $(compile_flag) -work $(library) $(filter %.sv,$(ariane_pkg)) $(list_incdir) -suppress 2583
|
||||
# Suppress message that always_latch may not be checked thoroughly by QuestaSim.
|
||||
$(VCOM) $(compile_flag_vhd) -work $(library) -pedanticerrors $(filter %.vhd,$(uart_src))
|
||||
$(VLOG) $(compile_flag) -timescale "1ns / 1ns" -work $(library) -pedanticerrors $(filter %.sv,$(src)) $(list_incdir) -suppress 2583
|
||||
$(VLOG) $(compile_flag) -timescale "1ns / 1ns" -work $(library) -pedanticerrors -f ../core/Flist.cva6 $(list_incdir) -suppress 2583
|
||||
touch $(library)/.build-srcs
|
||||
|
||||
# build TBs
|
||||
|
|
|
@ -567,6 +567,7 @@ module ariane_testharness #(
|
|||
.AxiAddrWidth ( AXI_ADDRESS_WIDTH ),
|
||||
.AxiDataWidth ( AXI_DATA_WIDTH ),
|
||||
.AxiIdWidth ( ariane_soc::IdWidthSlave ),
|
||||
.AxiUserWidth ( AXI_USER_WIDTH ),
|
||||
`ifndef VERILATOR
|
||||
// disable UART when using Spike, as we need to rely on the mockuart
|
||||
`ifdef SPIKE_TANDEM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue