加入外置CRC32_32
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
#define CDR_ReadRxLen 0x18
|
||||
#define CDR_ReadRxFifo 0x1c
|
||||
#define CDR_ReadIsLast 0x20
|
||||
#define CDR_ReadTxCrc 0x24
|
||||
#define CDR_ReadRxCrc 0x28
|
||||
|
||||
extern volatile uint32_t *cdr_status = (uint32_t*)( TL2CDR_BASE + CDR_ReadStatus ); //read
|
||||
extern volatile uint32_t *cdr_txLen = (uint32_t*)( TL2CDR_BASE + CDR_WriteTxLen ); //write
|
||||
|
||||
@@ -172,7 +172,7 @@ static void init_and_clock(){
|
||||
main_cycle ++;
|
||||
}
|
||||
|
||||
uint8_t phase = 2;
|
||||
uint8_t phase = 4;
|
||||
if ( main_time % 10 == (0+phase) ) {
|
||||
top->clk400 = 1;
|
||||
} else if ( main_time % 10 == (5+phase) ) {
|
||||
|
||||
Reference in New Issue
Block a user