Generate and use SCR address header files
This uses the new SCRFile changes to generate a header file containing a list of all the SCRs in a core to remove the magic constant "63" (the HTIF clock divider control register) and replace it with a generated number (which is still 63).
This commit is contained in:
1
Makefrag
1
Makefrag
@ -51,6 +51,7 @@ $(sim_dir)/libdramsim.a: $(DRAMSIM_OBJS)
|
||||
|
||||
params_file = $(generated_dir)/$(MODEL).$(CONFIG).prm
|
||||
consts_header = $(generated_dir)/consts.$(CONFIG).h
|
||||
scr_header = $(generated_dir)/$(MODEL).$(CONFIG).scr_map.h
|
||||
$(consts_header): $(params_file)
|
||||
echo "#ifndef __CONST_H__" > $@
|
||||
echo "#define __CONST_H__" >> $@
|
||||
|
Reference in New Issue
Block a user