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

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [core/] [rtl/] [verilog/] [openMSP430_undefines.v] - Diff between revs 134 and 154

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

Rev 134 Rev 154
Line 44... Line 44...
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
// BASIC SYSTEM CONFIGURATION
// BASIC SYSTEM CONFIGURATION
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
 
 
// Program Memory sizes
// Program Memory sizes
 
`ifdef PMEM_SIZE_CUSTOM
 
`undef PMEM_SIZE_CUSTOM
 
`endif
`ifdef PMEM_SIZE_59_KB
`ifdef PMEM_SIZE_59_KB
`undef PMEM_SIZE_59_KB
`undef PMEM_SIZE_59_KB
`endif
`endif
`ifdef PMEM_SIZE_55_KB
`ifdef PMEM_SIZE_55_KB
`undef PMEM_SIZE_55_KB
`undef PMEM_SIZE_55_KB
Line 88... Line 91...
`ifdef PMEM_SIZE_1_KB
`ifdef PMEM_SIZE_1_KB
`undef PMEM_SIZE_1_KB
`undef PMEM_SIZE_1_KB
`endif
`endif
 
 
// Data Memory sizes
// Data Memory sizes
 
`ifdef DMEM_SIZE_CUSTOM
 
`undef DMEM_SIZE_CUSTOM
 
`endif
`ifdef DMEM_SIZE_32_KB
`ifdef DMEM_SIZE_32_KB
`undef DMEM_SIZE_32_KB
`undef DMEM_SIZE_32_KB
`endif
`endif
`ifdef DMEM_SIZE_24_KB
`ifdef DMEM_SIZE_24_KB
`undef DMEM_SIZE_24_KB
`undef DMEM_SIZE_24_KB
Line 143... Line 149...
 
 
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
// ADVANCED SYSTEM CONFIGURATION (FOR EXPERIENCED USERS)
// ADVANCED SYSTEM CONFIGURATION (FOR EXPERIENCED USERS)
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
 
 
 
// Custom user version number
 
`ifdef USER_VERSION
 
`undef USER_VERSION
 
`endif
 
 
 
// Include/Exclude Watchdog timer
 
`ifdef WATCHDOG
 
`undef WATCHDOG
 
`endif
 
 
 
// Include/Exclude Non-Maskable-Interrupt support
 
`ifdef NMI
 
`undef NMI
 
`endif
 
 
 
// Input synchronizers
 
`ifdef SYNC_NMI
 
`undef SYNC_NMI
 
`endif
 
`ifdef SYNC_CPU_EN
 
`undef SYNC_CPU_EN
 
`endif
 
`ifdef SYNC_DBG_EN
 
`undef SYNC_DBG_EN
 
`endif
 
 
// Peripheral Memory Space:
// Peripheral Memory Space:
 
`ifdef PER_SIZE_CUSTOM
 
`undef PER_SIZE_CUSTOM
 
`endif
`ifdef PER_SIZE_32_KB
`ifdef PER_SIZE_32_KB
`undef PER_SIZE_32_KB
`undef PER_SIZE_32_KB
`endif
`endif
`ifdef PER_SIZE_16_KB
`ifdef PER_SIZE_16_KB
`undef PER_SIZE_16_KB
`undef PER_SIZE_16_KB
Line 171... Line 206...
// Let the CPU break after a PUC occurrence by default
// Let the CPU break after a PUC occurrence by default
`ifdef DBG_RST_BRK_EN
`ifdef DBG_RST_BRK_EN
`undef DBG_RST_BRK_EN
`undef DBG_RST_BRK_EN
`endif
`endif
 
 
// Custom user version number
 
`ifdef USER_VERSION
 
`undef USER_VERSION
 
`endif
 
 
 
// Include/Exclude Watchdog timer
 
`ifdef WATCHDOG
 
`undef WATCHDOG
 
`endif
 
 
 
// Include/Exclude Non-Maskable-Interrupt support
 
`ifdef NMI
 
`undef NMI
 
`endif
 
 
 
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
// EXPERT SYSTEM CONFIGURATION ( !!!! EXPERTS ONLY !!!! )
// EXPERT SYSTEM CONFIGURATION ( !!!! EXPERTS ONLY !!!! )
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
 
 
 
// Serial Debug interface protocol
 
`ifdef DBG_UART
 
`undef DBG_UART
 
`endif
 
`ifdef DBG_I2C
 
`undef DBG_I2C
 
`endif
 
 
 
// Enable the I2C broadcast address
 
`ifdef DBG_I2C_BROADCAST
 
`undef DBG_I2C_BROADCAST
 
