aboutsummaryrefslogtreecommitdiff
path: root/model/riscv_xlen32.sail
blob: fb883acdc7cf00d26dd2c00f78e10d90da2f078d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*=======================================================================================*/
/*  This Sail RISC-V architecture model, comprising all files and                        */
/*  directories except where otherwise noted is subject the BSD                          */
/*  two-clause license in the LICENSE file.                                              */
/*                                                                                       */
/*  SPDX-License-Identifier: BSD-2-Clause                                                */
/*=======================================================================================*/

/* Define the XLEN value for the architecture. */

type xlen       : Int = 32
type xlen_bytes : Int = 4
type xlenbits         = bits(xlen)