1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-17 20:02:53 +08:00

Added bit to etx_remap

-To enable writing to ERX, we need to include the group number
-support groups F,E,D,C (bits [19:18])
This commit is contained in:
Andreas Olofsson 2015-04-28 16:56:31 -04:00
parent 4ae2c1ecbf
commit a6ac9b4666

View File

@ -35,8 +35,9 @@ module etx_remap (/*AUTOARG*/
assign addr_in[31:0] = emesh_packet_in[39:8];
assign addr_remap[31:0] = {addr_in[28:17],
{(4){addr_in[16]}},
assign addr_remap[31:0] = {addr_in[29:18],//ID
addr_in[17:16],//SPECIAL GROUP
{(2){(|addr_in[17:16])}},//ZERO IF NOT SPECIAL
addr_in[15:0]
};