09.07.2015 Views

Design and Realization of a Prototype Hardware Platform for ...

Design and Realization of a Prototype Hardware Platform for ...

Design and Realization of a Prototype Hardware Platform for ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

24 MHzrf_TRX_moduletxSpeed3 = ctrl32 (29 downto 27)chipselectaddress (4)readreaddata (32)writewritedata (32)irqclkavalon_TRX_buschipselectaddressreadreaddatawritewritedatairqclkresetRXchip_enTxStbRxStb0001emerLEDonreadNextRX selectRXheaderMACrxDonestatusreg3rxBusyrxEnrxAckPse31 8 73 20rxForUs. . . RXb TXb TXto RxStb TxStb DtR Lost -rxOKerrRx_DecodeselectRXheaderRX_fifoloadRXfifoStatus321000loadRXfifoResetheader10100 01010000overFlowdataW32 0000ctrlreg321111RX32clkdataRX3231 24 23 16 15 8 7 0SetdataLostTXi RXi Pr S 2S 1S 0Ea - - - A 5A 4A 3A 2A 1A 0Int Ai Pi Ei - - --TX RA StbRx StbTx Rst CL DoPing -loadComm<strong>and</strong>loadCtrlRegclockTXclk32 bit bufferpoutputTXispeedclkTXmaskButtons2RX_readingdataW32TX_writingrxFifoReadEndataRX32headerTX32headerRX32status32clkTXIO_CtrlloadTXfifoloadTXfifoResetrW_TXheaderAvalonselectTXheaderAvalondoEmerButrW_TXheaderMACselectTXheaderMACselectRXheaderAvalonselectIntsetDtRclearTXdoEmerTX_fifo0010goBackMAC_controllerR<strong>and</strong>omGenTo I/O FPGA MegaWatch extensionselectTXheaderdataW320011txBusyrW_TXheaderselectTXheaderemerLEDonctrl32doEmertype3packetShaperreadNextTXtxFifoReadEnTX32readFIFOtxOKpacketShaperint32Tx_EncodedataW32TXH32ack32ackShaperselectInt0110header1CRCgenEncodeParallel to SerialtxStartdoPingtxBusyheaderTX32 txEnc txCRC calcTXcrc shiftTXcrcpingLEDontxToDoclearCRCtxTXLEDrxBusyRXLEDCRCcodecclearCRCpacketShaperclearCRCrxmode3TXchip_enheaderRX321001header2CCACRCcheckLengthCounterserial2parallel0111header2myAddr8clk clkTXclkTXrxDec calcRXcrc CRCeqZeroclkclkTXdclkmyAddr8txSigclkRXsyncrxSigSyncpatternSynctype3selectSrcAddr=ctrl32()ctrl32ctrlAddr8=ctrl32()myAddr8address8promiscuousheaderRX32BroadcastresetTo rf_CTRL_module (3-wire chip control)EPFL LSM/LAP www.MegaWatch.org © Emanuel Corthay - 08.03.2004

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!