URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [orpsocv2/] [boards/] [xilinx/] [s3adsp1800/] [rtl/] [verilog/] [include/] [orpsoc-defines.v] - Rev 724
Go to most recent revision | Compare with Previous | Blame | View Log
////////////////////////////////////////////////////////////////////// //// //// //// orpsoc-defines //// //// //// //// Top level ORPSoC defines file //// //// //// //// Included in toplevel and testbench //// //// //// ////////////////////////////////////////////////////////////////////// //// //// //// Copyright (C) 2009, 2010 Authors and OPENCORES.ORG //// //// //// //// This source file may be used and distributed without //// //// restriction provided that this copyright statement is not //// //// removed from the file and that any derivative work contains //// //// the original copyright notice and the associated disclaimer. //// //// //// //// This source file is free software; you can redistribute it //// //// and/or modify it under the terms of the GNU Lesser General //// //// Public License as published by the Free Software Foundation; //// //// either version 2.1 of the License, or (at your option) any //// //// later version. //// //// //// //// This source is distributed in the hope that it will be //// //// useful, but WITHOUT ANY WARRANTY; without even the implied //// //// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR //// //// PURPOSE. See the GNU Lesser General Public License for more //// //// details. //// //// //// //// You should have received a copy of the GNU Lesser General //// //// Public License along with this source; if not, download it //// //// from http://www.opencores.org/lgpl.shtml //// //// //// ////////////////////////////////////////////////////////////////////// `define XILINX `define XILINX_PLL `define FPGA_BOARD_XILINX_S3ADSP1800 `define IOCONFIG_XILINX_S3ADSP1800 `define BOARD_CLOCK_PERIOD 8000 // 125 MHz `define JTAG_DEBUG // `define RAM_WB `define XILINX_DDR2 `define UART0 `define GPIO0 `define SPI0 // `define I2C0 `define ETH0 `define ETH0_PHY_RST // end of included module defines - keep this comment line here, scripts depend on it!! // // Arbiter defines // // Uncomment to register things through arbiter (hopefully quicker design) // Instruction bus arbiter //`define ARBITER_IBUS_REGISTERING `define ARBITER_IBUS_WATCHDOG // Watchdog timeout: 2^(ARBITER_IBUS_WATCHDOG_TIMER_WIDTH+1) cycles // This has to be kind of long, as DDR2 initialisation can take a little while // and after reset, and if this is too short we'll always get bus error. `ifdef XILINX_DDR2 `define ARBITER_IBUS_WATCHDOG_TIMER_WIDTH 20 `else `define ARBITER_IBUS_WATCHDOG_TIMER_WIDTH 6 `endif // Data bus arbiter //`define ARBITER_DBUS_REGISTERING `define ARBITER_DBUS_WATCHDOG // Watchdog timeout: 2^(ARBITER_DBUS_WATCHDOG_TIMER_WIDTH+1) cycles `ifdef XILINX_DDR2 `define ARBITER_DBUS_WATCHDOG_TIMER_WIDTH 20 `else `define ARBITER_DBUS_WATCHDOG_TIMER_WIDTH 6 `endif // Byte bus (peripheral bus) arbiter // Don't really need the watchdog here - the databus will pick it up //`define ARBITER_BYTEBUS_WATCHDOG // Watchdog timeout: 2^(ARBITER_BYTEBUS_WATCHDOG_TIMER_WIDTH+1) cycles `define ARBITER_BYTEBUS_WATCHDOG_TIMER_WIDTH 9
Go to most recent revision | Compare with Previous | Blame | View Log