mirror of
https://github.com/Silicon1602/srdl2sv.git
synced 2025-08-23 16:53:05 +00:00
Closes #4: Add support for hierarchical addrmaps
Every time an addrmap is detected within another addrmap, a new context will be opened and a separate RTL file will be created. All addrmaps will have the same bus-wdiget, but it might be possible that different addrmaps have different maximum regwidths. For that reason, it was necessary to change the non-generic srd2sv_if_pkg to a parametrizable interface. Almost all changes to the templates in this commit are due to name changes from 'b2r' and 'r2b' to 'widget_if'.
This commit is contained in:
@@ -37,9 +37,9 @@ default: $(ALL_COCOTB_TESTS)
|
||||
build_dirs/%/compile.f: systemrdl/%.rdl
|
||||
srdl2sv $? --out_dir $(shell dirname $@) --file_log_level DEBUG --stream_log_level DEBUG
|
||||
|
||||
ls $(PWD)/$(@D)/*_pkg.sv > $@
|
||||
ls $(PWD)/$(@D)/*_if.sv > $@
|
||||
ls $(PWD)/$(@D)/*amba*.sv >> $@
|
||||
ls $(PWD)/$(@D)/*.sv | grep -v '.*_pkg.sv$$' | grep -v '.*amba.*' >> $@
|
||||
ls $(PWD)/$(@D)/*.sv | grep -v '.*_if.sv$$' | grep -v '.*amba.*' >> $@
|
||||
|
||||
|
||||
clean:
|
||||
|
Reference in New Issue
Block a user