ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Четверг
21 ноября
138799
+++ (14.11.2008 10:01, просмотров: 1355)
Условная компиляция verilog & active hdl - что я делаю не так? В проекте 2 одинаковые корки pci, но с разными define. Выдает замечания на `undef `difine
# Warning: VCP5017 pci2_user_constants.v : (15, 22): Macro PCI_IMAGE2 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (44, 19): Macro WB_IMAGE3 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (2, 14): Macro FPGA is not defined.
# Warning: VCP5017 pci2_user_constants.v : (3, 16): Macro XILINX is not defined.
# Warning: VCP5017 pci2_user_constants.v : (4, 25): Macro WBW_ADDR_LENGTH is not defined.
# Warning: VCP5017 pci2_user_constants.v : (5, 25): Macro WBR_ADDR_LENGTH is not defined.
# Warning: VCP5017 pci2_user_constants.v : (6, 26): Macro PCIW_ADDR_LENGTH is not defined.
# Warning: VCP5017 pci2_user_constants.v : (7, 26): Macro PCIR_ADDR_LENGTH is not defined.
# Warning: VCP5017 pci2_user_constants.v : (8, 34): Macro PCI_FIFO_RAM_ADDR_LENGTH is not defined.
# Warning: VCP5017 pci2_user_constants.v : (9, 33): Macro WB_FIFO_RAM_ADDR_LENGTH is not defined.
# Warning: VCP5017 pci2_user_constants.v : (10, 25): Macro PCI_XILINX_RAMB4 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (11, 27): Macro WB_XILINX_RAMB4 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (12, 25): Macro ACTIVE_LOW_OE is not defined.
# Warning: VCP5017 pci2_user_constants.v : (13, 16): Macro HOST is not defined.
# Warning: VCP5017 pci2_user_constants.v : (14, 24): Macro NO_CNF_IMAGE is not defined.
# Warning: VCP5017 pci2_user_constants.v : (15, 22): Macro PCI_IMAGE2 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (16, 19): Macro PCI_AM0 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (17, 17): Macro PCI_AM1 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (18, 17): Macro PCI_AM2 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (19, 17): Macro PCI_AM3 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (20, 17): Macro PCI_AM4 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (21, 17): Macro PCI_AM5 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (22, 25): Macro PCI_BA0_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (23, 24): Macro PCI_BA1_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (24, 24): Macro PCI_BA2_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (25, 24): Macro PCI_BA3_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (26, 24): Macro PCI_BA4_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (27, 24): Macro PCI_BA5_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (28, 17): Macro PCI_TA0 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (29, 16): Macro PCI_TA1 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (30, 16): Macro PCI_TA2 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (31, 16): Macro PCI_TA3 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (32, 16): Macro PCI_TA4 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (33, 16): Macro PCI_TA5 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (35, 19): Macro PCI_AT_EN0 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (36, 19): Macro PCI_AT_EN1 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (37, 19): Macro PCI_AT_EN2 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (38, 19): Macro PCI_AT_EN3 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (39, 19): Macro PCI_AT_EN4 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (40, 19): Macro PCI_AT_EN5 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (41, 33): Macro WB_NUM_OF_DEC_ADDR_LINES is not defined.
# Warning: VCP5017 pci2_user_constants.v : (42, 19): Macro PCI_IMAGE0 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (43, 19): Macro WB_IMAGE2 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (44, 19): Macro WB_IMAGE3 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (45, 15): Macro WB_BA1 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (46, 15): Macro WB_BA2 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (47, 15): Macro WB_BA3 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (48, 15): Macro WB_BA4 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (49, 15): Macro WB_BA5 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (50, 22): Macro WB_BA1_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (51, 22): Macro WB_BA2_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (52, 22): Macro WB_BA3_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (53, 22): Macro WB_BA4_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (54, 22): Macro WB_BA5_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (55, 15): Macro WB_AM1 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (56, 15): Macro WB_AM2 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (57, 15): Macro WB_AM3 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (58, 15): Macro WB_AM4 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (59, 15): Macro WB_AM5 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (60, 15): Macro WB_TA1 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (61, 15): Macro WB_TA2 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (62, 15): Macro WB_TA3 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (63, 15): Macro WB_TA4 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (64, 15): Macro WB_TA5 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (66, 18): Macro WB_AT_EN1 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (67, 18): Macro WB_AT_EN2 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (68, 18): Macro WB_AT_EN3 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (69, 18): Macro WB_AT_EN4 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (70, 18): Macro WB_AT_EN5 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (71, 23): Macro ADDR_TRAN_IMPL is not defined.
# Warning: VCP5017 pci2_user_constants.v : (72, 23): Macro WB_DECODE_FAST is not defined.
# Warning: VCP5017 pci2_user_constants.v : (73, 30): Macro WB_CONFIGURATION_BASE is not defined.
# Warning: VCP5017 pci2_user_constants.v : (74, 29): Macro REGISTER_WBS_OUTPUTS is not defined.
# Warning: VCP5017 pci2_user_constants.v : (75, 14): Macro PCI33 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (76, 26): Macro HEADER_VENDOR_ID is not defined.
# Warning: VCP5017 pci2_user_constants.v : (77, 26): Macro HEADER_DEVICE_ID is not defined.
# Warning: VCP5017 pci2_user_constants.v : (78, 28): Macro HEADER_REVISION_ID is not defined.
# Warning: VCP5017 pci2_user_constants.v : (79, 33): Macro HEADER_SUBSYS_VENDOR_ID is not defined.
# Warning: VCP5017 pci2_user_constants.v : (80, 26): Macro HEADER_SUBSYS_ID is not defined.
# Warning: VCP5017 pci2_user_constants.v : (81, 24): Macro HEADER_MAX_LAT is not defined.
# Warning: VCP5017 pci2_user_constants.v : (82, 24): Macro HEADER_MIN_GNT is not defined.
# Warning: VCP5017 pci2_user_constants.v : (84, 24): Macro WB_RTY_CNT_MAX is not defined.
# Warning: VCP5017 pci2_user_constants.v : (2, 14): Macro FPGA is not defined.
# Warning: VCP5017 pci2_user_constants.v : (3, 16): Macro XILINX is not defined.
# Warning: VCP5017 pci2_user_constants.v : (4, 25): Macro WBW_ADDR_LENGTH is not defined.
# Warning: VCP5017 pci2_user_constants.v : (5, 25): Macro WBR_ADDR_LENGTH is not defined.
# Warning: VCP5017 pci2_user_constants.v : (6, 26): Macro PCIW_ADDR_LENGTH is not defined.
# Warning: VCP5017 pci2_user_constants.v : (7, 26): Macro PCIR_ADDR_LENGTH is not defined.
# Warning: VCP5017 pci2_user_constants.v : (8, 34): Macro PCI_FIFO_RAM_ADDR_LENGTH is not defined.
# Warning: VCP5017 pci2_user_constants.v : (9, 33): Macro WB_FIFO_RAM_ADDR_LENGTH is not defined.
# Warning: VCP5017 pci2_user_constants.v : (10, 25): Macro PCI_XILINX_RAMB4 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (11, 27): Macro WB_XILINX_RAMB4 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (12, 25): Macro ACTIVE_LOW_OE is not defined.
# Warning: VCP5017 pci2_user_constants.v : (13, 16): Macro HOST is not defined.
# Warning: VCP5017 pci2_user_constants.v : (14, 24): Macro NO_CNF_IMAGE is not defined.
# Warning: VCP5017 pci2_user_constants.v : (15, 22): Macro PCI_IMAGE2 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (16, 19): Macro PCI_AM0 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (17, 17): Macro PCI_AM1 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (18, 17): Macro PCI_AM2 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (19, 17): Macro PCI_AM3 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (20, 17): Macro PCI_AM4 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (21, 17): Macro PCI_AM5 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (22, 25): Macro PCI_BA0_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (23, 24): Macro PCI_BA1_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (24, 24): Macro PCI_BA2_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (25, 24): Macro PCI_BA3_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (26, 24): Macro PCI_BA4_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (27, 24): Macro PCI_BA5_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (28, 17): Macro PCI_TA0 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (29, 16): Macro PCI_TA1 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (30, 16): Macro PCI_TA2 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (31, 16): Macro PCI_TA3 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (32, 16): Macro PCI_TA4 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (33, 16): Macro PCI_TA5 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (35, 19): Macro PCI_AT_EN0 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (36, 19): Macro PCI_AT_EN1 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (37, 19): Macro PCI_AT_EN2 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (38, 19): Macro PCI_AT_EN3 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (39, 19): Macro PCI_AT_EN4 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (40, 19): Macro PCI_AT_EN5 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (41, 33): Macro WB_NUM_OF_DEC_ADDR_LINES is not defined.
# Warning: VCP5017 pci2_user_constants.v : (42, 19): Macro PCI_IMAGE0 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (43, 19): Macro WB_IMAGE2 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (44, 19): Macro WB_IMAGE3 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (45, 15): Macro WB_BA1 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (46, 15): Macro WB_BA2 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (47, 15): Macro WB_BA3 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (48, 15): Macro WB_BA4 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (49, 15): Macro WB_BA5 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (50, 22): Macro WB_BA1_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (51, 22): Macro WB_BA2_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (52, 22): Macro WB_BA3_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (53, 22): Macro WB_BA4_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (54, 22): Macro WB_BA5_MEM_IO is not defined.
# Warning: VCP5017 pci2_user_constants.v : (55, 15): Macro WB_AM1 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (56, 15): Macro WB_AM2 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (57, 15): Macro WB_AM3 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (58, 15): Macro WB_AM4 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (59, 15): Macro WB_AM5 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (60, 15): Macro WB_TA1 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (61, 15): Macro WB_TA2 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (62, 15): Macro WB_TA3 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (63, 15): Macro WB_TA4 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (64, 15): Macro WB_TA5 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (66, 18): Macro WB_AT_EN1 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (67, 18): Macro WB_AT_EN2 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (68, 18): Macro WB_AT_EN3 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (69, 18): Macro WB_AT_EN4 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (70, 18): Macro WB_AT_EN5 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (71, 23): Macro ADDR_TRAN_IMPL is not defined.
# Warning: VCP5017 pci2_user_constants.v : (72, 23): Macro WB_DECODE_FAST is not defined.
# Warning: VCP5017 pci2_user_constants.v : (73, 30): Macro WB_CONFIGURATION_BASE is not defined.
# Warning: VCP5017 pci2_user_constants.v : (74, 29): Macro REGISTER_WBS_OUTPUTS is not defined.
# Warning: VCP5017 pci2_user_constants.v : (75, 14): Macro PCI33 is not defined.
# Warning: VCP5017 pci2_user_constants.v : (76, 26): Macro HEADER_VENDOR_ID is not defined.
# Warning: VCP5017 pci2_user_constants.v : (77, 26): Macro HEADER_DEVICE_ID is not defined.
# Warning: VCP5017 pci2_user_constants.v : (78, 28): Macro HEADER_REVISION_ID is not defined.
# Warning: VCP5017 pci2_user_constants.v : (79, 33): Macro HEADER_SUBSYS_VENDOR_ID is not defined.
# Warning: VCP5017 pci2_user_constants.v : (80, 26): Macro HEADER_SUBSYS_ID is not defined.
# Warning: VCP5017 pci2_user_constants.v : (81, 24): Macro HEADER_MAX_LAT is not defined.
# Warning: VCP5017 pci2_user_constants.v : (82, 24): Macro HEADER_MIN_GNT is not defined.
# Warning: VCP5017 pci2_user_constants.v : (84, 24): Macro WB_RTY_CNT_MAX is not defined.
pci_user_constants.v
`ifdef __PCI2_DEFINES_INCLUDED
 	`undef FPGA
 	`undef XILINX
 	`undef WBW_ADDR_LENGTH
 	`undef WBR_ADDR_LENGTH
 	`undef PCIW_ADDR_LENGTH
 	`undef PCIR_ADDR_LENGTH
 	`undef PCI_FIFO_RAM_ADDR_LENGTH
 	`undef WB_FIFO_RAM_ADDR_LENGTH
	`undef PCI_XILINX_RAMB4
    `undef WB_XILINX_RAMB4
    `undef ACTIVE_LOW_OE
    `undef HOST
    `undef NO_CNF_IMAGE
//    `undef PCI_IMAGE2
    `undef PCI_AM0
 	`undef PCI_AM1
 	`undef PCI_AM2
 	`undef PCI_AM3
 	`undef PCI_AM4
 	`undef PCI_AM5
  	`undef PCI_BA0_MEM_IO
 	`undef PCI_BA1_MEM_IO
 	`undef PCI_BA2_MEM_IO
 	`undef PCI_BA3_MEM_IO
 	`undef PCI_BA4_MEM_IO
 	`undef PCI_BA5_MEM_IO
 	`undef PCI_TA0
	`undef PCI_TA1
	`undef PCI_TA2
	`undef PCI_TA3
	`undef PCI_TA4
	`undef PCI_TA5

	`undef PCI_AT_EN0
	`undef PCI_AT_EN1
	`undef PCI_AT_EN2
	`undef PCI_AT_EN3
	`undef PCI_AT_EN4
	`undef PCI_AT_EN5
	`undef WB_NUM_OF_DEC_ADDR_LINES
	`undef PCI_IMAGE0
 	`undef WB_IMAGE2
// 	`undef WB_IMAGE3
	`undef WB_BA1
	`undef WB_BA2
	`undef WB_BA3
	`undef WB_BA4
	`undef WB_BA5
	`undef WB_BA1_MEM_IO
	`undef WB_BA2_MEM_IO
	`undef WB_BA3_MEM_IO
	`undef WB_BA4_MEM_IO
	`undef WB_BA5_MEM_IO 
	`undef WB_AM1
	`undef WB_AM2
	`undef WB_AM3
	`undef WB_AM4
	`undef WB_AM5
	`undef WB_TA1
	`undef WB_TA2
	`undef WB_TA3
	`undef WB_TA4
	`undef WB_TA5

	`undef WB_AT_EN1
	`undef WB_AT_EN2
	`undef WB_AT_EN3
	`undef WB_AT_EN4
	`undef WB_AT_EN5
	`undef ADDR_TRAN_IMPL 
	`undef WB_DECODE_FAST
	`undef WB_CONFIGURATION_BASE 
	`undef REGISTER_WBS_OUTPUTS
	`undef PCI33
 	`undef HEADER_VENDOR_ID
 	`undef HEADER_DEVICE_ID
 	`undef HEADER_REVISION_ID
 	`undef HEADER_SUBSYS_VENDOR_ID
 	`undef HEADER_SUBSYS_ID
 	`undef HEADER_MAX_LAT
 	`undef HEADER_MIN_GNT
 	`undef REGISTER_WBM_OUTPUTS
 	`undef WB_RTY_CNT_MAX 
`endif

`ifdef PCI1_DEFINES_INCLUDED

`else
`define PCI1_DEFINES_INCLUDED
`define PCI2_DEFINES_INCLUDED
`define FPGA
`define XILINX
`define WBW_ADDR_LENGTH 4
`define WBR_ADDR_LENGTH 4
`define PCIW_ADDR_LENGTH 4
`define PCIR_ADDR_LENGTH 4
..............
`endif
pci2_user_constants.v
`ifdef PCI1_DEFINES_INCLUDED
 	`undef FPGA
 	`undef XILINX
 	`undef WBW_ADDR_LENGTH
 	`undef WBR_ADDR_LENGTH
 	`undef PCIW_ADDR_LENGTH
 	`undef PCIR_ADDR_LENGTH
 	`undef PCI_FIFO_RAM_ADDR_LENGTH
 	`undef WB_FIFO_RAM_ADDR_LENGTH
	`undef PCI_XILINX_RAMB4
    `undef WB_XILINX_RAMB4
    `undef ACTIVE_LOW_OE
    `undef HOST
    `undef NO_CNF_IMAGE
    `undef PCI_IMAGE2
    `undef PCI_AM0
 	`undef PCI_AM1
 	`undef PCI_AM2
 	`undef PCI_AM3
 	`undef PCI_AM4
 	`undef PCI_AM5
  	`undef PCI_BA0_MEM_IO
 	`undef PCI_BA1_MEM_IO
 	`undef PCI_BA2_MEM_IO
 	`undef PCI_BA3_MEM_IO
 	`undef PCI_BA4_MEM_IO
 	`undef PCI_BA5_MEM_IO
 	`undef PCI_TA0
	`undef PCI_TA1
	`undef PCI_TA2
	`undef PCI_TA3
	`undef PCI_TA4
	`undef PCI_TA5

	`undef PCI_AT_EN0
	`undef PCI_AT_EN1
	`undef PCI_AT_EN2
	`undef PCI_AT_EN3
	`undef PCI_AT_EN4
	`undef PCI_AT_EN5
	`undef WB_NUM_OF_DEC_ADDR_LINES
	`undef PCI_IMAGE0 
 	`undef WB_IMAGE2
 	`undef WB_IMAGE3
	`undef WB_BA1
	`undef WB_BA2
	`undef WB_BA3
	`undef WB_BA4
	`undef WB_BA5
	`undef WB_BA1_MEM_IO
	`undef WB_BA2_MEM_IO
	`undef WB_BA3_MEM_IO
	`undef WB_BA4_MEM_IO
	`undef WB_BA5_MEM_IO 
	`undef WB_AM1
	`undef WB_AM2
	`undef WB_AM3
	`undef WB_AM4
	`undef WB_AM5
	`undef WB_TA1
	`undef WB_TA2
	`undef WB_TA3
	`undef WB_TA4
	`undef WB_TA5

	`undef WB_AT_EN1
	`undef WB_AT_EN2
	`undef WB_AT_EN3
	`undef WB_AT_EN4
	`undef WB_AT_EN5
	`undef ADDR_TRAN_IMPL 
	`undef WB_DECODE_FAST
	`undef WB_CONFIGURATION_BASE 
	`undef REGISTER_WBS_OUTPUTS
	`undef PCI33
 	`undef HEADER_VENDOR_ID
 	`undef HEADER_DEVICE_ID
 	`undef HEADER_REVISION_ID
 	`undef HEADER_SUBSYS_VENDOR_ID
 	`undef HEADER_SUBSYS_ID
 	`undef HEADER_MAX_LAT
 	`undef HEADER_MIN_GNT
// 	`undef REGISTER_WBM_OUTPUTS
 	`undef WB_RTY_CNT_MAX 
`endif

`ifdef PCI2_DEFINES_INCLUDED

`else
`define PCI2_DEFINES_INCLUDED
`define FPGA
`define XILINX
`define WBW_ADDR_LENGTH 4
`define WBR_ADDR_LENGTH 4
`define PCIW_ADDR_LENGTH 4
`define PCIR_ADDR_LENGTH 4
..............
`endif