URL
https://opencores.org/ocsvn/xge_mac/xge_mac/trunk
Subversion Repositories xge_mac
Compare Revisions
- This comparison shows the changes necessary to convert path
/xge_mac/trunk/tbench/verilog
- from Rev 24 to Rev 30
- ↔ Reverse comparison
Rev 24 → Rev 30
/tb_xge_mac.sv
485,7 → 485,7
|
for (i = 0; i < tx_length; i = i + 1) begin |
|
count = $fscanf(file, "%2X", data); |
count = $fscanf(file, "%2x", data); |
if (count) begin |
tx_buffer[i] = data; |
end |
516,18 → 516,19
while (!$feof(file_cmd)) begin |
|
count = $fscanf(file_cmd, "%s", str); |
if (count != 1) continue; |
if (count == 1) begin |
|
$display("CMD %s", str); |
$display("CMD %s", str); |
|
case (str) |
case (str) |
|
"SEND_PKT": |
begin |
CmdTxPacket(file_cmd); |
end |
"SEND_PKT": |
begin |
CmdTxPacket(file_cmd); |
end |
|
endcase |
endcase |
end |
|
end |
|