@@ -21,9 +21,15 @@ SNRT_HAL_HDRS_DIR ?= $(SN_ROOT)/target/snitch_cluster/sw/runtime/common
21
21
22
22
SNITCH_CLUSTER_CFG_H = $(SNRT_HAL_HDRS_DIR ) /snitch_cluster_cfg.h
23
23
SNITCH_CLUSTER_ADDRMAP_H = $(SNRT_HAL_HDRS_DIR ) /snitch_cluster_addrmap.h
24
+ SNITCH_CLUSTER_WRAPPER_ADDRMAP_H = $(SNRT_HAL_HDRS_DIR ) /snitch_cluster_wrapper_addrmap.h
24
25
SNITCH_CLUSTER_PERIPHERAL_H = $(SNRT_HAL_HDRS_DIR ) /snitch_cluster_peripheral.h
26
+ SNITCH_CLUSTER_PERIPHERAL_ADDRMAP_H = $(SNRT_HAL_HDRS_DIR ) /snitch_cluster_peripheral_addrmap.h
25
27
26
- SNRT_HAL_HDRS = $(SNITCH_CLUSTER_CFG_H ) $(SNITCH_CLUSTER_ADDRMAP_H ) $(SNITCH_CLUSTER_PERIPHERAL_H )
28
+ SNRT_HAL_HDRS = $(SNITCH_CLUSTER_CFG_H )
29
+ SNRT_HAL_HDRS += $(SNITCH_CLUSTER_ADDRMAP_H )
30
+ SNRT_HAL_HDRS += $(SNITCH_CLUSTER_WRAPPER_ADDRMAP_H )
31
+ SNRT_HAL_HDRS += $(SNITCH_CLUSTER_PERIPHERAL_H )
32
+ SNRT_HAL_HDRS += $(SNITCH_CLUSTER_PERIPHERAL_ADDRMAP_H )
27
33
28
34
# CLUSTERGEN headers
29
35
$(eval $(call sn_cluster_gen_rule,$(SNITCH_CLUSTER_CFG_H),$(SNITCH_CLUSTER_CFG_H).tpl))
@@ -33,6 +39,15 @@ $(eval $(call sn_cluster_gen_rule,$(SNITCH_CLUSTER_ADDRMAP_H),$(SNITCH_CLUSTER_A
33
39
$(SNITCH_CLUSTER_PERIPHERAL_H ) : $(SN_ROOT ) /hw/snitch_cluster/src/snitch_cluster_peripheral/snitch_cluster_peripheral_reg.rdl
34
40
$(call peakrdl_generate_header,$@ ,$< )
35
41
42
+ $(SNITCH_CLUSTER_WRAPPER_ADDRMAP_H ) : $(SN_GEN_DIR ) /snitch_cluster_wrapper.rdl
43
+ @echo " [peakrdl] Generating addrmap header"
44
+ $(PEAKRDL ) raw-header $< -o $(SNITCH_CLUSTER_WRAPPER_ADDRMAP_H ) --format c -I $(SN_PERIPH_DIR )
45
+
46
+ $(SNITCH_CLUSTER_PERIPHERAL_ADDRMAP_H ) : $(SN_GEN_DIR ) /snitch_cluster_peripheral_reg.rdl
47
+ @echo " [peakrdl] Generating addrmap header"
48
+ $(PEAKRDL ) raw-header $< -o $(SNITCH_CLUSTER_PERIPHERAL_ADDRMAP_H ) --format c -I $(SN_PERIPH_DIR )
49
+
50
+
36
51
.PHONY : sn-clean-headers
37
52
sn-clean-sw : sn-clean-headers
38
53
sn-clean-headers :
0 commit comments