I want to begin by thanking God for He has given me the opportunity and capability to reach this stage of my life. Then, I would like to offer my sincere gratitude to my advisors, Associate Professor Ahmed Rezine, Professor Petru Eles, and Professor Zebo Peng for giving me the opportunity to pursue a PhD in the Embedded Systems Lab at Linköping University, for sharing their wisdom and knowledge, and most importantly, for allowing me the room to work in my own way. I cannot thank any of my professors enough for their dedication and efforts in creating an excellent working environment. Their input, understanding, and patience have been invaluable in helping me pursue my research goals.I am especially grateful to Ahmed for his continued help and support during the whole time I was at ESLAB. I have been very fortunate to have had Ahmed as my advisor, who brightened up my academic path and supported me through each step of the way. He provided me with the necessary guidance and also ample space to improve my independent thoughts during my PhD. I would like to thank him for teaching me lessons of patience and passion for education that I will carry throughout my life's journey, making sure I was getting all the help I needed and never letting me down. I would also like to thank Professor Ludovic Henrio for his collaboration and contribution as a co-author.The ESLAB and IDA members contributed immensely to my personal and professional time as a PhD student at LiU. My profound appreciation also goes to Amir Aminifar and Breeta SenGupta for welcoming me to ESLAB and helping me take my first steps. Specifically, my most heartfelt thanks to Mina Niknafs and Åsa Kärrman, who were both my colleagues and friends.I would like to take this opportunity and extend my thanks to Professor Mariam Kamkar for all her encouragement and kindness, to the administration at IDA that facilitated my work, and especially to Anne Moe, Inger Norén, and Lene Rosell.Last but not least, I would like to express my deepest gratitude to my parents, to whom I shall always be indebted, for their unconditional love, for raising me, supporting me, but never asking me how much of my PhD was left! To my sweet and adorable little sons who brought joy and adventure vii to our family, who motivated me to take a refreshing break from my studies and contributed to the length of my PhD! To my loving, caring, and patient husband, Meysam, who has always been there for me and whose sacrifices I greatly appreciate and never forget.