WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2007-Jun-08 14:48:36

toolbox
Member
Registered: 2007-Jun-02
Posts: 18

Few Macros are missing - Lab 4 problem

I tried to work my way through lab 4 and encountered the following problem. When trying to generate bit stream the following error message was displayed:

At Local date and time: Wed Jun 06 11:14:20 2007
xbash -q -c "cd /cygdrive/d/donotdelete/yup/; /usr/bin/make -f system.make init_bram; exit;" started...
powerpc-eabi-gcc -O2 TestApp_Memory/src/TestApp_Memory.c D:/donotdelete/warpmac/warpmac.c  -o TestApp_Memory/executable.elf \
    -Wl,-T -Wl,TestApp_Memory/src/TestApp_Memory_LinkScr.ld  -g    -I./ppc405_0/include/  -ID:/donotdelete/warpmac/  -L./ppc405_0/lib/  \
 

D:/donotdelete/warpmac/warpmac.c:16:19: xemac.h: No such file or directory
D:/donotdelete/warpmac/warpmac.c:18:19: xintc.h: No such file or directory

D:/donotdelete/warpmac/warpmac.c:24:28: ofdm_TxRx_mimo.h: No such file or directory
D:/donotdelete/warpmac/warpmac.c:25:27: ofdm_AGC_mimo.h: No such file or directory
D:/donotdelete/warpmac/warpmac.c:26:24: ofdm_timer.h: No such file or directory
D:/donotdelete/warpmac/warpmac.c:27:44: ofdm_pktDetector_mimo_gateways.h: No such file or directory
D:/donotdelete/warpmac/warpmac.c:29:30: radio_controller.h: No such file or directory
In file included from D:/donotdelete/warpmac/warpmac.c:33:
D:/donotdelete/warpmac/warpmac.h:11:21: xemac_l.h: No such file or directory
D:/donotdelete/warpmac/warpmac.c:87: error: parse error before "Emac"
D:/donotdelete/warpmac/warpmac.c:87: warning: data definition has no type or storage class
D:/donotdelete/warpmac/warpmac.c:88: error: parse error before '*' token
D:/donotdelete/warpmac/warpmac.c:88: warning: data definition has no type or storage class
D:/donotdelete/warpmac/warpmac.c:91: error: `XEM_MAC_ADDR_SIZE' undeclared here (not in a function)
D:/donotdelete/warpmac/warpmac.c:91: warning: excess elements in scalar initializer
D:/donotdelete/warpmac/warpmac.c:91: warning: (near initialization for `LocalAddress')
D:/donotdelete/warpmac/warpmac.c:91: warning: excess elements in scalar initializer
D:/donotdelete/warpmac/warpmac.c:91: warning: (near initialization for `LocalAddress')
D:/donotdelete/warpmac/warpmac.c:91: warning: excess elements in scalar initializer
D:/donotdelete/warpmac/warpmac.c:91: warning: (near initialization for `LocalAddress')
D:/donotdelete/warpmac/warpmac.c:91: warning: excess elements in scalar initializer
D:/donotdelete/warpmac/warpmac.c:91: warning: (near initialization for `LocalAddress')
D:/donotdelete/warpmac/warpmac.c:91: warning: excess elements in scalar initializer
D:/donotdelete/warpmac/warpmac.c:91: warning: (near initialization for `LocalAddress')
D:/donotdelete/warpmac/warpmac.c:100: error: parse error before "myIntc"
D:/donotdelete/warpmac/warpmac.c:100: warning: data definition has no type or storage class
D:/donotdelete/warpmac/warpmac.c: In function `emacRx_int_handler':
D:/donotdelete/warpmac/warpmac.c:134: error: `XEmac' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:134: error: (Each undeclared identifier is reported only once
D:/donotdelete/warpmac/warpmac.c:134: error: for each function it appears in.)
D:/donotdelete/warpmac/warpmac.c:134: error: `EmacPtr' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:134: error: parse error before ')' token
D:/donotdelete/warpmac/warpmac.c:150: error: `XPAR_OPB_INTC_0_ETHERNET_MAC_IP2INTC_IRPT_INTR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c: In function `warpmac_carrierSense':
D:/donotdelete/warpmac/warpmac.c:396: error: `XPAR_OFDM_PKTDETECTOR_MIMO_OPBW_0_BASEADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:396: error: `ofdm_pktDetector_mimo_pktDet_idleDifs_OFFSET' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c: In function `warpmac_setTimer':
D:/donotdelete/warpmac/warpmac.c:409: error: `DISABLECSMA' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:426: error: `ENABLECSMA' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c: In function `warpmac_init':
D:/donotdelete/warpmac/warpmac.c:483: error: `XPAR_OPB_INTC_0_DEVICE_ID' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:486: error: `XPAR_OPB_INTC_0_BASEADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:486: error: `XIN_SVC_ALL_ISRS_OPTION' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:491: error: `XPAR_OPB_INTC_0_PUSH_BUTTONS_4BIT_IP2INTC_IRPT_INTR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:492: error: `XPAR_OPB_INTC_0_OFDM_TXRX_MIMO_OPBW_0_RX_INT_GOODPKT_INTR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:493: error: `XPAR_OPB_INTC_0_OFDM_TXRX_MIMO_OPBW_0_RX_INT_BADPKT_INTR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:494: error: `XPAR_OPB_INTC_0_OFDM_TIMER_OPBW_0_TIMEREXPIRE_INTR' undeclared (first use in this function)

D:/donotdelete/warpmac/warpmac.c:495: error: `XPAR_OPB_INTC_0_ETHERNET_MAC_IP2INTC_IRPT_INTR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:495: error: `XEmac_IntrHandlerFifo' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:499: error: `XIN_REAL_MODE' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:512: error: `XIntc_InterruptHandler' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:525: error: `XPAR_ETHERNET_MAC_DEVICE_ID' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:561: error: `XEM_INSERT_FCS_OPTION' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:562: error: `XEM_INSERT_PAD_OPTION' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:563: error: `XEM_UNICAST_OPTION' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:564: error: `XEM_BROADCAST_OPTION' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:567: error: `XEM_PROMISC_OPTION' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:568: error: `XEM_STRIP_PAD_FCS_OPTION' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:598: error: `XEmac_FifoHandler' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:598: error: parse error before "emacTx_int_handler"
D:/donotdelete/warpmac/warpmac.c:600: error: parse error before "emacRx_int_handler"
D:/donotdelete/warpmac/warpmac.c:602: error: `XEmac_ErrorHandler' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:602: error: parse error before "emacErr_int_handler"
D:/donotdelete/warpmac/warpmac.c:638: error: `DAC2_ADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:638: error: `DAC1_ADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:645: error: `RADIO2_ADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:645: error: `RADIO1_ADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:706: error: `XPAR_OFDM_TXRX_MIMO_OPBW_0_BASEADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:712: error: `TX_SISO_MODE' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:716: error: `TX_PILOT_SCRAMBLING' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:765: error: `REQ_LONG_CORR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:766: error: `DYNAMC_PKT_LENGTHS' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:768: error: `REQ_TWO_LONG_CORR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:769: error: `REQ_SHORT_CORR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:770: error: `RX_SISO_MODE' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:773: error: `CFO_USE_LONGCORR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:774: error: `USE_PILOT_ARCTAN' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:776: error: `EXT_PKT_DETECT' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:779: error: `INTR_BAD_PKTS' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:780: error: `INTR_GOOD_PKTS' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:812: error: `XPAR_OFDM_PKTDETECTOR_MIMO_OPBW_0_BASEADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:812: error: `ofdm_pktDetector_mimo_csma_enableBusy_OFFSET' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:813: error: `ofdm_pktDetector_mimo_csma_enableIdle_OFFSET' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:814: error: `ofdm_pktDetector_mimo_pktDet_masterReset_OFFSET' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:815: error: `ofdm_pktDetector_mimo_pktDet_detectionMask_OFFSET' undeclared (first use in this function)

D:/donotdelete/warpmac/warpmac.c:816: error: `ofdm_pktDetector_mimo_pktDet_detectionMode_OFFSET' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:817: error: `ofdm_pktDetector_mimo_pktDet_resetDuration_OFFSET' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:818: error: `ofdm_pktDetector_mimo_pktDet_avgLen_OFFSET' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:819: error: `ofdm_pktDetector_mimo_pktDet_avgThresh_OFFSET' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:820: error: `ofdm_pktDetector_mimo_csma_avgThresh_OFFSET' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:821: error: `ofdm_pktDetector_mimo_csma_difsPeriod_OFFSET' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:823: error: `ofdm_pktDetector_mimo_pktDet_reset_OFFSET' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c: In function `warpmac_sendEthernet':
D:/donotdelete/warpmac/warpmac.c:842: error: `OFDM_TXRX_MIMO_RXPKTBUFFER_BASEADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c: In function `warpmac_sendOfdm':
D:/donotdelete/warpmac/warpmac.c:861: error: `RADIO2_ADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:862: error: `RADIO1_ADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:864: error: `XPAR_OFDM_PKTDETECTOR_MIMO_OPBW_0_BASEADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:864: error: `ofdm_pktDetector_mimo_pktDet_reset_OFFSET' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:913: error: `TXBLOCK' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c: In function `warpmac_setChannel':
D:/donotdelete/warpmac/warpmac.c:1056: error: `RADIO2_ADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1056: error: `RADIO1_ADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c: In function `warpmac_CalibrateTxDCO':
D:/donotdelete/warpmac/warpmac.c:1130: error: `ICHAN' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1131: error: `QCHAN' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c: In function `warpmac_enableSisoMode':
D:/donotdelete/warpmac/warpmac.c:1143: error: `TX_SISO_MODE' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1147: error: `TX_PILOT_SCRAMBLING' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1150: error: `RESET_BER' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1151: error: `REQ_LONG_CORR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1152: error: `DYNAMC_PKT_LENGTHS' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1153: error: `REQ_TWO_LONG_CORR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1154: error: `REQ_SHORT_CORR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1155: error: `RX_SISO_MODE' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1158: error: `CFO_USE_LONGCORR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1159: error: `USE_PILOT_ARCTAN' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1161: error: `EXT_PKT_DETECT' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1162: error: `CFO_USE_TRAINING' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1164: error: `INTR_BAD_PKTS' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1165: error: `INTR_GOOD_PKTS' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c: In function `warpmac_enableMimoMode':
D:/donotdelete/warpmac/warpmac.c:1173: error: `TX_SISO_MODE' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1177: error: `TX_PILOT_SCRAMBLING' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1180: error: `RESET_BER' undeclared (first use in this function)

D:/donotdelete/warpmac/warpmac.c:1181: error: `REQ_LONG_CORR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1182: error: `DYNAMC_PKT_LENGTHS' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1183: error: `REQ_TWO_LONG_CORR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1184: error: `REQ_SHORT_CORR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1185: error: `RX_SISO_MODE' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1188: error: `CFO_USE_LONGCORR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1189: error: `USE_PILOT_ARCTAN' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1191: error: `EXT_PKT_DETECT' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1192: error: `CFO_USE_TRAINING' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1194: error: `INTR_BAD_PKTS' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1195: error: `INTR_GOOD_PKTS' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c: In function `warpmac_enableCSMA':
D:/donotdelete/warpmac/warpmac.c:1231: error: `XPAR_OFDM_PKTDETECTOR_MIMO_OPBW_0_BASEADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1231: error: `ofdm_pktDetector_mimo_csma_avgThresh_OFFSET' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c: In function `warpmac_disableCSMA':
D:/donotdelete/warpmac/warpmac.c:1235: error: `XPAR_OFDM_PKTDETECTOR_MIMO_OPBW_0_BASEADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1235: error: `ofdm_pktDetector_mimo_csma_avgThresh_OFFSET' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c: In function `warpmac_disableDetection':
D:/donotdelete/warpmac/warpmac.c:1416: error: `XPAR_OFDM_PKTDETECTOR_MIMO_OPBW_0_BASEADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1416: error: `ofdm_pktDetector_mimo_pktDet_reset_OFFSET' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c: In function `warpmac_enableDetection':
D:/donotdelete/warpmac/warpmac.c:1422: error: `XPAR_OFDM_PKTDETECTOR_MIMO_OPBW_0_BASEADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1422: error: `ofdm_pktDetector_mimo_pktDet_reset_OFFSET' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c: In function `warpmac_set_modulation':
D:/donotdelete/warpmac/warpmac.c:1512: error: `OFDM_BASEADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1512: error: `ofdm_TxRx_mimo_SMWO_RxModulation_OFFSET' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c:1515: error: `ofdm_TxRx_mimo_SMWO_TxModulation_OFFSET' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c: In function `warpmac_setDebugGPIO':
D:/donotdelete/warpmac/warpmac.c:1567: error: `XPAR_DEBUGOUTPUTS_BASEADDR' undeclared (first use in this function)
D:/donotdelete/warpmac/warpmac.c: At top level:
D:/donotdelete/warpmac/warpmac.c:91: error: storage size of `LocalAddress' isn't known
make: *** [TestApp_Memory/executable.elf] Error 1

Done!

Kindly suggest something

Offline

 

#2 2007-Jun-08 14:51:02

toolbox
Member
Registered: 2007-Jun-02
Posts: 18

Re: Few Macros are missing - Lab 4 problem

In a bid to correct the above problem I added the following IPs, ofdm_AGC_mimo_opbw, ofdm_pktdetector_opbw and ofdm_TxRx_opbw , to the project. And then the address space ran out and following error message was displayed:

At Local date and time: Wed Jun 06 10:48:52 2007
xbash -q -c "cd /cygdrive/d/donotdelete/anothertry/; /usr/bin/make -f system.make init_bram; exit;" started...
****************************************************
Creating system netlist for hardware specification..
****************************************************
platgen -p xc2vp70ff1517-6 -lang vhdl   system.mhs


Release Xilinx EDK 8.2.02 - platgen EDK_Im_Sp2.4
Copyright (c) 1995-2006 Xilinx, Inc.  All rights reserved.



Command Line: platgen -p xc2vp70ff1517-6 -lang vhdl system.mhs

Parse system.mhs ...


Read MPD definitions ...

Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/ppc405_v2_00_c/data/ppc405_v2_1_0.tcl ...

Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/jtagppc_cntlr_v2_00_a/data/jtagppc_cntlr_v
2_1_0.tcl ...
Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/isocm_v10_v2_00_a/data/isocm_v10_v2_1_0.tc
l ...
Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/isbram_if_cntlr_v3_00_a/data/isbram_if_cnt
lr_v2_1_0.tcl ...
Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/dsocm_v10_v2_00_a/data/dsocm_v10_v2_1_0.tc
l ...
Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/dsbram_if_cntlr_v3_00_a/data/dsbram_if_cnt
lr_v2_1_0.tcl ...

Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/plb_v34_v1_02_a/data/plb_v34_v2_1_0.tcl
...
Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/plb2opb_bridge_v1_01_a/data/plb2opb_bridge
_v2_1_0.tcl ...

Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/opb_ethernet_v1_04_a/data/opb_ethernet_v2_
1_0.tcl ...

Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/plb_emc_v2_00_a/data/plb_emc_v2_1_0.tcl
...
Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/opb_intc_v1_00_c/data/opb_intc_v2_1_0.tcl
...

Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/dcm_module_v1_00_a/data/dcm_module_v2_1_0.
tcl ...

Overriding IP level properties ...
jtagppc_cntlr (jtagppc_0) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\jtagppc_cntlr_v2_00_a\data\jtagppc_cntlr_v
2_1_0.mpd line 36 - tool overriding c_device value X2VP4 to 2vp70
bram_block (isocm_bram) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\bram_block_v1_00_a\data\bram_block_v2_1_0.
mpd line 43 - tool overriding c_family value virtex2 to virtex2p
bram_block (dsocm_bram) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\bram_block_v1_00_a\data\bram_block_v2_1_0.
mpd line 43 - tool overriding c_family value virtex2 to virtex2p
opb_gpio (led_7segment) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_gpio_v3_01_b\data\opb_gpio_v2_1_0.mpd
line 42 - tool overriding c_family value virtex2 to virtex2p
opb_gpio (led_7segment_1) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_gpio_v3_01_b\data\opb_gpio_v2_1_0.mpd
line 42 - tool overriding c_family value virtex2 to virtex2p
opb_gpio (leds_4bit) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_gpio_v3_01_b\data\opb_gpio_v2_1_0.mpd
line 42 - tool overriding c_family value virtex2 to virtex2p
opb_gpio (push_buttons_4bit) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_gpio_v3_01_b\data\opb_gpio_v2_1_0.mpd
line 42 - tool overriding c_family value virtex2 to virtex2p
opb_gpio (dipsws_4bit) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_gpio_v3_01_b\data\opb_gpio_v2_1_0.mpd
line 42 - tool overriding c_family value virtex2 to virtex2p
opb_ethernet (ethernet_mac) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_ethernet_v1_04_a\data\opb_ethernet_v2_
1_0.mpd line 56 - tool overriding c_family value virtex2 to virtex2p
opb_intc (opb_intc_0) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_intc_v1_00_c\data\opb_intc_v2_1_0.mpd
line 38 - tool overriding c_family value virtex2 to virtex2p
dcm_module (dcm_0) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\dcm_module_v1_00_a\data\dcm_module_v2_1_0.
mpd line 61 - tool overriding c_family value virtex2 to virtex2p
opb_timer (opb_timer_0) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_timer_v1_00_b\data\opb_timer_v2_1_0.mp
d line 36 - tool overriding c_family value nofamily to virtex2p

Performing IP level DRCs on properties...

Running DRC Tcl procedures for OPTION IPLEVEL_DRC_PROC...

Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/emc_common_v2_00_a/data/emc_common_v2_1_0.
tcl ...
Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/emc_common_v2_00_a/data/emc_common_v2_1_0.
tcl ...

Address Map for Processor ppc405_0
  (0x00000000-0x001fffff) SRAM1_ZBT_512Kx32    plb
  (0x00200000-0x003fffff) SRAM0_ZBT_512Kx32    plb
  (0x21800000-0x2180ffff) docm_cntlr    docm
  (0x40000000-0x4000ffff) Push_Buttons_4bit    plb->plb2opb->opb
  (0x40020000-0x4002ffff) LEDs_4Bit    plb->plb2opb->opb
  (0x40040000-0x4004ffff) LED_7SEGMENT_1    plb->plb2opb->opb
  (0x40060000-0x4006ffff) LED_7SEGMENT    plb->plb2opb->opb
  (0x40080000-0x4008ffff) DIPSWs_4Bit    plb->plb2opb->opb
  (0x40600000-0x4060ffff) RS232    plb->plb2opb->opb
  (0x40c00000-0x40c0ffff) Ethernet_MAC    plb->plb2opb->opb
  (0x41200000-0x4120ffff) opb_intc_0    plb->plb2opb->opb
  (0x77200000-0x7720ffff) ofdm_TxRx_mimo_opbw_0    plb->plb2opb->opb
  (0x7be00000-0x7be0ffff) EEPROM_0    plb->plb2opb->opb
  (0x7da00000-0x7da0ffff) radio_controller_0    plb->plb2opb->opb
  (0xfffe0000-0xffffffff) iocm_cntlr    iocm
Address Map for Processor ppc405_1

Check platform address map ...
ERROR:MDT - ofdm_TxRx_mimo_opbw (ofdm_TxRx_mimo_opbw_0) -
   D:\donotdelete\anothertry\system.mhs:1046 -  address space is less than
   min_size 327680 bytes!

Running UPDATE Tcl procedures for OPTION PLATGEN_SYSLEVEL_UPDATE_PROC...
INFO: The Ethernet_MAC core has constraints automatically generated by XPS in implementation/ethernet_mac_wrapper/ethernet_mac_wrapper.ucf.
It can be overridden by constraints placed in the system.ucf file.

ERROR:MDT - platgen failed with errors!

make: *** [implementation/system.bmm] Error 2

Done!



Kindly help.

Offline

 

#3 2007-Jun-08 16:07:44

sgupta
Administrator
Registered: 2007-Feb-26
Posts: 104

Re: Few Macros are missing - Lab 4 problem

The project that is available for download has the whole hardware system built. It can be used as is. You should not need to go through the Base System Builder or to add cores to it. You change the lab you want to initialize to the board by checking 'Initialize to BRAM' for the respective software project.

Again, the project is available at http://warp.rice.edu/bigFiles/warpmac_labs.zip

Offline

 

#4 2007-Jun-13 14:55:16

toolbox
Member
Registered: 2007-Jun-02
Posts: 18

Re: Few Macros are missing - Lab 4 problem

Thank you so much ! We have got much of the thing running, except some of lab 5 and lab 6.

I am facing the following problems now:

Problem 1. In the warpmac_lab files, when I download the noMac project , messages are displayed on the Tera Term Pro. However, when I download the uniMac file on the FPGA, nothing is displayed on the Tera Term Pro.

Problem 2. When I tried to dowload the the lemmingMacServer project, I received the following error message:

At Local date and time: Wed Jun 13 15:58:16 2007
xbash -q -c "cd /cygdrive/d/donotdelete/warpmac_labs/; /usr/bin/make -f system.make download; exit;" started...
*********************************************
Initializing BRAM contents of the bitstream
*********************************************
bitinit system.mhs  -pe ppc405_0 lemmingMacServer/executable.elf  \
-bt implementation/system.bit -o implementation/download.bit


bitinit version Xilinx EDK 8.2.02 Build EDK_Im_Sp2.4
Copyright (c) Xilinx Inc. 2002.

Parsing MHS File system.mhs...

Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/ppc405_v2_00_c/data/ppc405_v2_1_0.tcl ...

Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/plb_bram_if_cntlr_v1_00_b/data/plb_bram_if
_cntlr_v2_1_0.tcl ...
Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/plb2opb_bridge_v1_01_a/data/plb2opb_bridge
_v2_1_0.tcl ...
Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/plb_v34_v1_02_a/data/plb_v34_v2_1_0.tcl
...
Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/opb_intc_v1_00_c/data/opb_intc_v2_1_0.tcl
...

Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/jtagppc_cntlr_v2_00_a/data/jtagppc_cntlr_v
2_1_0.tcl ...
Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/isbram_if_cntlr_v3_00_a/data/isbram_if_cnt
lr_v2_1_0.tcl ...
Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/isocm_v10_v2_00_a/data/isocm_v10_v2_1_0.tc
l ...

Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/dsbram_if_cntlr_v3_00_a/data/dsbram_if_cnt
lr_v2_1_0.tcl ...
Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/dsocm_v10_v2_00_a/data/dsocm_v10_v2_1_0.tc
l ...
Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/dcm_module_v1_00_a/data/dcm_module_v2_1_0.
tcl ...
Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/opb_sysace_v1_00_c/data/opb_sysace_v2_1_0.
tcl ...
Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/plb_emc_v2_00_a/data/plb_emc_v2_1_0.tcl
...

Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/plb_ethernet_v1_01_a/data/plb_ethernet_v2_
1_0.tcl ...


Overriding IP level properties ...
radio_controller (radio_controller_0) -
D:\donotdelete\warpmac_labs\pcores\radio_controller_v1_07_b\data\radio_controlle
r_v2_1_0.mpd line 35 - tool overriding c_family value virtex2p to
bram_block (plb_bram_if_cntlr_1_bram) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\bram_block_v1_00_a\data\bram_block_v2_1_0.
mpd line 43 - tool overriding c_family value virtex2 to
plb2opb_bridge (plb2opb) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\plb2opb_bridge_v1_01_a\data\plb2opb_bridge
_v2_1_0.mpd line 39 - tool overriding c_family value virtex2p to
opb_intc (opb_intc_0) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_intc_v1_00_c\data\opb_intc_v2_1_0.mpd
line 38 - tool overriding c_family value virtex2 to
jtagppc_cntlr (jtagppc_0) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\jtagppc_cntlr_v2_00_a\data\jtagppc_cntlr_v
2_1_0.mpd line 36 - tool overriding c_device value X2VP4 to
bram_block (isocm_bram) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\bram_block_v1_00_a\data\bram_block_v2_1_0.
mpd line 43 - tool overriding c_family value virtex2 to
bram_block (dsocm_bram) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\bram_block_v1_00_a\data\bram_block_v2_1_0.
mpd line 43 - tool overriding c_family value virtex2 to
dcm_module (dcm_0) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\dcm_module_v1_00_a\data\dcm_module_v2_1_0.
mpd line 61 - tool overriding c_family value virtex2 to
opb_gpio (push_buttons_4bit) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_gpio_v3_01_b\data\opb_gpio_v2_1_0.mpd
line 42 - tool overriding c_family value virtex2 to
opb_gpio (leds_4bit) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_gpio_v3_01_b\data\opb_gpio_v2_1_0.mpd
line 42 - tool overriding c_family value virtex2 to
opb_gpio (led_7segment_1) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_gpio_v3_01_b\data\opb_gpio_v2_1_0.mpd
line 42 - tool overriding c_family value virtex2 to
opb_gpio (led_7segment) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_gpio_v3_01_b\data\opb_gpio_v2_1_0.mpd
line 42 - tool overriding c_family value virtex2 to
plb_ethernet (ethernet_mac) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\plb_ethernet_v1_01_a\data\plb_ethernet_v2_
1_0.mpd line 45 - tool overriding c_family value virtex2p to
eeprom (eeprom_0) -
D:\donotdelete\warpmac_labs\pcores\eeprom_v1_00_a\data\eeprom_v2_1_0.mpd line 29
- tool overriding c_family value virtex2p to
opb_gpio (dipsws_4bit) -
C:\EDK\hw\XilinxProcessorIPLib\pcores\opb_gpio_v3_01_b\data\opb_gpio_v2_1_0.mpd
line 42 - tool overriding c_family value virtex2 to

Performing IP level DRCs on properties...

Running DRC Tcl procedures for OPTION IPLEVEL_DRC_PROC...

Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/bram_if_cntlr_v1_00_b/data/bram_if_cntlr_v
2_1_0.tcl ...
Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/emc_common_v2_00_a/data/emc_common_v2_1_0.
tcl ...
Sourcing tcl file
C:/EDK/hw/XilinxProcessorIPLib/pcores/emc_common_v2_00_a/data/emc_common_v2_1_0.
tcl ...

Address Map for Processor ppc405_1
Address Map for Processor ppc405_0
  (0x00000000-0x001fffff) SRAM1_ZBT_512Kx32    plb
  (0x21800000-0x2181ffff) iocm_cntlr    iocm
  (0x40000000-0x4000ffff) Push_Buttons_4bit    plb->plb2opb->opb
  (0x40020000-0x4002ffff) LEDs_4Bit    plb->plb2opb->opb
  (0x40040000-0x4004ffff) LED_7SEGMENT_1    plb->plb2opb->opb
  (0x40060000-0x4006ffff) LED_7SEGMENT    plb->plb2opb->opb
  (0x40080000-0x4008ffff) DIPSWs_4Bit    plb->plb2opb->opb
  (0x40600000-0x4060ffff) RS232    plb->plb2opb->opb
  (0x41200000-0x4120ffff) opb_intc_0    plb->plb2opb->opb
  (0x41800000-0x4180ffff) SysACE_CompactFlash    plb->plb2opb->opb
  (0x70a00000-0x70a0ffff) ofdm_timer_opbw_0    plb->plb2opb->opb
  (0x72c00000-0x72c0ffff) ofdm_AGC_mimo_opbw_0    plb->plb2opb->opb
  (0x77200000-0x772fffff) ofdm_TxRx_mimo_opbw_0    plb->plb2opb->opb
  (0x7a800000-0x7a80ffff) ofdm_pktDetector_mimo_opbw_0    plb->plb2opb->opb
  (0x7be00000-0x7be0ffff) EEPROM_0    plb->plb2opb->opb
  (0x7da00000-0x7da0ffff) radio_controller_0    plb->plb2opb->opb
  (0x80400000-0x8040ffff) Ethernet_MAC    plb
  (0xe8800000-0xe880ffff) docm_cntlr    docm
  (0xffc00000-0xffdfffff) SRAM0_ZBT_512Kx32    plb
  (0xfffe0000-0xffffffff) plb_bram_if_cntlr_1    plb

Initializing Memory...
INFO:MDT - BRAM isocm_bram will be initialized with ELF of processor ppc405_0
Running Data2Mem with the following command:
data2mem -bm implementation/system_bd -bt implementation/system.bit  -bd
lemmingMacServer/executable.elf tag ppc405_0  -o b implementation/download.bit


ERROR:Data2MEM:31 - Out of bounds code segment for ram space in
'implementation\system_bd.bmm'.
    Memory space 'ppc405_0.plb_bram_if_cntlr_1_bram_combined' occupies
[0xFFFE0000:0xFFFFFFFF]
    Code segment #5 occupies [0xFFFF0000:0x00006937]

ERROR:MDT - Data2Mem generated errors during execution

make: *** [implementation/download.bit] Error 1

Done!



Please give suggestions.

Last edited by toolbox (2007-Jun-13 14:58:44)

Offline

 

#5 2007-Jun-14 07:59:06

chunter
Administrator
From: Mango Communications
Registered: 2006-Aug-24
Posts: 1212

Re: Few Macros are missing - Lab 4 problem

The "out of bounds" error message problem at the bottom indicates a linker script problem. Make sure to right-click on the software project and generate the linker script. As a model, you can use this (http://warp.rice.edu/trac/attachment/wi … Script.jpg). However, make sure to put .boot0 in the same part of memory as .boot. You'll know you generated the linker script correctly if you can print to the RS232 serial port.


Also, make sure that only one of the software projects is marked to initialize BRAM for any given build. Each EDK project has two software projects for those later labs. Only one should be active at any given point of time. Also, bear in mind that the linker script needs to be generated on a per-software-project basis, since the linker script is not shared.

Offline

 

#6 2007-Jun-15 11:40:11

toolbox
Member
Registered: 2007-Jun-02
Posts: 18

Re: Few Macros are missing - Lab 4 problem

Thank you... ! I was able to download the projects and get them to display on Tera Term Pro.

Offline

 

Board footer