mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Extended rxfifotimeout count to actually be 4 characters long.
This commit is contained in:
		
							parent
							
								
									a008c61939
								
							
						
					
					
						commit
						b1170ec7a2
					
				| @ -357,7 +357,7 @@ module uartPC16550D( | |||||||
|                          (rxfifohead + 16 - rxfifotail); |                          (rxfifohead + 16 - rxfifotail); | ||||||
|   // verilator lint_on WIDTH
 |   // verilator lint_on WIDTH
 | ||||||
|   assign rxfifotriggered = rxfifoentries >= rxfifotriggerlevel; |   assign rxfifotriggered = rxfifoentries >= rxfifotriggerlevel; | ||||||
|   assign rxfifotimeout = rxtimeoutcnt[6]; // time out after 4 character periods; *** probably not right yet
 |   assign rxfifotimeout = rxtimeoutcnt == {rxbitsexpected, 6'b0}; // time out after 4 character periods; *** probably not right yet
 | ||||||
|   //assign rxfifotimeout = 0; // disabled pending fix
 |   //assign rxfifotimeout = 0; // disabled pending fix
 | ||||||
| 
 | 
 | ||||||
|   // detect any errors in rx fifo
 |   // detect any errors in rx fifo
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user