Pasar al contenido principal

Resultados relacionados

Resultados totales (Incluyendo duplicados): 15
Encontrada(s) 1 página(s)

RiuNet. Repositorio Institucional de la Universitat Politécnica de Valéncia
Publicación Artículo científico (JournalArticle)

TinyATD: Compressing Auxiliary Tag Directories using tag hashing and set-sampling

  • Andreu-Cerezo, Pablo|||0000-0003-2070-9271
  • López Rodríguez, Pedro Juan|||0000-0003-4544-955X
  • Hernández Luz, Carles|||0000-0003-1192-6223
[EN] Auxiliary Tag Directories (ATD) are hardware structures widely analyzed in academia to estimate the interference that a task experiences when sharing a cache in a multithreaded system. ATDs are used for execution time inflation calculations, reducing power consumption in multiprocessor systems, improving cache replacement, and improving cache prefetching accuracy. However, the commercial adoption of ATD-based approaches seems to be limited due to the area overheads that they impose. We propose TinyATD, a mechanism that aims to improve state-of-the-art ATD area reduction by combining ATD set sampling and tag hashing area reduction techniques to build smaller and more precise ATDs. TinyATD achieves a 41% area reduction for the same error or a 23% error reduction for the same area over the baseline set-sampling when sampling 32 out of 2048 sets. Furthermore, TinyATD offers the stated reduction over a wide array of commonly used LLC replacement policies., The work of Pablo Andreu was supported in part by "GVA" via "Subvenciones para la contratacion de personal investigador predoctoral" under Grant CIACIF/2021/412. The work of Carles Hernandez was partially supported in part by Spanish Ministry of Science, Innovation and Universities under "Ramon y Cajal" under Grant RYC2020-030685-I. This work is partially supported via the ISOLDE European project, with grant number 101112274.
RiuNet. Repositorio Institucional de la Universitat Politécnica de Valéncia
Publicación Tesis de maestría (MasterThesis)

Acceleration of Quantum LDPC Decoding with a RISC-V-Based Vector Processor, Aceleración de la decodificación de LDPC Cuánticos con un procesador vectorial basado en RISC-V, Aceleració de la decodificació de LPDC Cuántics amb un procesador vectorial RISC-V

  • Fernández Andonegui, Iker
[CA] La computació quàntica promet resoldre problemes més enllà de l’abast dels sistemes clàssics, però la seua escalabilitat depén d’una correcció d’errors quàntics (Quantum Error Correction, QEC) eficient. Entre els esquemes disponibles, els codis Quantum Low-Density Parity-Check (QLDPC) destaquen pel seu potencial per a detectar errors en processadors quàntics a gran escala. Al mateix temps, RISC-V ha sorgit com una arquitectura oberta i flexible, i la seua extensió vectorial ofereix un marc adequat per a explorar el paral·lelisme en la descodificació de QLDPC. Aprofitar aquestes capacitats pot ajudar a reduir les altes latències de descodificació que actualment limiten la QEC pràctica. En aquest treball, estudiem com els algorismes QLDPC es poden adaptar a l’extensió vectorial de RISC-V (RVV), i explorem la possibilitat d’introduir instruccions especialitzades per a accelerar encara més les operacions crítiques de descodificació., [EN] Quantum computing promises to solve problems beyond the reach of classical systems, but its scalability depends on efficient quantum error correction (QEC). Among the available schemes, Quantum Low-Density Parity-Check (QLDPC) codes stand out for their potential to detect errors in large-scale quantum processors. At the same time, RISC-V has emerged as an open and flexible architecture, and its vector extension provides a suitable framework to explore parallelism in QLDPC decoding. Leveraging these capabilities can help reduce the high decoding latencies that currently limit practical QEC. In this work, we study how QLDPC algorithms can be adapted to the RISC-V Vector Extension (RVV) and explore the possibility of introducing specialized instructions to further accelerate critical decoding operations., [ES] La computación cuántica promete resolver problemas más allá del alcance de los sistemas clásicos, pero su escalabilidad depende de una corrección de errores cuánticos (Quantum Error Correction, QEC) eficiente. Entre los esquemas disponibles, los códigos Quantum Low-Density Parity-Check (QLDPC) destacan por su potencial para detectar errores en procesadores cuánticos a gran escala. Al mismo tiempo, RISC-V ha surgido como una arquitectura abierta y flexible, y su extensión vectorial ofrece un marco adecuado para explorar el paralelismo en la descodificación de QLDPC. Aprovechar estas capacidades puede ayudar a reducir las altas latencias de descodificación que actualmente limitan la QEC práctica. En este trabajo, estudiamos cómo los algoritmos QLDPC pueden adaptarse a la extensión vectorial de RISC-V (RVV), y exploramos la posibilidad de introducir instrucciones especializadas para acelerar aún más las operaciones críticas de descodificación.
RiuNet. Repositorio Institucional de la Universitat Politécnica de Valéncia
Publicación Artículo científico (JournalArticle)

