summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormindchasers <privateisland@mindchasers.com>2020-11-16 18:42:19 -0500
committermindchasers <privateisland@mindchasers.com>2020-11-16 18:42:19 -0500
commit45127b74a583ee50b151b19d01a091db5e366c81 (patch)
treef243c737cb6af6ce89b1179d366e71ba2369ace8
parent911ca639433604e7e3616817fc35dbab5e0b70ec (diff)
sgmii_params: add additional K codes
-rw-r--r--source/sgmii_params.v9
1 files 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;