A SysML and CLEAN Based Methodology for RISC Processor Micro-Architecture Design

A SysML and CLEAN Based Methodology for RISC Processor Micro-Architecture Design

Zakaria Lakhdara, Salah Merniz
DOI: 10.4018/IJERTCS.2015010105
OnDemand:
(Individual Articles)
Available
$37.50
No Current Special Offers
TOTAL SAVINGS: $37.50

Abstract

Nowadays, processor micro-architectures are becoming more and more complex. Consequently, designers increasingly need powerful abstraction and structuration mechanisms, as well as design methodologies that automatically and formally derive low-level concrete designs from high-level abstract ones. In this context, this paper proposes a methodology for RISC processor micro-architecture design. The proposed methodology uses mainly SysML to model both ISA and MA levels and the functional language CLEAN to describe them. Functional specifications in CLEAN are automatically generated from the ISA and MA models. These specifications, which are executable and formally verifiable, are used for simulation and verification. The proposed approach is validated by a case study that consists of designing the micro-architecture of MIPS processor. It shows how to easily model and generate CLEAN specifications describing the ISA and MA levels. It also illustrates, with multiple cases, how the generated specifications are used to simulate the MA. The results of the simulation phase prove the efficiency of the proposed modeling and code generation techniques.
Article Preview
Top

1. Introduction

The growing complexity of microprocessor micro-architectures necessitates new design methodologies, with automation and powerful mechanisms of abstraction and structuration. A promising and innovative solution, that emerged the last decade, was the introduction of the high-level modelling language UML (Unified Modelling Language) (UML, 2003) in hardware domain. This was motivated by its successful application in software engineering. Since UML was originally created for software systems, researchers had to adapt it to handle the hardware ones. They have created UML profiles such as: UML-SoC (UML-SoC, 2006), MARTE (MARTE, 2009), TUT (Kukkala et al., 2005), Gaspard (Ben Atitallah et al., 2007), and SysML (SysML, 2007) which extends UML with the appropriate constructs for hardware design. Another necessity was bridging the gap between UML high-level description and register transfer level (RTL). For this reason, researchers have created some approaches and tools that transform UML models to the well-practiced Hardware Description Languages (HDL) such as SystemC (SystemC, 2005), VHDL (VHDL, 2009), and Verilog (Verilog, 1995).

The main drawback of these methodologies and approaches is the use of imperative HDLs, as they suffer from the lack of a well-defined semantic definition. Consequently; formally deriving low-level design refinements, that reflect the high-level requirements, becomes a hard task. Therefore, it is necessary first, to validate the generated HDL code before proceeding toward low-level implementations. While some approaches aim at validating the generated HDL code by translating it to formal models, most of the others use simulation-based methods to reach the same purpose. Both approaches suffer from many drawbacks. Formal models are mostly model checking-based. Hence, they still limited by the state explosihu_on problem. On the other hand, simulation-based methods are insufficient to cope with growing complexity, which, according to Moore's law, doubles almost every two years. At best, simulation methods, which also have the disadvantage of lengthening the time-to-market, can only reduce the number of design faults, but never certify design correctness (Merniz, 2008).

In this perspective, we propose a new methodology for RISC processor micro-architecture design. Our methodology uses SysML, to model the Instruction Set Architecture (ISA) and Micro-architecture (MA) levels; and the functional language CLEAN (CLEAN, 2000) as an HDL to describe them.

Our methodology involves:

  • A modelling technique that enables modelling ISA and MA levels of a RISC processor, using three SysML diagrams;

  • A code generation technique that transforms ISA and MA SysML models into their corresponding CLEAN specifications, using our code generator CleanSG.

Complete Article List

Search this Journal:
Reset
Volume 15: 1 Issue (2024): Forthcoming, Available for Pre-Order
Volume 14: 1 Issue (2023)
Volume 13: 4 Issues (2022): 1 Released, 3 Forthcoming
Volume 12: 4 Issues (2021)
Volume 11: 4 Issues (2020)
Volume 10: 4 Issues (2019)
Volume 9: 2 Issues (2018)
Volume 8: 2 Issues (2017)
Volume 7: 2 Issues (2016)
Volume 6: 2 Issues (2015)
Volume 5: 4 Issues (2014)
Volume 4: 4 Issues (2013)
Volume 3: 4 Issues (2012)
Volume 2: 4 Issues (2011)
Volume 1: 4 Issues (2010)
View Complete Journal Contents Listing