Expanding SafeSU capabilities by leveraging security frameworks for contention monitoring in complex SoCs

  • Andreu-Cerezo, Pablo|||0000-0003-2070-9271
  • López Rodríguez, Pedro Juan|||0000-0003-4544-955X
  • Hernández Luz, Carles|||0000-0003-1192-6223
  • Alcaide, Sergi
  • Abella, Jaume
[EN] The increased performance requirements of applications running on safety-critical systems have led to the use of complex platforms with several CPUs, GPUs, and AI accelerators. However, higher platform and system complexity challenge performance verification and validation since timing interference across tasks occurs in unobvious ways, hence defeating attempts to optimize application consolidation informedly during design phases and validating that mutual interference across tasks is within bounds during test phases. In that respect, the SafeSU has been proposed to extend inter-task interference monitoring capabilities in simple systems. However, modern mixed-criticality systems are complex, with multilayered interconnects, shared caches, and hardware accelerators. To that end, this paper proposes a non-intrusive add-on approach for monitoring interference across tasks in multilayer heterogeneous systems implemented by leveraging existing security frameworks and the SafeSU infrastructure. The feasibility of the proposed approach has been validated in an RTL RISC-V-based multicore SoC with support for AI hardware acceleration. Our results show that our approach can safely track contention and properly break down contention cycles across the different sources of interference, hence guiding optimization and validation processes., This work has received funding from the Chips Joint Undertaking project ISOLDE no. 101112274 and the Spanish Agencia Estatal de Investigacion PCI2023-143358 grant. Pablo Andreu has received funding from Generalitat Valenciana, Spain via "Subvenciones para la contratacion de personal investigador predoctoral" with reference CIACIF/2021/412. Carles Hernandez is partially supported by Spanish Ministry of Science, Innovation and Universities under "Ramon y Cajal", fellowship No. RYC2020-030685-I. Funding for open access charge: CRUE-Universitat Politecnica de Valencia.
RiuNet. Repositorio Institucional de la Universitat Politécnica de Valéncia
Publicación Artículo científico (JournalArticle)

An Open Source Methodology to Emulate Transient Faults in ASIC Storage Cells Using AMD Ultrascale¿ FPGAs

  • Tuzov, Ilya|||0000-0002-1980-0708
  • de-Andrés-Martínez, David|||0000-0002-4744-3795
  • Ruiz, Juan Carlos|||0000-0001-7678-3513
  • Hernández Luz, Carles|||0000-0003-1192-6223
