1 |
2 |
dgisselq |
///////////////////////////////////////////////////////////////////////////
|
2 |
|
|
//
|
3 |
|
|
// Filename: flashconfig.v
|
4 |
|
|
//
|
5 |
|
|
// Project: Wishbone Controlled Quad SPI Flash Controller
|
6 |
|
|
//
|
7 |
|
|
// Purpose: A configuration file, separated from the controller file, so
|
8 |
|
|
// that multiple files can use the same wishbone Quad Spi Flash
|
9 |
|
|
// controller, while each having a separate configuration. Currently,
|
10 |
|
|
// the configuration only includes whether the flash is read only or not.
|
11 |
|
|
// Other configuration options may be added later.
|
12 |
|
|
//
|
13 |
|
|
//
|
14 |
|
|
// Creator: Dan Gisselquist
|
15 |
|
|
// Gisselquist Technology, LLC
|
16 |
|
|
//
|
17 |
|
|
///////////////////////////////////////////////////////////////////////////
|
18 |
|
|
//
|
19 |
|
|
// Copyright (C) 2015, Gisselquist Technology, LLC
|
20 |
|
|
//
|
21 |
|
|
// This program is free software (firmware): you can redistribute it and/or
|
22 |
|
|
// modify it under the terms of the GNU General Public License as published
|
23 |
|
|
// by the Free Software Foundation, either version 3 of the License, or (at
|
24 |
|
|
// your option) any later version.
|
25 |
|
|
//
|
26 |
|
|
// This program is distributed in the hope that it will be useful, but WITHOUT
|
27 |
|
|
// ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
|
28 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
29 |
|
|
// for more details.
|
30 |
|
|
//
|
31 |
|
|
// You should have received a copy of the GNU General Public License along
|
32 |
|
|
// with this program. (It's in the $(ROOT)/doc directory, run make with no
|
33 |
|
|
// target there if the PDF file isn't present.) If not, see
|
34 |
|
|
// <http://www.gnu.org/licenses/> for a copy.
|
35 |
|
|
//
|
36 |
|
|
// License: GPL, v3, as defined and found on www.gnu.org,
|
37 |
|
|
// http://www.gnu.org/licenses/gpl.html
|
38 |
|
|
//
|
39 |
|
|
//
|
40 |
|
|
///////////////////////////////////////////////////////////////////////////
|
41 |
|
|
//
|
42 |
|
|
`ifndef FLASH_CONFIG_V
|
43 |
|
|
`define FLASH_CONFIG_V
|
44 |
|
|
//
|
45 |
|
|
`define READ_ONLY
|
46 |
|
|
//
|
47 |
|
|
`endif
|
48 |
|
|
//
|