#
# LEON3 configuration written in linux configuration language
#
# Written by Jiri Gaisler, Gaisler Research
#
# Comments and bug reports to support@gaisler.com
#
#

#define_bool CONFIG_MCTRL_RMW y
define_bool CONFIG_HAS_SHARED_GRFPU y

mainmenu_name "LEON3MP Design Configuration"

mainmenu_option next_comment
  comment 'Synthesis      '
  source lib/techmap/gencomp/tech.in
endmenu

mainmenu_option next_comment
  comment 'Clock generation'
  source lib/techmap/clocks/clkgen.in
endmenu

source lib/gaisler/leon3/leon3.in
source lib/grlib/amba/amba.in

mainmenu_option next_comment
  comment 'Debug Link           '
  source lib/gaisler/jtag/jtag.in
endmenu

mainmenu_option next_comment
  comment 'Memory controllers             '
    source lib/gaisler/memctrl/sdctrl.in
    source lib/gaisler/misc/ahbstat.in
    source lib/gaisler/spi/spimctrl.in
endmenu

mainmenu_option next_comment
comment 'Peripherals             '

  mainmenu_option next_comment
  comment 'On-chip RAM/ROM                 '
    source lib/gaisler/misc/ahbrom.in
    source lib/gaisler/misc/ahbram.in
  endmenu

  mainmenu_option next_comment
  comment 'UARTs, timers and I/O port         '
    source lib/gaisler/uart/uart1.in
    source lib/gaisler/irqmp/irqmp.in
    source lib/gaisler/misc/gptimer.in
    source lib/gaisler/misc/grgpio.in
    source lib/gaisler/misc/grgpio2.in
  endmenu

  mainmenu_option next_comment
  comment 'I2C master         '
    source lib/gaisler/i2c/i2c.in
  endmenu
  
  source lib/gaisler/spi/spictrl.in

endmenu

mainmenu_option next_comment
comment 'VHDL Debugging        '
  source lib/grlib/util/debug.in
endmenu
