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
|