550b2b8608 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #62  from antonblanchard/byte-reverse-store-opt  
							
							... 
							
							
							
							Move byte reversal of stores to first cycle 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								135805d2ac 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #61  from antonblanchard/execute-cleanup  
							
							... 
							
							
							
							execute1 no longer needs sim_console 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								a061924a78 
								
							
								 
							
						 
						
							
							
								
								Move byte reversal of stores to first cycle  
							
							... 
							
							
							
							We are seeing some timing issues with the second cycle of loadstore,
and  we aren't doing much in the first cycle, so move it here.
Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								6d85920068 
								
							
								 
							
						 
						
							
							
								
								execute1 no longer needs sim_console  
							
							... 
							
							
							
							Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								a4c8dd860a 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #60  from antonblanchard/testbenches  
							
							... 
							
							
							
							Add a few more test benches 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								1b6eef2a5d 
								
							
								 
							
						 
						
							
							
								
								Fix multiply_tb  
							
							... 
							
							
							
							Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								1e3e16e500 
								
							
								 
							
						 
						
							
							
								
								Add an icache testbench  
							
							... 
							
							
							
							Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								d573748da0 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #56  from antonblanchard/writeback-fix3  
							
							... 
							
							
							
							Remove cycle in writeback 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								152261fac8 
								
							
								 
							
						 
						
							
							
								
								Remove cycle in writeback  
							
							... 
							
							
							
							The pipeline had a cycle in writeback. Writeback is pretty
simple and unlikely to be a bottleneck, so lets remove it.
Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								7bb88d5321 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #59  from antonblanchard/trap-decode  
							
							... 
							
							
							
							Fix make check 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								f5a5b91736 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #58  from antonblanchard/decode2-assert  
							
							... 
							
							
							
							Fix spurious outstanding assert 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								427effdaa9 
								
							
								 
							
						 
						
							
							
								
								Fix make check  
							
							... 
							
							
							
							We need to finish support for all the trap instructions, but for now
we at least need a decode entry for tw, so we know to stall until the
previous instruction completes. Some of our test cases were failing
because the trap executed before the previous instruction completed.
All these trap instructions need to be resolved at completion, not
in execute.
Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								d813ffb748 
								
							
								 
							
						 
						
							
							
								
								Fix spurious outstanding assert  
							
							... 
							
							
							
							Check it in the sequential process, not the combinatorial one.
Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								30aa16d8f3 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #57  from antonblanchard/add-nop  
							
							... 
							
							
							
							Add a decode for the nop instruction 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								9867fb6149 
								
							
								 
							
						 
						
							
							
								
								Add a decode for the nop instruction  
							
							... 
							
							
							
							We want these to go out without any GPR dependencies, so add
a specific entry in decode for them.
Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								85062793b1 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #55  from antonblanchard/fetch-fix  
							
							... 
							
							
							
							Add a default value for RESET_ADDRESS 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								d52046104f 
								
							
								 
							
						 
						
							
							
								
								Add a default value for RESET_ADDRESS  
							
							... 
							
							
							
							Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								71e45a82ee 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #51  from antonblanchard/writeback-fix  
							
							... 
							
							
							
							Some writeback updates 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								e69e79d8af 
								
							
								 
							
						 
						
							
							
								
								Reformat writeback.vhdl  
							
							... 
							
							
							
							Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								50a361a5dc 
								
							
								 
							
						 
						
							
							
								
								Exit if we try to write more than one GPR or CR in a cycle  
							
							... 
							
							
							
							Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								ab34c48392 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #50  from antonblanchard/decode1-opt  
							
							... 
							
							
							
							No need to gate nia or insn in decode1 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								acdb2ea157 
								
							
								 
							
						 
						
							
							
								
								No need to gate nia or insn in decode1  
							
							... 
							
							
							
							Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								0e6861e5db 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #49  from antonblanchard/icache-2  
							
							... 
							
							
							
							Add a simple direct mapped icache 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								89849a6856 
								
							
								 
							
						 
						
							
							
								
								Add a simple direct mapped icache  
							
							... 
							
							
							
							Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								6cbf456388 
								
							
								 
							
						 
						
							
							
								
								SOC memory wishbone should clear ACK regardless of STB  
							
							... 
							
							
							
							The memory wishbone doesn't clear ACK and move the state machine on
until STB is de-asserted. This seems like it isn't compliant with
the spec and results in a maximum throughput of 1 transfer every
3 cycles.
Fixing this improves the situation to one transfer every 2 cycles.
Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								67446709ca 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #48  from antonblanchard/clk_gen_bypass  
							
							... 
							
							
							
							Fix clk_gen_bypass 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								d89a9929fd 
								
							
								 
							
						 
						
							
							
								
								Fix clk_gen_bypass  
							
							... 
							
							
							
							I broke clk_gen_bypass when updating the SOC reset code.
