forked from Github_Repos/cvw
		
	LSU Cleanup
This commit is contained in:
		
							parent
							
								
									6febce0001
								
							
						
					
					
						commit
						325724f556
					
				@ -145,7 +145,7 @@ def main():
 | 
			
		||||
             num_fail+=result.get(timeout=TIMEOUT_DUR)
 | 
			
		||||
           except TimeoutError:
 | 
			
		||||
             num_fail+=1
 | 
			
		||||
             print("%s: Timeout - runtime exceeded %d seconds" % (config.name, TIMEOUT_DUR))
 | 
			
		||||
             print("%s_%s: Timeout - runtime exceeded %d seconds" % (config.variant, config.name, TIMEOUT_DUR))
 | 
			
		||||
 | 
			
		||||
    # Count the number of failures
 | 
			
		||||
    if num_fail:
 | 
			
		||||
 | 
			
		||||
@ -1,2 +1,2 @@
 | 
			
		||||
vsim -do "do wally-pipelined.do rv32gc arch32f"
 | 
			
		||||
vsim -do "do wally-pipelined.do rv32tim arch32i"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1
									
								
								pipelined/src/cache/cache.sv
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								pipelined/src/cache/cache.sv
									
									
									
									
										vendored
									
									
								
							@ -172,7 +172,6 @@ module cache #(parameter integer LINELEN,
 | 
			
		||||
 | 
			
		||||
  // Convert the Read data bus ReadDataSelectWay into sets of XLEN so we can
 | 
			
		||||
  // easily build a variable input mux.
 | 
			
		||||
  // *** consider using a limited range shift to do this final muxing.
 | 
			
		||||
  genvar index;
 | 
			
		||||
	if(DCACHE == 1) begin: readdata
 | 
			
		||||
    for (index = 0; index < WORDSPERLINE; index++) begin:readdatalinesetsmux
 | 
			
		||||
 | 
			
		||||
@ -210,7 +210,7 @@ module lsu
 | 
			
		||||
      .Idempotent(), .AtomicAllowed(),
 | 
			
		||||
      .TLBPageFault(DTLBPageFaultM),
 | 
			
		||||
      .InstrAccessFaultF(), .LoadAccessFaultM, .StoreAccessFaultM,
 | 
			
		||||
      .AtomicAccessM(1'b0), .ExecuteAccessF(1'b0),  ///  atomicaccessm is probably a bug
 | 
			
		||||
      .AtomicAccessM(|LSUAtomicM), .ExecuteAccessF(1'b0), 
 | 
			
		||||
      .WriteAccessM(PreLSURWM[0]), .ReadAccessM(PreLSURWM[1]),
 | 
			
		||||
      .PMPCFG_ARRAY_REGW, .PMPADDR_ARRAY_REGW
 | 
			
		||||
      );
 | 
			
		||||
@ -294,6 +294,9 @@ module lsu
 | 
			
		||||
    // There are no peripherals supported.
 | 
			
		||||
    assign {BusStall, LSUBusWrite, LSUBusRead, DCacheBusAck, BusCommittedM, SelUncachedAdr} = '0;   
 | 
			
		||||
    assign ReadDataWordMuxM = ReadDataWordM;
 | 
			
		||||
    assign {DCacheStallM, DCacheCommittedM, DCacheWriteLine, DCacheFetchLine, DCacheBusAdr} = '0;
 | 
			
		||||
    assign ReadDataLineSetsM[0] = 0;
 | 
			
		||||
    assign DCacheMiss = 1'b0; assign DCacheAccess = 1'b0;
 | 
			
		||||
end else begin : bus  // *** lsubusdp
 | 
			
		||||
    // Bus Side logic
 | 
			
		||||
    // register the fetch data from the next level of memory.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user