URL
https://opencores.org/ocsvn/pci/pci/trunk
[/] [pci/] [tags/] [rel_7/] [bench/] [verilog/] [pci_testbench_defines.v] - Diff between revs 104 and 106
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 104 |
Rev 106 |
Line 77... |
Line 77... |
// setup and hold time definitions for WISHBONE - used in BFMs for signal generation
|
// setup and hold time definitions for WISHBONE - used in BFMs for signal generation
|
`define Tsetup 3
|
`define Tsetup 3
|
`define Thold 1
|
`define Thold 1
|
|
|
// how many clock cycles should model wait for design's response - integer 32 bit value
|
// how many clock cycles should model wait for design's response - integer 32 bit value
|
`define WAIT_FOR_RESPONSE 6
|
`define WAIT_FOR_RESPONSE 10
|
|
|
// maximum number of transactions allowed in single call to block or cab transfer routines
|
// maximum number of transactions allowed in single call to block or cab transfer routines
|
`define MAX_BLK_SIZE 4096
|
`define MAX_BLK_SIZE 4096
|
|
|
// maximum retry terminations allows for WISHBONE master to repeat an access
|
// maximum retry terminations allows for WISHBONE master to repeat an access
|
Line 90... |
Line 90... |
|
|
// some common types and defines
|
// some common types and defines
|
`define WB_ADDR_WIDTH 32
|
`define WB_ADDR_WIDTH 32
|
`define WB_DATA_WIDTH 32
|
`define WB_DATA_WIDTH 32
|
`define WB_SEL_WIDTH `WB_DATA_WIDTH/8
|
`define WB_SEL_WIDTH `WB_DATA_WIDTH/8
|
`define WB_TAG_WIDTH 4
|
`define WB_TAG_WIDTH 5
|
`define WB_ADDR_TYPE [(`WB_ADDR_WIDTH - 1):0]
|
`define WB_ADDR_TYPE [(`WB_ADDR_WIDTH - 1):0]
|
`define WB_DATA_TYPE [(`WB_DATA_WIDTH - 1):0]
|
`define WB_DATA_TYPE [(`WB_DATA_WIDTH - 1):0]
|
`define WB_SEL_TYPE [(`WB_SEL_WIDTH - 1):0]
|
`define WB_SEL_TYPE [(`WB_SEL_WIDTH - 1):0]
|
`define WB_TAG_TYPE [(`WB_TAG_WIDTH - 1):0]
|
`define WB_TAG_TYPE [(`WB_TAG_WIDTH - 1):0]
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.