mirror of
https://github.com/Minres/RDL-Editor.git
synced 2024-12-21 06:58:04 +01:00
adds more fixes for #7
This commit is contained in:
parent
80ebbbea0f
commit
52c0c1d9a6
@ -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_ */
|
||||
'''
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
*
|
||||
|
@ -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) {
|
||||
''
|
||||
|
@ -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_ */
|
||||
'''
|
||||
}
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user