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)
9 # Select the default model for the target.
12 riscv32*) riscv_model="RV32G" ;;
13 riscv*) riscv_model="RV64G" ;;
15 SIM_AC_OPTION_DEFAULT_MODEL(${riscv_model})
17 # Select the bitsize of the target.
20 riscv32*) riscv_addr_bitsize=32 ;;
21 riscv*) riscv_addr_bitsize=64 ;;
23 SIM_AC_OPTION_BITSIZE($riscv_addr_bitsize)