Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/misoclib/soc/cpuif.py b/misoclib/soc/cpuif.py
- index 7bbe5ad..be58bd8 100644
- --- a/misoclib/soc/cpuif.py
- +++ b/misoclib/soc/cpuif.py
- @@ -72,7 +72,7 @@ def get_csr_header(regions, interrupt_map):
- r = "#ifndef __GENERATED_CSR_H\n#define __GENERATED_CSR_H\n#include <hw/common.h>\n"
- for name, origin, busword, obj in regions:
- if isinstance(obj, Memory):
- - fullname = name + "_" + memory.name_override
- + fullname = name + "_" + obj.name_override
- r += "#define CSR_"+fullname.upper()+"_BASE "+hex(origin)+"\n"
- else:
- r += "\n/* "+name+" */\n"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement