1 dnl Process this file with autoconf to produce a configure script.
3 AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
7 SIM_AC_OPTION_ENDIAN(LITTLE)
8 SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
11 # Select the default model for the target.
14 riscv32*) riscv_model="RV32G" ;;
15 riscv*) riscv_model="RV64G" ;;
17 SIM_AC_OPTION_DEFAULT_MODEL(${riscv_model})
19 # Select the bitsize of the target.
22 riscv32*) riscv_addr_bitsize=32 ;;
23 riscv*) riscv_addr_bitsize=64 ;;
25 SIM_AC_OPTION_BITSIZE($riscv_addr_bitsize)