Skip to content

Commit b824bb7

Browse files
committed
should be continuous assignment for matchABCD outputs
1 parent 011009b commit b824bb7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

littletoe/tcp.v

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,10 @@ module Tcp
191191
reg [5:0] msd=0; // match src ip+port
192192
reg [5:0] mdd=0; // match src ip+port
193193

194-
wire tcp_matchA = (& msa) && (& mda);
195-
wire tcp_matchB = (& msb) && (& mdb);
196-
wire tcp_matchC = (& msc) && (& mdc);
197-
wire tcp_matchD = (& msd) && (& mdd);
194+
assign tcp_matchA = (& msa) && (& mda);
195+
assign tcp_matchB = (& msb) && (& mdb);
196+
assign tcp_matchC = (& msc) && (& mdc);
197+
assign tcp_matchD = (& msd) && (& mdd);
198198

199199
// counters
200200
reg [7:0] counterEthTypeARP = 0;

0 commit comments

Comments
 (0)