OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [branches/] [stable_0_2_x/] [or1ksim/] [configure.in] - Diff between revs 1448 and 1450

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 1448 Rev 1450
Line 104... Line 104...
        yes) profile="-pg -a" ;;
        yes) profile="-pg -a" ;;
    esac
    esac
])
])
AC_MSG_RESULT(${enable_profiling-no})
AC_MSG_RESULT(${enable_profiling-no})
 
 
simple_execution="0"
execution="1"
 
 
INCLUDES="-I\${top_builddir}/cpu/$CPU_ARCH"
INCLUDES="-I\${top_builddir}/cpu/$CPU_ARCH"
AC_MSG_CHECKING(whether to use simple execution)
AC_MSG_CHECKING(which execution style to use)
AC_ARG_ENABLE(simple,
AC_ARG_ENABLE(execution,
    [  --enable-simple    compiles sim with simple execution], [
    [  --enable-execution Executeion style to use (simple/complex)],
 
    [
    case "$enableval" in
    case "$enableval" in
    no) INCLUDES="-I\${top_builddir}/cpu/$CPU_ARCH" simple_execution="0" ;;
    simple)
    yes) INCLUDES="-I\${top_srcdir}/cpu/$CPU_ARCH" simple_execution="1" ;;
      INCLUDES="-I\${top_srcdir}/cpu/$CPU_ARCH"
 
      execution="0"
 
      AC_MSG_RESULT(simple)
 
      ;;
 
    complex)
 
      INCLUDES="-I\${top_builddir}/cpu/$CPU_ARCH"
 
      execution="1"
 
      AC_MSG_RESULT(complex)
 
      ;;
 
    *)
 
      AC_MSG_ERROR("excecution must one of simple/complex")
 
      ;;
    esac
    esac
])
])
AC_MSG_RESULT(${enable_simple-no})
 
 
 
eth_phy="0"
eth_phy="0"
AC_MSG_CHECKING(whether to enable ethernet phy emulation)
AC_MSG_CHECKING(whether to enable ethernet phy emulation)
AC_ARG_ENABLE(ethphy,
AC_ARG_ENABLE(ethphy,
    [  --enable-ethphy    compiles sim with ethernet phy support], [
    [  --enable-ethphy    compiles sim with ethernet phy support], [
Line 165... Line 177...
 
 
AC_DEFINE_UNQUOTED(RAW_RANGE_STATS, $raw_range_stats)
AC_DEFINE_UNQUOTED(RAW_RANGE_STATS, $raw_range_stats)
AC_DEFINE_UNQUOTED(SET_OV_FLAG, $set_ov_flag)
AC_DEFINE_UNQUOTED(SET_OV_FLAG, $set_ov_flag)
AC_DEFINE_UNQUOTED(ARITH_SET_FLAG, $set_arith_flag)
AC_DEFINE_UNQUOTED(ARITH_SET_FLAG, $set_arith_flag)
AC_DEFINE_UNQUOTED(HAVE_ETH_PHY, $eth_phy)
AC_DEFINE_UNQUOTED(HAVE_ETH_PHY, $eth_phy)
AC_DEFINE_UNQUOTED(SIMPLE_EXECUTION, $simple_execution)
 
AM_CONDITIONAL(SIMPLE_EXECUTION, test x$simple_execution = x1)
AM_CONDITIONAL(SIMPLE_EXECUTION, test x$simple_execution = x1)
 
AC_DEFINE_UNQUOTED(SIMPLE_EXECUTION, $execution == 0)
 
AC_DEFINE_UNQUOTED(COMPLEX_EXECUTION, $execution == 1)
 
 
 
 
AC_MSG_CHECKING(for implementation-specific data)
AC_MSG_CHECKING(for implementation-specific data)
AC_ARG_ENABLE(impl,
AC_ARG_ENABLE(impl,
    [  --enable-impl=     use -specific environment
    [  --enable-impl=     use -specific environment

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.