| 1 |
62 |
olivier.gi |
//----------------------------------------------------------------------------
|
| 2 |
|
|
// Copyright (C) 2001 Authors
|
| 3 |
|
|
//
|
| 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
|
| 7 |
|
|
// disclaimer.
|
| 8 |
|
|
//
|
| 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.
|
| 13 |
|
|
//
|
| 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.
|
| 18 |
|
|
//
|
| 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
|
| 22 |
|
|
//
|
| 23 |
|
|
//----------------------------------------------------------------------------
|
| 24 |
|
|
//
|
| 25 |
|
|
// *File Name: openMSP430_fpga.prj
|
| 26 |
|
|
//
|
| 27 |
|
|
// *Author(s):
|
| 28 |
|
|
// - Olivier Girard, olgirard@gmail.com
|
| 29 |
|
|
//
|
| 30 |
|
|
//----------------------------------------------------------------------------
|
| 31 |
|
|
// $Rev: 37 $
|
| 32 |
|
|
// $LastChangedBy: olivier.girard $
|
| 33 |
|
|
// $LastChangedDate: 2009-12-29 21:58:14 +0100 (Tue, 29 Dec 2009) $
|
| 34 |
|
|
//----------------------------------------------------------------------------
|
| 35 |
|
|
|
| 36 |
|
|
//=============================================================================
|
| 37 |
|
|
// FPGA Specific modules
|
| 38 |
|
|
//=============================================================================
|
| 39 |
|
|
`include "../src/arch.v"
|
| 40 |
|
|
`include "../src/openMSP430_fpga.v"
|
| 41 |
|
|
|
| 42 |
|
|
`ifdef SPARTAN3
|
| 43 |
|
|
`include "../src/coregen/spartan3_pmem.v"
|
| 44 |
|
|
`include "../src/coregen/spartan3_dmem.v"
|
| 45 |
|
|
`endif
|
| 46 |
|
|
`ifdef SPARTAN3E
|
| 47 |
|
|
`include "../src/coregen/spartan3e_pmem.v"
|
| 48 |
|
|
`include "../src/coregen/spartan3e_dmem.v"
|
| 49 |
|
|
`endif
|
| 50 |
|
|
`ifdef SPARTAN3A
|
| 51 |
|
|
`include "../src/coregen/spartan3a_pmem.v"
|
| 52 |
|
|
`include "../src/coregen/spartan3a_dmem.v"
|
| 53 |
|
|
`endif
|
| 54 |
|
|
`ifdef SPARTAN3ADSP
|
| 55 |
|
|
`include "../src/coregen/spartan3adsp_pmem.v"
|
| 56 |
|
|
`include "../src/coregen/spartan3adsp_dmem.v"
|
| 57 |
|
|
`endif
|
| 58 |
|
|
`ifdef SPARTAN6
|
| 59 |
|
|
`include "../src/coregen/spartan6_pmem.v"
|
| 60 |
|
|
`include "../src/coregen/spartan6_dmem.v"
|
| 61 |
|
|
`endif
|
| 62 |
|
|
`ifdef VIRTEX4
|
| 63 |
|
|
`include "../src/coregen/virtex4_pmem.v"
|
| 64 |
|
|
`include "../src/coregen/virtex4_dmem.v"
|
| 65 |
|
|
`endif
|
| 66 |
|
|
`ifdef VIRTEX5
|
| 67 |
|
|
`include "../src/coregen/virtex5_pmem.v"
|
| 68 |
|
|
`include "../src/coregen/virtex5_dmem.v"
|
| 69 |
|
|
`endif
|
| 70 |
|
|
`ifdef VIRTEX6
|
| 71 |
|
|
`include "../src/coregen/virtex6_pmem.v"
|
| 72 |
|
|
`include "../src/coregen/virtex6_dmem.v"
|
| 73 |
|
|
`endif
|
| 74 |
|
|
|
| 75 |
|
|
|
| 76 |
|
|
//=============================================================================
|
| 77 |
|
|
// openMSP430
|
| 78 |
|
|
//=============================================================================
|
| 79 |
|
|
|
| 80 |
|
|
`include "../../../rtl/verilog/openMSP430.v"
|
| 81 |
|
|
`include "../../../rtl/verilog/omsp_frontend.v"
|
| 82 |
|
|
`include "../../../rtl/verilog/omsp_execution_unit.v"
|
| 83 |
|
|
`include "../../../rtl/verilog/omsp_register_file.v"
|
| 84 |
|
|
`include "../../../rtl/verilog/omsp_alu.v"
|
| 85 |
|
|
`include "../../../rtl/verilog/omsp_mem_backbone.v"
|
| 86 |
|
|
`include "../../../rtl/verilog/omsp_clock_module.v"
|
| 87 |
|
|
`include "../../../rtl/verilog/omsp_sfr.v"
|
| 88 |
|
|
`include "../../../rtl/verilog/omsp_watchdog.v"
|
| 89 |
111 |
olivier.gi |
`include "../../../rtl/verilog/omsp_sync_cell.v"
|
| 90 |
62 |
olivier.gi |
|
| 91 |
|
|
`include "../src/openMSP430_defines.v"
|
| 92 |
|
|
`ifdef DBG_EN
|
| 93 |
|
|
`include "../../../rtl/verilog/omsp_dbg.v"
|
| 94 |
|
|
`include "../../../rtl/verilog/omsp_dbg_uart.v"
|
| 95 |
|
|
`include "../src/openMSP430_defines.v"
|
| 96 |
|
|
`ifdef DBG_HWBRK_0
|
| 97 |
|
|
`include "../../../rtl/verilog/omsp_dbg_hwbrk.v"
|
| 98 |
|
|
`endif
|
| 99 |
|
|
`endif
|
| 100 |
68 |
olivier.gi |
`include "../src/openMSP430_defines.v"
|
| 101 |
|
|
`ifdef MULTIPLIER
|
| 102 |
|
|
`include "../../../rtl/verilog/omsp_multiplier.v"
|
| 103 |
|
|
`endif
|