forked from Github_Repos/cvw
		
	Renamed controllerinputstage to controllerinput to match book.
This commit is contained in:
		
							parent
							
								
									730f3ac84e
								
							
						
					
					
						commit
						1f37e6dcea
					
				@ -33,7 +33,7 @@
 | 
			
		||||
 | 
			
		||||
`include "wally-config.vh"
 | 
			
		||||
 | 
			
		||||
module controllerinputstage #(
 | 
			
		||||
module controllerinput #(
 | 
			
		||||
  parameter SAVE_ENABLED = 1           // 1: Save manager inputs if Save = 1, 0: Don't save inputs
 | 
			
		||||
)(
 | 
			
		||||
  input logic                 HCLK, 
 | 
			
		||||
@ -98,14 +98,14 @@ module ebu (
 | 
			
		||||
  // input stages and muxing for IFU and LSU
 | 
			
		||||
  ////////////////////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
 | 
			
		||||
  controllerinputstage IFUInput(.HCLK, .HRESETn, .Save(IFUSave), .Restore(IFURestore), .Disable(IFUDisable),
 | 
			
		||||
  controllerinput IFUInput(.HCLK, .HRESETn, .Save(IFUSave), .Restore(IFURestore), .Disable(IFUDisable),
 | 
			
		||||
    .Request(IFUReq),
 | 
			
		||||
    .HWRITEIn(1'b0), .HSIZEIn(IFUHSIZE), .HBURSTIn(IFUHBURST), .HTRANSIn(IFUHTRANS), .HADDRIn(IFUHADDR),
 | 
			
		||||
    .HWRITEOut(IFUHWRITEOut), .HSIZEOut(IFUHSIZEOut), .HBURSTOut(IFUHBURSTOut), .HREADYOut(IFUHREADY),
 | 
			
		||||
    .HTRANSOut(IFUHTRANSOut), .HADDROut(IFUHADDROut), .HREADYIn(HREADY));
 | 
			
		||||
 | 
			
		||||
  // LSU always has priority so there should never be a need to save and restore the address phase inputs.
 | 
			
		||||
  controllerinputstage #(0) LSUInput(.HCLK, .HRESETn, .Save(1'b0), .Restore(1'b0), .Disable(LSUDisable),
 | 
			
		||||
  controllerinput #(0) LSUInput(.HCLK, .HRESETn, .Save(1'b0), .Restore(1'b0), .Disable(LSUDisable),
 | 
			
		||||
    .Request(LSUReq),
 | 
			
		||||
    .HWRITEIn(LSUHWRITE), .HSIZEIn(LSUHSIZE), .HBURSTIn(LSUHBURST), .HTRANSIn(LSUHTRANS), .HADDRIn(LSUHADDR), .HREADYOut(LSUHREADY),
 | 
			
		||||
    .HWRITEOut(LSUHWRITEOut), .HSIZEOut(LSUHSIZEOut), .HBURSTOut(LSUHBURSTOut),
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user