Changeset 36 in XOpenSparcT1 for trunk/os2wb/os2wb.v
- Timestamp:
- 04/11/11 09:54:25 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/os2wb/os2wb.v
r33 r36 438 438 if(pcx_packet_d[122:118]==5'b10000 && !pcx_req_d[4]) 439 439 begin 440 $display("INFO: OS2WB: ifill");440 $display("INFO: OS2WB: DRAM ifill"); 441 441 wb_addr<={pcx_req_d,19'b0,pcx_packet_d[103:64+5],5'b00000}; //DRAM ifill 442 442 end 443 443 else 444 444 if(pcx_packet_d[64+39:64+28]==12'hFFF && pcx_packet_d[64+27:64+24]!=4'b0) // flash remap FFF1->FFF8 445 wb_addr<={pcx_req_d,19'b0,pcx_packet_d[103:64+3]+37'h0000E00000,3'b000}; 446 else 445 begin 446 $display("INFO: OS2WB: flash remap"); 447 wb_addr<={pcx_req_d,19'b0,pcx_packet_d[103:64+3]+37'h0000E00000,3'b000}; 448 end 449 else 447 450 wb_addr<={pcx_req_d,19'b0,pcx_packet_d[103:64+3],3'b000}; 448 451 wb_data_o<=pcx_packet_d[63:0]; … … 689 692 if(wb_ack) 690 693 begin 691 $display("INFO: OS2WB: PCX_REQ_STEP1_1 wb_addr = %x wb_data_i = %x wb_data_o = ",wb_addr, wb_data_i,wb_data_o);694 $display("INFO: OS2WB: PCX_REQ_STEP1_1 wb_addr = %x wb_data_i = %x wb_data_o = %x ",wb_addr, wb_data_i,wb_data_o); 692 695 cpx_packet_1[144]<=1; // Valid 693 696 cpx_packet_1[139]<=(pcx_packet_d[122:118]==5'b00000) || (pcx_packet_d[122:118]==5'b10000) ? 1:0; // L2 always miss on load and ifill
Note: See TracChangeset
for help on using the changeset viewer.