From 2442b6e9292066b1eed872a5e78cf9cfe0cef264 Mon Sep 17 00:00:00 2001 From: Rejeesh Kutty Date: Tue, 17 Feb 2015 11:43:50 -0500 Subject: [PATCH] gt- report device type --- library/common/up_gt.v | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/common/up_gt.v b/library/common/up_gt.v index 31a4b7d16..9269759b1 100644 --- a/library/common/up_gt.v +++ b/library/common/up_gt.v @@ -141,6 +141,7 @@ module up_gt ( localparam PCORE_VERSION = 32'h00060062; parameter PCORE_ID = 0; + parameter PCORE_DEVICE_TYPE = 0; // gt interface @@ -587,6 +588,7 @@ module up_gt ( 8'h33: up_rdata <= up_es_qdata4; 8'h38: up_rdata <= {30'd0, up_es_dmaerr, up_es_status_s}; 8'h39: up_rdata <= {24'd0, up_drp_rx_rate_s}; + 8'h3a: up_rdata <= PCORE_DEVICE_TYPE; default: up_rdata <= 0; endcase end else begin