TY - GEN
T1 - Optimized HW/FW Generation from an Abstract Register Interface Model
AU - Werner, Michael
AU - Zeraliu, Igli
AU - Han, Zhao
AU - Prebeck, Sebastian
AU - Servardei, Lorenzo
AU - Ecker, Wolfgang
N1 - Publisher Copyright:
© 2020 IEEE.
PY - 2020/8
Y1 - 2020/8
N2 - The HW/SW interface is a common and crucial component in System-on-Chips, enabling the interaction between software and hardware. Generating architecture and firmware code of the interface from extended IP-XACT, SystemRDL, or proprietary formalism is an established technology. This paper describes a new area and performance optimization step in the HW/SW interface generation process that reduces the silicon area and hardware access time through firmware. Three improvements of the underlying formalism are applied to achieve the optimization: First, a decoupling of bit fields from registers, which allows the rearrangement of the memory layout easily. Second, the specification of hardware accesses, which constraints the bit field arrangement. Third, different implementations of bit field accesses, such as memory-mapped or via CPU special registers. The used generation framework follows the approach of model-driven architecture, which includes optimization. Initially, abstract models specify the requirements of the IP or the HW/SW interface. Transformations turn these models into platformindependent models of hardware and firmware. These models are further transformed into implementation-specific models of a target language, such as hardware description languages or C. The proposed optimization has been successfully applied to peripheral variants of a CPU subsystem used in an industrial demonstrator. An area reduction of 19% and a performance gain of 11% has been achieved by optimizing the interfaces.
AB - The HW/SW interface is a common and crucial component in System-on-Chips, enabling the interaction between software and hardware. Generating architecture and firmware code of the interface from extended IP-XACT, SystemRDL, or proprietary formalism is an established technology. This paper describes a new area and performance optimization step in the HW/SW interface generation process that reduces the silicon area and hardware access time through firmware. Three improvements of the underlying formalism are applied to achieve the optimization: First, a decoupling of bit fields from registers, which allows the rearrangement of the memory layout easily. Second, the specification of hardware accesses, which constraints the bit field arrangement. Third, different implementations of bit field accesses, such as memory-mapped or via CPU special registers. The used generation framework follows the approach of model-driven architecture, which includes optimization. Initially, abstract models specify the requirements of the IP or the HW/SW interface. Transformations turn these models into platformindependent models of hardware and firmware. These models are further transformed into implementation-specific models of a target language, such as hardware description languages or C. The proposed optimization has been successfully applied to peripheral variants of a CPU subsystem used in an industrial demonstrator. An area reduction of 19% and a performance gain of 11% has been achieved by optimizing the interfaces.
KW - Code Generation
KW - Model Driven Architecture
KW - Register Interface
UR - http://www.scopus.com/inward/record.url?scp=85096363211&partnerID=8YFLogxK
U2 - 10.1109/DSD51259.2020.00017
DO - 10.1109/DSD51259.2020.00017
M3 - Conference contribution
AN - SCOPUS:85096363211
T3 - Proceedings - Euromicro Conference on Digital System Design, DSD 2020
SP - 35
EP - 39
BT - Proceedings - Euromicro Conference on Digital System Design, DSD 2020
A2 - Trost, Andrej
A2 - Zemva, Andrej
A2 - Skavhaug, Amund
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 23rd Euromicro Conference on Digital System Design, DSD 2020
Y2 - 26 August 2020 through 28 August 2020
ER -