Line 11... |
Line 11... |
|
|
// next two defines are used to generate clocks
|
// next two defines are used to generate clocks
|
// only one at the time can be defined, otherwise testbench won't work
|
// only one at the time can be defined, otherwise testbench won't work
|
// they are used to generate both clocks with same period and phase shift of define's value in nano seconds
|
// they are used to generate both clocks with same period and phase shift of define's value in nano seconds
|
|
|
//`define PCI_CLOCK_FOLLOWS_WB_CLOCK 1
|
`define PCI_CLOCK_FOLLOWS_WB_CLOCK 2
|
`define WB_CLOCK_FOLLOWS_PCI_CLOCK 2
|
//`define WB_CLOCK_FOLLOWS_PCI_CLOCK 2
|
|
|
// wishbone frequncy in GHz
|
// wishbone frequncy in GHz
|
`define WB_FREQ 0.033
|
`define WB_FREQ 0.033
|
|
|
// values of image registers of PCI bridge device - valid are only upper 20 bits, others must be ZERO !
|
// values of image registers of PCI bridge device - valid are only upper 20 bits, others must be ZERO !
|
Line 65... |
Line 65... |
// next 3 defines are derived from previous three defines
|
// next 3 defines are derived from previous three defines
|
`define TAR0_IDSEL_ADDR (32'h0000_0001 << `TAR0_IDSEL_INDEX)
|
`define TAR0_IDSEL_ADDR (32'h0000_0001 << `TAR0_IDSEL_INDEX)
|
`define TAR1_IDSEL_ADDR (32'h0000_0001 << `TAR1_IDSEL_INDEX)
|
`define TAR1_IDSEL_ADDR (32'h0000_0001 << `TAR1_IDSEL_INDEX)
|
`define TAR2_IDSEL_ADDR (32'h0000_0001 << `TAR2_IDSEL_INDEX)
|
`define TAR2_IDSEL_ADDR (32'h0000_0001 << `TAR2_IDSEL_INDEX)
|
|
|
//`define DISABLE_COMPLETION_EXPIRED_TESTS
|
`define DISABLE_COMPLETION_EXPIRED_TESTS
|
`endif
|
`endif
|
|
|
//===================================================================================
|
//===================================================================================
|
// User-unchangeable testbench defines (constants)
|
// User-unchangeable testbench defines (constants)
|
//===================================================================================
|
//===================================================================================
|