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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [boards/] [xilinx/] [ml501/] [rtl/] [verilog/] [include/] [orpsoc-defines.v] - Diff between revs 415 and 530

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

Rev 415 Rev 530
Line 72... Line 72...
//`define ARBITER_IBUS_REGISTERING
//`define ARBITER_IBUS_REGISTERING
`define ARBITER_IBUS_WATCHDOG
`define ARBITER_IBUS_WATCHDOG
// Watchdog timeout: 2^(ARBITER_IBUS_WATCHDOG_TIMER_WIDTH+1) cycles
// 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
// 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.
// 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
`define ARBITER_IBUS_WATCHDOG_TIMER_WIDTH 20
 
`else
 
 `define ARBITER_IBUS_WATCHDOG_TIMER_WIDTH 6
 
`endif
 
 
// Data bus arbiter
// Data bus arbiter
 
 
//`define ARBITER_DBUS_REGISTERING
//`define ARBITER_DBUS_REGISTERING
`define ARBITER_DBUS_WATCHDOG
`define ARBITER_DBUS_WATCHDOG
// Watchdog timeout: 2^(ARBITER_DBUS_WATCHDOG_TIMER_WIDTH+1) cycles
// Watchdog timeout: 2^(ARBITER_DBUS_WATCHDOG_TIMER_WIDTH+1) cycles
 
`ifdef XILINX_DDR2
`define ARBITER_DBUS_WATCHDOG_TIMER_WIDTH 20
`define ARBITER_DBUS_WATCHDOG_TIMER_WIDTH 20
 
`else
 
 `define ARBITER_DBUS_WATCHDOG_TIMER_WIDTH 6
 
`endif
 
 
// Byte bus (peripheral bus) arbiter
// Byte bus (peripheral bus) arbiter
// Don't really need the watchdog here - the databus will pick it up
// Don't really need the watchdog here - the databus will pick it up
//`define ARBITER_BYTEBUS_WATCHDOG
//`define ARBITER_BYTEBUS_WATCHDOG
// Watchdog timeout: 2^(ARBITER_BYTEBUS_WATCHDOG_TIMER_WIDTH+1) cycles
// Watchdog timeout: 2^(ARBITER_BYTEBUS_WATCHDOG_TIMER_WIDTH+1) cycles

powered by: WebSVN 2.1.0

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