From 386afd8511768b93ec113cb8648676dfe5a7574a Mon Sep 17 00:00:00 2001 From: David Winter Date: Thu, 10 Jun 2021 15:16:07 +0200 Subject: [PATCH] up_tdd_cntrl: Add magic value "TDDC" Adds a magic identification value of 0x54444443 at word address 0x3. It is derived from the ASCII String "TDDC" interpreted as a big-endian 32-bit unsigned integer. Signed-off-by: David Winter --- library/common/up_tdd_cntrl.v | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/common/up_tdd_cntrl.v b/library/common/up_tdd_cntrl.v index aa1ab70a1..deb64ca48 100644 --- a/library/common/up_tdd_cntrl.v +++ b/library/common/up_tdd_cntrl.v @@ -96,6 +96,7 @@ module up_tdd_cntrl #( output reg up_rack); localparam PCORE_VERSION = 32'h00010061; + localparam PCORE_MAGIC = 32'h54444443; // "TDDC", big endian // internal registers @@ -303,6 +304,7 @@ module up_tdd_cntrl #( 8'h00: up_rdata <= PCORE_VERSION; 8'h01: up_rdata <= ID; 8'h02: up_rdata <= up_scratch; + 8'h03: up_rdata <= PCORE_MAGIC; 8'h10: up_rdata <= {28'h0, up_tdd_gated_tx_dmapath, up_tdd_gated_rx_dmapath, up_tdd_tx_only,