|
发表于 2008-10-17 15:05:11
|
显示全部楼层
c.atm_cell.atm.h.oct_h[3], c.atm_cell.atm.h.oct_h[2],
c.atm_cell.atm.h.oct_h[1], c.atm_cell.atm.h.oct_h[0]);
calc_hec = 1234;
$display("\n Payload:");
for (int i=47; i>=0; i--)
begin
$write("%h ", c.atm_cell.atm.payload);
if (i%8==0) $display("");
end c.atm_cell.atm.h.oct_h[3], c.atm_cell.atm.h.oct_h[2],
c.atm_cell.atm.h.oct_h[1], c.atm_cell.atm.h.oct_h[0]);
calc_hec = 1234;
$display("\n Payload:");
for (int i=47; i>=0; i--)
begin
$write("%h ", c.atm_cell.atm.payload);
if (i%8==0) $display("");
end c.atm_cell.atm.h.oct_h[3], c.atm_cell.atm.h.oct_h[2],
c.atm_cell.atm.h.oct_h[1], c.atm_cell.atm.h.oct_h[0]);
calc_hec = 1234;
$display("\n Payload:");
for (int i=47; i>=0; i--)
begin
$write("%h ", c.atm_cell.atm.payload);
if (i%8==0) $display("");
end |
|