mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Merge branch 'main' of https://github.com/openhwgroup/cvw into dev
This commit is contained in:
		
						commit
						a3db61b2b2
					
				@ -48,7 +48,11 @@ module rom1p1r #(parameter ADDR_WIDTH = 8, DATA_WIDTH = 32, PRELOAD_ENABLED = 0)
 | 
			
		||||
 | 
			
		||||
  initial begin
 | 
			
		||||
    if (PRELOAD_ENABLED) begin
 | 
			
		||||
`ifdef VERILATOR
 | 
			
		||||
      $readmemh({getenvval("WALLY"), "/fpga/src/boot.mem"}, ROM, 0);
 | 
			
		||||
`else
 | 
			
		||||
      $readmemh("$WALLY/fpga/src/boot.mem", ROM, 0);
 | 
			
		||||
`endif
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user