`endif
 
 
// Number of hardware breakpoint units
// Number of hardware breakpoint units
`ifdef DBG_HWBRK_0
`ifdef DBG_HWBRK_0
`undef DBG_HWBRK_0
`undef DBG_HWBRK_0
`endif
`endif
`ifdef DBG_HWBRK_1
`ifdef DBG_HWBRK_1
Line 209... Line 243...
// Enable/Disable the hardware breakpoint RANGE mode
// Enable/Disable the hardware breakpoint RANGE mode
`ifdef DBG_HWBRK_RANGE
`ifdef DBG_HWBRK_RANGE
`undef DBG_HWBRK_RANGE
`undef DBG_HWBRK_RANGE
`endif
`endif
 
 
// Input synchronizers
// Custom Program/Data and Peripheral Memory Spaces
`ifdef SYNC_CPU_EN
`undef PMEM_CUSTOM_AWIDTH
`undef SYNC_CPU_EN
`undef PMEM_CUSTOM_SIZE
`endif
`undef DMEM_CUSTOM_AWIDTH
`ifdef SYNC_DBG_EN
`undef DMEM_CUSTOM_SIZE
`undef SYNC_DBG_EN
`undef PER_CUSTOM_AWIDTH
`endif
`undef PER_CUSTOM_SIZE
`ifdef SYNC_DBG_UART_RXD
 
`undef SYNC_DBG_UART_RXD
 
`endif
 
`ifdef SYNC_NMI
 
`undef SYNC_NMI
 
`endif
 
 
 
// ASIC version
// ASIC version
`ifdef ASIC
`ifdef ASIC
`undef ASIC
`undef ASIC
`endif
`endif
Line 257... Line 285...
 
 
// WATCHDOG: Clock Mux
// WATCHDOG: Clock Mux
`ifdef WATCHDOG_MUX
`ifdef WATCHDOG_MUX
`undef WATCHDOG_MUX
`undef WATCHDOG_MUX
`endif
`endif
 
`ifdef WATCHDOG_NOMUX_ACLK
 
`undef WATCHDOG_NOMUX_ACLK
 
`endif
 
 
// MCLK: Clock divider
// MCLK: Clock divider
`ifdef MCLK_DIVIDER
`ifdef MCLK_DIVIDER
`undef MCLK_DIVIDER
`undef MCLK_DIVIDER
`endif
`endif
Line 278... Line 309...
// LOW POWER MODE: CPUOFF
// LOW POWER MODE: CPUOFF
`ifdef CPUOFF_EN
`ifdef CPUOFF_EN
`undef CPUOFF_EN
`undef CPUOFF_EN
`endif
`endif
 
 
// LOW POWER MODE: OSCOFF
 
`ifdef OSCOFF_EN
 
`undef OSCOFF_EN
 
`endif
 
 
 
// LOW POWER MODE: SCG0
// LOW POWER MODE: SCG0
`ifdef SCG0_EN
`ifdef SCG0_EN
`undef SCG0_EN
`undef SCG0_EN
`endif
`endif
 
 
// LOW POWER MODE: SCG1
// LOW POWER MODE: SCG1
`ifdef SCG1_EN
`ifdef SCG1_EN
`undef SCG1_EN
`undef SCG1_EN
`endif
`endif
 
 
 
// LOW POWER MODE: OSCOFF
 
`ifdef OSCOFF_EN
 
`undef OSCOFF_EN
 
`endif
 
 
 
 
//==========================================================================//
//==========================================================================//
//==========================================================================//
//==========================================================================//
//==========================================================================//
//==========================================================================//
//==========================================================================//
//==========================================================================//
Line 703... Line 734...
`endif
`endif
`ifdef DBG_UART_CNT
`ifdef DBG_UART_CNT
`undef DBG_UART_CNT
`undef DBG_UART_CNT
`endif
`endif
 
 
// Debug interface selection
// Debug interface input synchronizer
`ifdef DBG_UART
`ifdef SYNC_DBG_UART_RXD
`undef DBG_UART
`undef SYNC_DBG_UART_RXD
`endif
 
`ifdef DBG_JTAG
 
`undef DBG_JTAG
 
`endif
`endif
 
 
// Enable/Disable the hardware breakpoint RANGE mode
// Enable/Disable the hardware breakpoint RANGE mode
`ifdef HWBRK_RANGE
`ifdef HWBRK_RANGE
`undef HWBRK_RANGE
`undef HWBRK_RANGE

powered by: WebSVN 2.1.0

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