Skip to content

Commit

Permalink
should be continuous assignment for matchABCD outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
shuckc committed Jul 25, 2012
1 parent 011009b commit b824bb7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions littletoe/tcp.v
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ module Tcp
reg [5:0] msd=0; // match src ip+port
reg [5:0] mdd=0; // match src ip+port

wire tcp_matchA = (& msa) && (& mda);
wire tcp_matchB = (& msb) && (& mdb);
wire tcp_matchC = (& msc) && (& mdc);
wire tcp_matchD = (& msd) && (& mdd);
assign tcp_matchA = (& msa) && (& mda);
assign tcp_matchB = (& msb) && (& mdb);
assign tcp_matchC = (& msc) && (& mdc);
assign tcp_matchD = (& msd) && (& mdd);

// counters
reg [7:0] counterEthTypeARP = 0;
Expand Down

0 comments on commit b824bb7

Please sign in to comment.