1 //----------------------------------------------------------------------------
2 // Copyright (C) 2001 Authors
4 // This source file may be used and distributed without restriction provided
5 // that this copyright statement is not removed from the file and that any
6 // derivative work contains the original copyright notice and the associated
9 // This source file is free software; you can redistribute it and/or modify
10 // it under the terms of the GNU Lesser General Public License as published
11 // by the Free Software Foundation; either version 2.1 of the License, or
12 // (at your option) any later version.
14 // This source is distributed in the hope that it will be useful, but WITHOUT
15 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
17 // License for more details.
19 // You should have received a copy of the GNU Lesser General Public License
20 // along with this source; if not, write to the Free Software Foundation,
21 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23 //----------------------------------------------------------------------------
25 // *File Name: openMSP430_undefines.v
27 // *Module Description:
28 // openMSP430 Verilog `undef file
31 // - Olivier Girard, olgirard@gmail.com
33 //----------------------------------------------------------------------------
35 // $LastChangedBy: olivier.girard $
36 // $LastChangedDate: 2009-08-30 18:39:26 +0200 (Sun, 30 Aug 2009) $
37 //----------------------------------------------------------------------------
39 //----------------------------------------------------------------------------
40 // SYSTEM CONFIGURATION
41 //----------------------------------------------------------------------------
43 // Program Memory Size:
53 // Include/Exclude Hardware Multiplier
58 //----------------------------------------------------------------------------
59 // REMOTE DEBUGGING INTERFACE CONFIGURATION
60 //----------------------------------------------------------------------------
62 // Include Debug interface
67 // Debug interface selection
75 // Number of hardware breakpoints
90 //==========================================================================//
91 //==========================================================================//
92 //==========================================================================//
93 //==========================================================================//
94 //===== SYSTEM CONSTANTS --- !!!!!!!! DO NOT EDIT !!!!!!!! =====//
95 //==========================================================================//
96 //==========================================================================//
97 //==========================================================================//
98 //==========================================================================//
100 // Program and Data Memory sizes
101 `ifdef PMEM_SIZE_59_KB
102 `undef PMEM_SIZE_59_KB
104 `ifdef PMEM_SIZE_55_KB
105 `undef PMEM_SIZE_55_KB
107 `ifdef PMEM_SIZE_54_KB
108 `undef PMEM_SIZE_54_KB
110 `ifdef PMEM_SIZE_51_KB
111 `undef PMEM_SIZE_51_KB
113 `ifdef PMEM_SIZE_48_KB
114 `undef PMEM_SIZE_48_KB
116 `ifdef PMEM_SIZE_41_KB
117 `undef PMEM_SIZE_41_KB
119 `ifdef PMEM_SIZE_32_KB
120 `undef PMEM_SIZE_32_KB
122 `ifdef PMEM_SIZE_24_KB
123 `undef PMEM_SIZE_24_KB
125 `ifdef PMEM_SIZE_16_KB
126 `undef PMEM_SIZE_16_KB
128 `ifdef PMEM_SIZE_12_KB
129 `undef PMEM_SIZE_12_KB
131 `ifdef PMEM_SIZE_8_KB
132 `undef PMEM_SIZE_8_KB
134 `ifdef PMEM_SIZE_4_KB
135 `undef PMEM_SIZE_4_KB
137 `ifdef PMEM_SIZE_2_KB
138 `undef PMEM_SIZE_2_KB
140 `ifdef PMEM_SIZE_1_KB
141 `undef PMEM_SIZE_1_KB
143 `ifdef DMEM_SIZE_32_KB
144 `undef DMEM_SIZE_32_KB
146 `ifdef DMEM_SIZE_24_KB
147 `undef DMEM_SIZE_24_KB
149 `ifdef DMEM_SIZE_16_KB
150 `undef DMEM_SIZE_16_KB
152 `ifdef DMEM_SIZE_10_KB
153 `undef DMEM_SIZE_10_KB
155 `ifdef DMEM_SIZE_8_KB
156 `undef DMEM_SIZE_8_KB
158 `ifdef DMEM_SIZE_5_KB
159 `undef DMEM_SIZE_5_KB
161 `ifdef DMEM_SIZE_4_KB
162 `undef DMEM_SIZE_4_KB
164 `ifdef DMEM_SIZE_2p5_KB
165 `undef DMEM_SIZE_2p5_KB
167 `ifdef DMEM_SIZE_2_KB
168 `undef DMEM_SIZE_2_KB
170 `ifdef DMEM_SIZE_1_KB
171 `undef DMEM_SIZE_1_KB
173 `ifdef DMEM_SIZE_512_B
174 `undef DMEM_SIZE_512_B
176 `ifdef DMEM_SIZE_256_B
177 `undef DMEM_SIZE_256_B
179 `ifdef DMEM_SIZE_128_B
180 `undef DMEM_SIZE_128_B
195 // Data Memory Base Adresses
200 // Program & Data Memory most significant address bit (for 16 bit words)
220 // Single-operand arithmetic
272 // Two-operand arithmetic
336 // Execution state machine
380 // ALU control signals
429 // Debug interface CPU_CTL register
452 // Debug interface CPU_STAT register
469 // Debug interface BRKx_CTL register
489 // Basic clock module: BCSCTL1 Control Register
494 // Basic clock module: BCSCTL2 Control Register
502 // Timer A: TACTL Control Register
522 // Timer A: TACCTLx Capture/Compare Control Register
558 // DEBUG INTERFACE EXTRA CONFIGURATION
559 //======================================
561 // Debug interface: Software breakpoint opcode
566 // Debug UART interface auto data synchronization
567 `ifdef DBG_UART_AUTO_SYNC
568 `undef DBG_UART_AUTO_SYNC
571 // Debug UART interface data rate
582 // Enable/Disable the hardware breakpoint RANGE mode
587 // Counter width for the debug interface UART
588 `ifdef DBG_UART_XFER_CNT_W
589 `undef DBG_UART_XFER_CNT_W
593 // MULTIPLIER CONFIGURATION
594 //======================================