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

Subversion Repositories pci

[/] [pci/] [tags/] [rel_7/] [bench/] [verilog/] [pci_testbench_defines.v] - Diff between revs 92 and 104

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

Rev 92 Rev 104
Line 12... Line 12...
    // 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 2
    //`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 period in ns
    `define WB_FREQ 0.033
    `define WB_PERIOD 30.0
 
 
    // 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 !
    `define TAR0_BASE_ADDR_0    32'h1000_0000
    `define TAR0_BASE_ADDR_0    32'h1000_0000
    `define TAR0_BASE_ADDR_1    32'h2000_0000
    `define TAR0_BASE_ADDR_1    32'h2000_0000
    `define TAR0_BASE_ADDR_2    32'h4000_0000
    `define TAR0_BASE_ADDR_2    32'h4000_0000
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)
//===================================================================================
//===================================================================================

powered by: WebSVN 2.1.0

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