adds more fixes for #7

This commit is contained in:
Eyck Jentzsch 2023-01-08 18:56:49 +01:00
parent 80ebbbea0f
commit 52c0c1d9a6
5 changed files with 6 additions and 13 deletions

View File

@ -20,7 +20,7 @@ class AddrmapGenerator extends RdlBaseGenerator {
override generateHeader(String namespace) {'''
/*
* Copyright (c) 2019 -2022 MINRES Technologies GmbH
* Copyright (c) 2023 MINRES Technologies GmbH
*
* SPDX-License-Identifier: Apache-2.0
*
@ -39,8 +39,6 @@ class AddrmapGenerator extends RdlBaseGenerator {
«ENDFOR»
«ENDFOR»
}};
#endif /* _«componentDefinition.effectiveName.toUpperCase»_MAP_H_ */
'''
}

View File

@ -22,7 +22,7 @@ class FwAddrmapGenerator extends RdlBaseGenerator {
override generateHeader(String namespace) {'''
/*
* Copyright (c) 2019 -2022 MINRES Technologies GmbH
* Copyright (c) 2023 MINRES Technologies GmbH
*
* SPDX-License-Identifier: Apache-2.0
*

View File

@ -23,7 +23,7 @@ class FwRegfileGenerator extends RdlBaseGenerator{
override String generateHeader(String namespace)'''
/*
* Copyright (c) 2019 -2022 MINRES Technologies GmbH
* Copyright (c) 2023 MINRES Technologies GmbH
*
* SPDX-License-Identifier: Apache-2.0
*
@ -91,9 +91,7 @@ class FwRegfileGenerator extends RdlBaseGenerator{
«ENDFOR»
«ENDFOR»
};
#endif // _«componentDefinition.name.toUpperCase»_H_
'''
'''
override generateSource(String namespace) {
''

View File

@ -30,7 +30,7 @@ class ModuleGenerator extends RdlBaseGenerator {
// if(addrMaps.size==0) return ''
'''
/*
* Copyright (c) 2019 -2022 MINRES Technologies GmbH
* Copyright (c) 2023 MINRES Technologies GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/
@ -63,8 +63,6 @@ class ModuleGenerator extends RdlBaseGenerator {
«FOR ns : namespace.split('::').reverse»
} // namespace «ns»
«ENDFOR»
#endif /* _«namespace.toUpperCase»_«componentDefinition.effectiveName.toUpperCase»_H_ */
'''
}

View File

@ -23,7 +23,7 @@ class RegfileGenerator extends RdlBaseGenerator{
override String generateHeader(String namespace)'''
/*
* Copyright (c) 2019 -2022 MINRES Technologies GmbH
* Copyright (c) 2023 MINRES Technologies GmbH
*
* SPDX-License-Identifier: Apache-2.0
*
@ -162,7 +162,6 @@ class RegfileGenerator extends RdlBaseGenerator{
«ENDFOR»
«ENDFOR»
}
'''
override generateSource(String namespace) {