From 45127b74a583ee50b151b19d01a091db5e366c81 Mon Sep 17 00:00:00 2001 From: mindchasers Date: Mon, 16 Nov 2020 18:42:19 -0500 Subject: sgmii_params: add additional K codes --- source/sgmii_params.v | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/source/sgmii_params.v b/source/sgmii_params.v index 70cb1f1..a36160e 100644 --- a/source/sgmii_params.v +++ b/source/sgmii_params.v @@ -1,7 +1,7 @@ /* * sgmii_params.v * - * Copyright (C) 2018, 2019 Mind Chasers Inc. + * Copyright 2018, 2019, 2020 Mind Chasers Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,7 +28,6 @@ localparam SGMII_SPEED_10MBIT = 2'b00, SGMII_SPEED_RSVD = 2'b11, SGMII_SPEED_AN = 2'b11; - /* * Notes about K Codes: * Start of Packet: /S/, K27.7, 0xFB @@ -45,6 +44,12 @@ localparam D2_2 = 8'h42, /* Note that these are only K codes if the k bit is asserted */ K23_7 = 8'hf7, // /R/ Carrier Extend K27_7 = 8'hfb, // /S/ Start_of_Packet + K28_0 = 8'h1c, + K28_1 = 8'h3c, + K28_2 = 8'h5c, + K28_3 = 8'h7c, + K28_4 = 8'h9c, K28_5 = 8'hbc, + K28_6 = 8'hdc, K29_7 = 8'hfd, // /T/ End_of_Packet K_ERROR = 8'hee; -- cgit v1.2.3-8-gadcc