[EN] The dependability assessment of critical systems must consider the emulation of transient faults, as they pose an important dependability threat for modern VLSI designs. FPGA-based systems are dominated by bit-flips in configuration memory (CM), which are relatively easy to emulate using partial runtime reconfiguration (RTR) FPGA fault injection (FFI) approaches. However, when FPGA is used as an ASIC prototyping platform, transient fault models representative of ASIC designs must be considered, such as bit-flips in sequential logic cells (Flip-Flops and on-chip RAM blocks). Existing RTR-FFI approaches do not adequately cover these faults, as they require the orchestrated manipulation of multiple CM bits for each target logic cell, and the location of these CM bits is unknown (not documented) for modern FPGA generations. This work experimentally formalises the mapping of the necessary CM bits, proposes an enhanced RTR-FFI methodology to emulate bitflips in registers and on-chip RAMs of current-generation AMD Ultrascale+ FPGAs, and provides an upgraded publicly available open source FFI tool (BAFFI, https://gitlab.com/selene-riscv-platform/DAVOS) supporting the proposed methodology. The validity of the proposed FFI approach is demonstrated by comparison with gate-level simulation-based fault injection in a case study of two soft-core processors (MC8051 and NOEL-V)., The ISOLDE project no. Grant 101112274 is supported by the Sponsor Chips Joint Undertaking and its members Austria, Czechia, France, Germany, Italy, Romania, Spain, Sweden and Switzerland. Project DEFADAS, Grant PID2020-120271RB-I00 funded by Sponsor MCIN/AEI/10.13039/501100011033. Carles Hernández is partially supported by the Sponsor Spanish Ministry of Science, Innovation, and Universities under Ramón y Cajal fellowship No. Grant RYC2020-030685-I and the Sponsor Valencian government IFAC project (Grant CISEJI/2022/30).
RiuNet. Repositorio Institucional de la Universitat Politécnica de Valéncia
Publicación Artículo científico (JournalArticle)

HashTAG With CALM: Low-Overhead Hardware Support for Inter-Task Eviction Monitoring

  • Andreu-Cerezo, Pablo|||0000-0003-2070-9271
  • López Rodríguez, Pedro Juan|||0000-0003-4544-955X
  • Hernández Luz, Carles|||0000-0003-1192-6223
[EN] Multicore processors have emerged as the preferred architecture for safetycritical systems due to their significant performance advantages. However, concurrent access by multiple cores to a shared cache induces intercore evictions that generate nondeterministic interference and compromise timing predictability. Static partitioning of the cache among cores is a wellestablished countermeasure that effectively eliminates such evictions but reduces flexibility and system throughput. To accurately estimate inter-core cache contention, Auxiliary Tag Directories (ATDs) are widely adopted. However, ATDs incur substantial hardware area costs, which often motivates the use of heuristic-based reductions. These reduced ATD designs, while more compact, compromise accuracy and therefore are not suitable for safety-critical domains. This paper extends the proposal of HashTAG, a novel approach to accurately upper-bound inter-core eviction interference. HashTAG introduces a safe and lightweight Auxiliary Tag Directory mechanism that tracks which cores are responsible for evicting cache lines used by others, thus measuring contention. We further refine the proposed HashTAG approach by creating CALM, a custom-made memory allocator that significantly improves HashTAG performance in multicore systems. Our results show that no inter-task interference underprediction is possible with HashTAG, making it suitable for the safety domain. HashTAG provides a 47% reduction in the Auxiliary Tag Directory area, presenting perfect measurements on 80% of cases and only a 1% error on maximum inter-core eviction measurements for a HashTAG tag size of ten bits., The work of Pablo Andreu was supported in part by GVA via Subvenciones para la contratación de personal investigador predoctoral under Grant CIACIF/2021/412. The work of Carles Hernández was partially supported in part by Spanish Ministry of Science, Innovation and Universities under Ramón y Cajal under Grant RYC2020-030685-I. This work was supported by ISOLDE European project under Grant 101112274. Funding for open access charge: CRUE-Universitat Politècnica de València.
RiuNet. Repositorio Institucional de la Universitat Politécnica de Valéncia
Publicación Artículo científico (JournalArticle)

Hardware Acceleration for High-Volume Operations of CRYSTALS-Kyber and CRYSTALS-Dilithium

  • Carril, Xavier
  • Kardaris, Charalampos
  • Ribes-González, Jordi
  • Farràs, Oriol
  • Kostalabros, Vatistas
  • González-Jiménez, Joel Ulises
  • Moreto, Miquel
  • Hernández Luz, Carles|||0000-0003-1192-6223
[EN] Many high-demand digital services need to perform several cryptographic operations, such as key exchange or security credentialing, in a concise amount of time. In turn, the security of some of these cryptographic schemes is threatened by advances in quantum computing, as quantum computer could break their security in the near future. Post-quantum cryptography (PQC) is an emerging field that studies cryptographic algorithms that resist such attacks. The National Institute of Standards and Technology (NIST) has selected the CRYSTALSKyber Key Encapsulation Mechanism and the CRYSTALS-Dilithium Digital Signature algorithm as primary PQC standards. In this article, we present field-programmable gate array (FPGA)-based hardware accelerators for high-volume operations of both schemes. We apply high-level synthesis (HLS) for hardware optimization, leveraging a batch processing approach to maximize the memory throughput and applying custom HLS logic to specific algorithmic components. Using reconfigurable FPGAs, we show that our hardware accelerators achieve speedups between 3x and 9x over software baseline implementations, even over ones leveraging CPU vector architectures. Furthermore, the methods used in this study can also be extended to the new CRYSTALS-based NIST FIPS drafts, ML-KEM and ML-DSA, with similar acceleration results., This work was part of the project (ISOLDE) , funded by MICIU/AEI/10.13039/501100011033 and the European Union NextGenerationEU/PRTR under Grant No. PCI2023-143372, and the European Union's Horizon Europe Programme under project Chips Joint Undertaking (JU) under Grant No. 101112274. At the same time, this work has been partially supported by the European HiPEAC Network of Excellence, by the Spanish Ministry of Science and Innovation MCIN/AEI/10.13039/501100011033 (contract PID2019-107255GB-C21) , and by the Government of Catalonia (contract 2021-SGR-763) .X. Carril has the support of the predoctoral programme AGAUR-FI grants (2024 FI-1 00520) Joan Oro from the Secretariat for Universities and Research of the Department of Research and Universities of the Generalitat de Catalunya and theEuropean Social Fund Plus. J. Ribes-Gonzalez and O. Farras are supported by grant 2021-SGR-00115 from the Government of Catalonia, by the project HERMES, funded by INCIBE and by the European Union NextGeneration EU/PRTR, and the project ACITHEC PID2021-124928NB-I00, funded by MCIN/AEI/10.13039/501100011033. C. Hernandez was supported by "Ramony Cajal" fellowship No. RYC2020-030685-I. V. Kostalabros was supported by the Agency for Management of Universityand Research Grants (AGAUR) of the Government of Catalonia under "Ajuts per a la contractacio de personal investigadornovell" fellowship No. 2019FIB01274.
UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

SafeLS: An open source implementation of a lockstep NOEL-V RISC-V core

  • Sarraseca Julian, Marcel
  • Alcaide Portet, Sergi|||0000-0001-8561-7795
  • Fuentes Díaz, Francisco Javier
  • Rodríguez Rivas, Juan Carlos
  • Chang, Feng
  • Lasfar, Ilham
  • Canal Corretger, Ramon|||0000-0003-4542-204X
  • Cazorla Almeida, Francisco Javier
  • Abella Ferrer, Jaume|||0000-0001-7951-4028
Microcontrollers running safety-critical applications with high integrity requirements must provide appropriate safety measures to manage random hardware faults. For instance, automotive safety regulations (e.g., ISO26262) impose the use of diverse redundancy for items at the highest automotive safety integrity level (ASIL), ASIL-D. In the case of computing cores, this is realized with dual core lockstep (DCLS). The advent of the RISC-VISA has made open source hardware gain popularity. However, there are few industrial open source SoCs meeting the requirements of safety-critical systems, and, to our knowledge, none of them provides lockstep cores. This paper presents the realization of a RISC-V open source lockstep core based on Gaisler's NOEL-V core for the space domain, as well as its integration in the SELENE SoC that provides a complete microcontroller synthesizable on FPGA successfully assessed against space, automotive and railway safety-critical applications in the past., This work is part of the European Union’s Horizon 2020 Programme under project KDT Joint Undertaking (JU) under grant agreement No 101112274 (ISOLDE). This work has also been partially supported by the Spanish Ministry of Science and Innovation under grant PID2019-107255GB-C21 funded by MCIN/AEI/10.13039/501100011033., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

Black-Box IP Validation with the SafeTI Traffic Injector: A Success Story

  • Fuentes, Francisco
  • Alcaide Portet, Sergi|||0000-0001-8561-7795
  • Casanova, Raimon
  • Abella Ferrer, Jaume|||0000-0001-7951-4028
Functional and performance validation of high-performance safety-related hardware platforms require generating specific traffic patterns in the network-on-chip (NoC) to test IP components and their integration. Software-only tests offer indirect control on the NoC traffic and are subject to numerous constraints (e.g., the inability to inject bursty traffic synchronously since cores may not be able to generate it explicitly). Instead, hardware traffic injectors, such as the SafeTI are much more versatile and controllable.This paper presents how our SafeTI hardware traffic injector can be used for the validation of an L2 cache in a safety-relevant space MPSoC by Frontgrade Gaisler, and how such validation process allowed identifying a hard-to-detect design flaw that led to decreased available cache space. Overall, our experience shows a specific application of the SafeTI for black-box IP validation and a success story for that application., This work is part of the project (ISOLDE), funded by MCIN/AEI/10.13039/501100011033 and the European Union NextGenerationEU/PRTR under grant PCI2023-143372, and the European Union’s Horizon Europe Programme under project KDT Joint Undertaking (JU) under grant agreement No 101112274. This work has also been partially supported by the Spanish Ministry of Science and Innovation under grant PID2019-107255GB-C21 funded by MCIN/AEI/10.13039/501100011033., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publicación Artículo científico (JournalArticle)

Hardware acceleration for high-volume operations of CRYSTALS-Kyber and CRYSTALS-Dilithium

  • Carril Gil, Xavier|||0009-0008-8392-7579
  • Kardaris, Charalampos
  • Ribes González, Jordi
  • Farràs Ventura, Oriol
  • Hernández Luz, Carles
  • Kostalabros, Vatistas
  • González Jiménez, Joel Ulises
  • Moretó Planas, Miquel|||0000-0002-9848-8758
Many high-demand digital services need to perform several cryptographic operations, such as key exchange or security credentialing, in a concise amount of time. In turn, the security of some of these cryptographic schemes is threatened by advances in quantum computing, as quantum computer could break their security in the near future. Post-Quantum Cryptography (PQC) is an emerging field that studies cryptographic algorithms that resist such attacks. The National Institute of Standards and Technology (NIST) has selected the CRYSTALS-Kyber Key Encapsulation Mechanism and the CRYSTALSDilithium Digital Signature algorithm as primary PQC standards. In this paper, we present FPGA-based hardware accelerators for high-volume operations of both schemes. We apply High-Level Synthesis (HLS) for hardware optimization, leveraging a batch processing approach to maximize the memory throughput, and applying custom HLS logic to specific algorithmic components. Using reconfigurable field-programmable gate arrays (FPGAs), we show that our hardware accelerators achieve speedups between 3x and 9x over software baseline implementations, even over ones leveraging CPU vector architectures. Furthermore, the methods used in this study can also be extended to the new CRYSTALS-based NIST FIPS drafts, ML-KEM and ML-DSA, with similar acceleration results., This work was part of the project (ISOLDE), funded by MICIU/AEI/10.13039/501100011033 and the European Union NextGenerationEU/PRTR under Grant No. PCI2023-143372, and the European Union’s Horizon Europe Programme under project Chips Joint Undertaking (JU) under Grant No. 101112274. At the same time, this work has been partially supported by the European HiPEAC Network of Excellence, by the Spanish Ministry of Science and Innovation MCIN/AEI/ 10.13039/501100011033 (contract PID2019-107255GB-C21), and by the Government of Catalonia (contract 2021-SGR-763). X. Carril has the support of the predoctoral programme AGAUR-FI grants (2024 FI-1 00520) Joan Oró from the Secretariat for Universities and Research of the Department of Research and Universities of the Generalitat de Catalunya and the European Social Fund Plus. J. Ribes-González and O. Farràs are supported by grant 2021-SGR-00115 from the Government of Catalonia, by the project HERMES, funded by INCIBE and by the European Union NextGeneration EU/PRTR, and the project ACITHEC PID2021-124928NB-I00, funded by MCIN/AEI/10.13039/501100011033. C. Hernandez was supported by “Ramón y Cajal” fellowship No. RYC2020-030685-I. V. Kostalabros was supported by the Agency for Management of University and Research Grants (AGAUR) of the Government of Catalonia under “Ajuts per a la contractació de personal investigador novell” fellowship No. 2019FI B01274., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publicación Artículo científico (JournalArticle)

Expanding SafeSU capabilities by leveraging security frameworks for contention monitoring in complex SoCs

  • Andreu, Pablo
  • Alcaide Portet, Sergi|||0000-0001-8561-7795
  • Lopez, Pedro
  • Abella Ferrer, Jaume|||0000-0001-7951-4028
  • Hernandez, Carles
The increased performance requirements of applications running on safety-critical systems have led to the use of complex platforms with several CPUs, GPUs, and AI accelerators. However, higher platform and system complexity challenge performance verification and validation since timing interference across tasks occurs in unobvious ways, hence defeating attempts to optimize application consolidation informedly during design phases and validating that mutual interference across tasks is within bounds during test phases. In that respect, the SafeSU has been proposed to extend inter-task interference monitoring capabilities in simple systems. However, modern mixed-criticality systems are complex, with multilayered interconnects, shared caches, and hardware accelerators. To that end, this paper proposes a non-intrusive add-on approach for monitoring interference across tasks in multilayer heterogeneous systems implemented by leveraging existing security frameworks and the SafeSU infrastructure. The feasibility of the proposed approach has been validated in an RTL RISC-V-based multicore SoC with support for AI hardware acceleration. Our results show that our approach can safely track contention and properly break down contention cycles across the different sources of interference, hence guiding optimization and validation processes., This work has received funding from the Chips Joint Undertaking project ISOLDE no. 101112274 and the Spanish Agencia Estatal de Investigación PCI2023-143358 grant. Pablo Andreu has received funding from Generalitat Valenciana, Spain via “Subvenciones para la contratación de personal investigador predoctoral” with reference CIACIF/2021/412. Carles Hernández is partially supported by Spanish Ministry of Science, Innovation and Universities under “Ramón Cajal”, fellowship No. RYC2020-030685-I. Funding for open access charge: CRUE-Universitat Politecnica de Valencia ., Peer Reviewed
UPCommons. Portal del coneixement obert de la UPC
Publicación Contribución de congreso (ConferenceOutput)

Application of tiny RISC-V: invited paper

  • Abella Ferrer, Jaume|||0000-0001-7951-4028
  • Alcaide Portet, Sergi|||0000-0001-8561-7795
  • Rufart Blasco, Eric
  • Kosmidis, Leonidas
  • Puscasu, Alexandru
  • Stancu, Razvan
  • Buiu, Octavian
  • Ciobanu, Catalin Bogdan
  • Vasile, Costin-Emanuel
  • Bira, Calin
Specialized tiny RISC-V cores, typically coupled with scratchpad memories, offer opportunities to manage application-specific units efficiently and autonomously. In general, safety and crypto RISC-V solutions focus too much on big RISC-V cores. In this work, we discuss the standardization of RISC-V architectures based on tiny cores for crypto applications in the context of the PQC4eMRTD project, and then we present key practical contributions from ISOLDE where a tiny RISC-V controller manages a statistics unit (SafeSU) and a traffic injector (SafeTI), both allowing to implement a number of safety and security-related services. The tiny controller builds on scratchpads rather than on cache memories to enhance controllability. Furthermore, a hardware FFT accelerator is coupled to the scratchpad memory developed in ISOLDE, enabling signal processing within the same controlled memory paradigm. This architecture demonstrates a flexible solution for supporting diverse applications, including signal processing, monitoring, and other custom workloads on tiny RISC-V-based systems., This work was supported by a grant from the Ministry of Re-search, Innovation and Digitization, CNCS/CCCDI - UEFISCDI,project numbers PN-IV-P8-8.1-PME-2024-0022 and PN-IV-P8-8.1-PME-2024-0009 within PNCDI IV.The ISOLDE project, nr. 101112274, is supported by the ChipsJoint Undertaking and its members Austria, Czechia, France, Ger-many, Italy, Romania, Spain, Sweden, Switzerland.The research leading to these results has received funding fromthe European Union’s Horizon Europe Programme under the Nim-bleAI Project (www.nimbleai.eu), grant agreement num. 101070679and the European Union’s Cybersecurity Competence Centre un-der Grant Project No 101190400 (PQC4eMRTD – https://www.pqc4emrtd-project.eu/). This work has also been supported byproject PID2024-155745OB-I00 (IAFE) funded by SpanishMICIU/AEI/10.13039/501100011033 / FEDER, UE, and by the MI-CIU/AEI/10.13039/501100011033 and the European Union NextGen-erationEU/PRTR under grant PCI2023-143372., Peer Reviewed
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

SafeLS: An open source implementation of a lockstep NOEL-V RISC-V core

  • Sarraseca Julian, Marcel
  • Alcaide Portet, Sergi
  • Fuentes Díaz, Francisco Javier
  • Rodríguez Rivas, Juan Carlos
  • Chang, Feng
  • Lasfar, Ilham
  • Canal Corretger, Ramon
  • Cazorla Almeida, Francisco Javier
  • Abella Ferrer, Jaume
Microcontrollers running safety-critical applications with high integrity requirements must provide appropriate safety measures to manage random hardware faults. For instance, automotive safety regulations (e.g., ISO26262) impose the use of diverse redundancy for items at the highest automotive safety integrity level (ASIL), ASIL-D. In the case of computing cores, this is realized with dual core lockstep (DCLS). The advent of the RISC-VISA has made open source hardware gain popularity. However, there are few industrial open source SoCs meeting the requirements of safety-critical systems, and, to our knowledge, none of them provides lockstep cores. This paper presents the realization of a RISC-V open source lockstep core based on Gaisler's NOEL-V core for the space domain, as well as its integration in the SELENE SoC that provides a complete microcontroller synthesizable on FPGA successfully assessed against space, automotive and railway safety-critical applications in the past., This work is part of the European Union’s Horizon 2020 Programme under project KDT Joint Undertaking (JU) under grant agreement No 101112274 (ISOLDE). This work has also been partially supported by the Spanish Ministry of Science and Innovation under grant PID2019-107255GB-C21 funded by MCIN/AEI/10.13039/501100011033., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publicación Contribución de congreso (ConferenceOutput)

Black-Box IP Validation with the SafeTI Traffic Injector: A Success Story

  • Fuentes, Francisco
  • Alcaide Portet, Sergi
  • Casanova, Raimon
  • Abella Ferrer, Jaume
Functional and performance validation of high-performance safety-related hardware platforms require generating specific traffic patterns in the network-on-chip (NoC) to test IP components and their integration. Software-only tests offer indirect control on the NoC traffic and are subject to numerous constraints (e.g., the inability to inject bursty traffic synchronously since cores may not be able to generate it explicitly). Instead, hardware traffic injectors, such as the SafeTI are much more versatile and controllable.This paper presents how our SafeTI hardware traffic injector can be used for the validation of an L2 cache in a safety-relevant space MPSoC by Frontgrade Gaisler, and how such validation process allowed identifying a hard-to-detect design flaw that led to decreased available cache space. Overall, our experience shows a specific application of the SafeTI for black-box IP validation and a success story for that application., This work is part of the project (ISOLDE), funded by MCIN/AEI/10.13039/501100011033 and the European Union NextGenerationEU/PRTR under grant PCI2023-143372, and the European Union’s Horizon Europe Programme under project KDT Joint Undertaking (JU) under grant agreement No 101112274. This work has also been partially supported by the Spanish Ministry of Science and Innovation under grant PID2019-107255GB-C21 funded by MCIN/AEI/10.13039/501100011033., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publicación Artículo científico (JournalArticle)

Hardware acceleration for high-volume operations of CRYSTALS-Kyber and CRYSTALS-Dilithium

  • Carril Gil, Xavier
  • Kardaris, Charalampos
  • Ribes González, Jordi
  • Farràs Ventura, Oriol
  • Hernández Luz, Carles
  • Kostalabros, Vatistas
  • González Jiménez, Joel Ulises
  • Moretó Planas, Miquel
Many high-demand digital services need to perform several cryptographic operations, such as key exchange or security credentialing, in a concise amount of time. In turn, the security of some of these cryptographic schemes is threatened by advances in quantum computing, as quantum computer could break their security in the near future. Post-Quantum Cryptography (PQC) is an emerging field that studies cryptographic algorithms that resist such attacks. The National Institute of Standards and Technology (NIST) has selected the CRYSTALS-Kyber Key Encapsulation Mechanism and the CRYSTALSDilithium Digital Signature algorithm as primary PQC standards. In this paper, we present FPGA-based hardware accelerators for high-volume operations of both schemes. We apply High-Level Synthesis (HLS) for hardware optimization, leveraging a batch processing approach to maximize the memory throughput, and applying custom HLS logic to specific algorithmic components. Using reconfigurable field-programmable gate arrays (FPGAs), we show that our hardware accelerators achieve speedups between 3x and 9x over software baseline implementations, even over ones leveraging CPU vector architectures. Furthermore, the methods used in this study can also be extended to the new CRYSTALS-based NIST FIPS drafts, ML-KEM and ML-DSA, with similar acceleration results., This work was part of the project (ISOLDE), funded by MICIU/AEI/10.13039/501100011033 and the European Union NextGenerationEU/PRTR under Grant No. PCI2023-143372, and the European Union’s Horizon Europe Programme under project Chips Joint Undertaking (JU) under Grant No. 101112274. At the same time, this work has been partially supported by the European HiPEAC Network of Excellence, by the Spanish Ministry of Science and Innovation MCIN/AEI/ 10.13039/501100011033 (contract PID2019-107255GB-C21), and by the Government of Catalonia (contract 2021-SGR-763). X. Carril has the support of the predoctoral programme AGAUR-FI grants (2024 FI-1 00520) Joan Oró from the Secretariat for Universities and Research of the Department of Research and Universities of the Generalitat de Catalunya and the European Social Fund Plus. J. Ribes-González and O. Farràs are supported by grant 2021-SGR-00115 from the Government of Catalonia, by the project HERMES, funded by INCIBE and by the European Union NextGeneration EU/PRTR, and the project ACITHEC PID2021-124928NB-I00, funded by MCIN/AEI/10.13039/501100011033. C. Hernandez was supported by “Ramón y Cajal” fellowship No. RYC2020-030685-I. V. Kostalabros was supported by the Agency for Management of University and Research Grants (AGAUR) of the Government of Catalonia under “Ajuts per a la contractació de personal investigador novell” fellowship No. 2019FI B01274., Peer Reviewed, Postprint (author's final draft)
Recercat. Dipósit de la Recerca de Catalunya
Publicación Artículo científico (JournalArticle)

Expanding SafeSU capabilities by leveraging security frameworks for contention monitoring in complex SoCs

  • Andreu, Pablo
  • Alcaide Portet, Sergi
  • Lopez, Pedro
  • Abella Ferrer, Jaume
  • Hernandez, Carles
The increased performance requirements of applications running on safety-critical systems have led to the use of complex platforms with several CPUs, GPUs, and AI accelerators. However, higher platform and system complexity challenge performance verification and validation since timing interference across tasks occurs in unobvious ways, hence defeating attempts to optimize application consolidation informedly during design phases and validating that mutual interference across tasks is within bounds during test phases. In that respect, the SafeSU has been proposed to extend inter-task interference monitoring capabilities in simple systems. However, modern mixed-criticality systems are complex, with multilayered interconnects, shared caches, and hardware accelerators. To that end, this paper proposes a non-intrusive add-on approach for monitoring interference across tasks in multilayer heterogeneous systems implemented by leveraging existing security frameworks and the SafeSU infrastructure. The feasibility of the proposed approach has been validated in an RTL RISC-V-based multicore SoC with support for AI hardware acceleration. Our results show that our approach can safely track contention and properly break down contention cycles across the different sources of interference, hence guiding optimization and validation processes., This work has received funding from the Chips Joint Undertaking project ISOLDE no. 101112274 and the Spanish Agencia Estatal de Investigación PCI2023-143358 grant. Pablo Andreu has received funding from Generalitat Valenciana, Spain via “Subvenciones para la contratación de personal investigador predoctoral” with reference CIACIF/2021/412. Carles Hernández is partially supported by Spanish Ministry of Science, Innovation and Universities under “Ramón Cajal”, fellowship No. RYC2020-030685-I. Funding for open access charge: CRUE-Universitat Politecnica de Valencia ., Peer Reviewed, Postprint (published version)