Fixes 03fd06deaf 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								80aa781454 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #47  from antonblanchard/if-fix  
							
							... 
							
							
							
							Explicitly check against '1' in if statements 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								ca6f84efd6 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #46  from antonblanchard/record-fix  
							
							... 
							
							
							
							Remove names from end record statements 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								b9e28598b4 
								
							
								 
							
						 
						
							
							
								
								Explicitly check against '1' in if statements  
							
							... 
							
							
							
							nvc doesn't like what I think is a VHDL 2008 construct. Lets just
check against '1' explicitly.
Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								142a722ce4 
								
							
								 
							
						 
						
							
							
								
								Remove names from end record statements  
							
							... 
							
							
							
							These are optional, and vhdlpp from iverilog barfs on them.
Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								43f81773b4 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #45  from antonblanchard/fixes  
							
							... 
							
							
							
							Fix a couple of issues in the recent pipelining merge 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								7caf71ba71 
								
							
								 
							
						 
						
							
							
								
								Fix issue in loadstore1  
							
							... 
							
							
							
							We weren't using the register in this stage.
Fixes: 819f820090 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								95442cd62c 
								
							
								 
							
						 
						
							
							
								
								Fix issue in execute2  
							
							... 
							
							
							
							We weren't using the register in this stage.
Fixes: c7aa683ba8 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								1ba84b56dd 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #44  from antonblanchard/nia-remove  
							
							... 
							
							
							
							Remove nia from loadstore and multiply 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								1d00c75ecc 
								
							
								 
							
						 
						
							
							
								
								Remove nia from loadstore and multiply  
							
							... 
							
							
							
							Neither unit needs the NIA, so remove it.
Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								8b88e26ece 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #43  from mikey/trivial  
							
							... 
							
							
							
							Remove FIXME comment 
							
						 
						
							6 years ago  
				
					
						
							
							
								
									
								
								Michael Neuling 
							
						 
						
							
							
								1e1b799382 
								
							
								 
							
						 
						
							
							
								
								Remove FIXME comment  
							
							... 
							
							
							
							This was mistakenly left behind in 4d5abfb430 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								ff1455dea6 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #41  from mikey/travis  
							
							... 
							
							
							
							Allow a full make check on Travis 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								2f3ca35a6e 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #42  from antonblanchard/fetch-rework-v2  
							
							... 
							
							
							
							Fetch rework 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								4528ef2b43 
								
							
								 
							
						 
						
							
							
								
								Reformat core.vhdl  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								a2df2a10a2 
								
							
								 
							
						 
						
							
							
								
								Remove sim console  
							
							... 
							
							
							
							We can force all existing code to use the UART console
by passing 0 in bit zero of the sim config register.
Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								68533c4cfb 
								
							
								 
							
						 
						
							
							
								
								Reduce multiply to 2 cycles  
							
							... 
							
							
							
							We want all non load/store ops to take 2 cycles to make
tracking write back easier.
Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								9fe8d211eb 
								
							
								 
							
						 
						
							
							
								
								Register outputs on writeback  
							
							... 
							
							
							
							Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								c7aa683ba8 
								
							
								 
							
						 
						
							
							
								
								Register outputs on execute2  
							
							... 
							
							
							
							Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								819f820090 
								
							
								 
							
						 
						
							
							
								
								Register outputs on loadstore1  
							
							... 
							
							
							
							Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								a8f8c54b77 
								
							
								 
							
						 
						
							
							
								
								Move debug execute output into decode2  
							
							... 
							
							
							
							This covers all units, and we avoid double printing.
Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								92a7152370 
								
							
								 
							
						 
						
							
							
								
								Rework pipeline, add stall and flush signals  
							
							... 
							
							
							
							This adds stall and flush signals to the pipeline.
Signed-off-by: Anton Blanchard <anton@linux.ibm.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								
									
								
								Michael Neuling 
							
						 
						
							
							
								6b06d5f67d 
								
							
								 
							
						 
						
							
							
								
								Allow a full make check on Travis  
							
							... 
							
							
							
							Some Travis instances allow more CPU time. On these we can perform the
full 'make check'.
This patch allows this longer `make check`. To enable it you need to
go into your Travis configuration and add a TRAVIS_FULL_CHECK
environment variable.
If you don't add this environment, the shorter make check_light is
still run.
Signed-off-by: Michael Neuling <mikey@neuling.org> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								3b32abcb5d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #40  from antonblanchard/makefile-dependencies  
							
							... 
							
							
							
							Update Makefile dependencies 
							
						 
						
							6 years ago