Skip to content

Commit

Permalink
[hardware] Clean up of defines
Browse files Browse the repository at this point in the history
  • Loading branch information
mbertuletti committed Aug 28, 2023
1 parent ff16d5e commit 57456ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 67 deletions.
30 changes: 0 additions & 30 deletions config/mempool_fpu.mk

This file was deleted.

34 changes: 0 additions & 34 deletions config/minpool_fpu.mk

This file was deleted.

7 changes: 4 additions & 3 deletions hardware/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,13 @@ vlog_args += -work $(library)
# Defines
vlog_defs += -DNUM_CORES=$(num_cores) -DNUM_CORES_PER_TILE=$(num_cores_per_tile) -DNUM_GROUPS=$(num_groups) -DBANKING_FACTOR=$(banking_factor)
vlog_defs += -DL2_BASE=$(l2_base) -DL2_SIZE=$(l2_size) -DL2_BANKS=$(l2_banks)
vlog_defs += -DBOOT_ADDR=$(boot_addr) -DXPULPIMG=$(xpulpimg)
vlog_defs += -DBOOT_ADDR=$(boot_addr)
vlog_defs += -DXPULPIMG=$(xpulpimg)
vlog_defs += -DZFINX_RV=$(zfinx_rv)
vlog_defs += -DSNITCH_TRACE=$(snitch_trace)
vlog_defs += -DAXI_DATA_WIDTH=$(axi_data_width)
vlog_defs += -DRO_LINE_WIDTH=$(ro_line_width)
vlog_defs += -DDMAS_PER_GROUP=$(dmas_per_group)
vlog_defs += -DZFINX_RV=$(zfinx_rv)
vlog_defs += -DAXI_HIER_RADIX=$(axi_hier_radix) -DAXI_MASTERS_PER_GROUP=$(axi_masters_per_group)
vlog_defs += -DSEQ_MEM_SIZE=$(seq_mem_size) -DXQUEUE_SIZE=$(xqueue_size)

Expand All @@ -116,7 +117,7 @@ cpp_defs += -DL2_BASE=$(l2_base)
cpp_defs += -DL2_SIZE=$(l2_size)
cpp_defs += -DL2_BANKS=$(l2_banks)
cpp_defs += -DAXI_DATA_WIDTH=$(axi_data_width)
cpp_defs += -DFPU=$(fpu) -DL2_BASE=$(l2_base) -DL2_SIZE=$(l2_size) -DL2_BANKS=$(l2_banks)
cpp_defs += -DL2_BASE=$(l2_base) -DL2_SIZE=$(l2_size) -DL2_BANKS=$(l2_banks)

.DEFAULT_GOAL := compile

Expand Down

0 comments on commit 57456ab

Please sign in to comment.