mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Added more comments
This commit is contained in:
		
							parent
							
								
									9f4ca06f7f
								
							
						
					
					
						commit
						a21d731834
					
				| @ -136,7 +136,7 @@ module busfsm #(parameter integer   WordCountThreshold, | ||||
| 
 | ||||
|   always_comb begin | ||||
|     case(WordCountThreshold) | ||||
|       1:        LocalBurstType = 3'b000; | ||||
|       0:        LocalBurstType = 3'b000; | ||||
|       3:        LocalBurstType = 3'b011; // INCR4
 | ||||
|       7:        LocalBurstType = 3'b101; // INCR8
 | ||||
|       15:       LocalBurstType = 3'b111; // INCR16
 | ||||
| @ -144,6 +144,7 @@ module busfsm #(parameter integer   WordCountThreshold, | ||||
|     endcase | ||||
|   end | ||||
| 
 | ||||
|   // Would these be better as always_comb statements or muxes?
 | ||||
|   assign LSUBurstType = (UnCachedRW) ? 3'b0 : LocalBurstType; // Don't want to use burst when doing an Uncached Access.
 | ||||
|   assign LSUTransComplete = (UnCachedRW) ? LSUBusAck : WordCountFlag & LSUBusAck; | ||||
|   // Use SEQ if not doing first word, NONSEQ if doing the first read/write, and IDLE if finishing up.
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user