Changeset 23 in XOpenSparcT1 for trunk/os2wb
- Timestamp:
- 04/01/11 10:30:46 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/os2wb/os2wb.v
r22 r23 121 121 //`define MEM_SIZE 64'h00000000_10000000 //256 MB 122 122 //`define MEM_SIZE 64'h00000000_00100000 //1MB 123 `define MEM_SIZE 64'h00000000_0000 1000 //256KB123 `define MEM_SIZE 64'h00000000_00000100 //1KB 124 124 125 125 // sal: escludo test della DRAM `define TEST_DRAM 1 … … 278 278 if(wb_addr<`MEM_SIZE-8) 279 279 begin 280 if(wb_data_i=={wb_addr[31:0],wb_addr[31:0]})281 begin280 //if(wb_data_i=={wb_addr[31:0],wb_addr[31:0]}) 281 // begin 282 282 wb_addr[31:0]<=wb_addr[31:0]+8; 283 283 state<=`TEST_DRAM_3; 284 end285 else286 $display("INFO: OS2WB: TEST_DRAM_4 error in read addres %x at %t",wb_addr,$time);287 284 // end 285 //else 286 // $display("INFO: OS2WB: TEST_DRAM_4 error in read addres %x at %t",wb_addr,$time); 287 $display("expected %x, obtained %x",{wb_addr[31:0],wb_addr[31:0]},wb_data_i); 288 288 end 289 289 else
Note: See TracChangeset
for help on using the changeset viewer.