Skip to content

Commit

Permalink
test: Don't compile VC router by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fischeti committed Jul 23, 2024
1 parent 42290e5 commit c7930b7
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ collect-bender-sources:
compile-vsim:
stage: build
script:
- make compile-sim | tee compile.log 2>&1
- make compile-sim VC=true | tee compile.log 2>&1
- '! grep "Error: " compile.log'
needs:
- collect-bender-sources
Expand Down
41 changes: 26 additions & 15 deletions Bender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,32 @@ sources:
- hw/floo_rob.sv
- hw/floo_rob_wrapper.sv
- hw/floo_meta_buffer.sv
- hw/vc_router_util/floo_credit_counter.sv
- hw/vc_router_util/floo_input_fifo.sv
- hw/vc_router_util/floo_input_port.sv
- hw/vc_router_util/floo_look_ahead_routing.sv
- hw/vc_router_util/floo_mux.sv
- hw/vc_router_util/floo_rr_arbiter.sv
- hw/vc_router_util/floo_sa_global.sv
- hw/vc_router_util/floo_sa_local.sv
- hw/vc_router_util/floo_vc_assignment.sv
- hw/vc_router_util/floo_vc_router_switch.sv
- hw/vc_router_util/floo_vc_selection.sv
# Level 2
- hw/floo_narrow_wide_join.sv
- hw/floo_axi_chimney.sv
- hw/floo_narrow_wide_chimney.sv
- hw/floo_vc_narrow_wide_chimney.sv
- hw/floo_router.sv
- hw/floo_vc_router.sv
- hw/floo_narrow_wide_router.sv
- hw/floo_vc_narrow_wide_router.sv

- target: vc_router
files:
# Level 1
- hw/vc_router_util/floo_credit_counter.sv
- hw/vc_router_util/floo_input_fifo.sv
- hw/vc_router_util/floo_input_port.sv
- hw/vc_router_util/floo_look_ahead_routing.sv
- hw/vc_router_util/floo_mux.sv
- hw/vc_router_util/floo_rr_arbiter.sv
- hw/vc_router_util/floo_sa_global.sv
- hw/vc_router_util/floo_sa_local.sv
- hw/vc_router_util/floo_vc_assignment.sv
- hw/vc_router_util/floo_vc_router_switch.sv
- hw/vc_router_util/floo_vc_selection.sv
- hw/floo_vc_narrow_wide_pkg.sv
# Level 2
- hw/floo_vc_narrow_wide_chimney.sv
- hw/floo_vc_router.sv
- hw/floo_vc_narrow_wide_router.sv

- target: test
include_dirs:
Expand All @@ -74,9 +80,14 @@ sources:
- hw/tb/tb_floo_axi_chimney.sv
- hw/tb/tb_floo_narrow_wide_chimney.sv
- hw/tb/tb_floo_router.sv
- hw/tb/tb_floo_vc_router.sv
- hw/tb/tb_floo_rob.sv
- hw/tb/tb_floo_dma_chimney.sv
- hw/tb/tb_floo_dma_nw_chimney.sv
- hw/tb/tb_floo_dma_mesh.sv

- target: all(test, vc_router)
include_dirs:
- hw/test/include
files:
- hw/tb/tb_floo_vc_router.sv
- hw/tb/tb_floo_vc_dma_mesh.sv
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ BENDER_FLAGS += -t rtl
BENDER_FLAGS += -t test
BENDER_FLAGS += -t snitch_cluster
BENDER_FLAGS += -t idma_test
ifdef VC
BENDER_FLAGS += -t vc_router
endif

VLOG_ARGS += -suppress vlog-2583
VLOG_ARGS += -suppress vlog-13314
Expand Down

0 comments on commit c7930b7

Please sign in to comment.