mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Flush uart print statements on \n
This commit is contained in:
		
							parent
							
								
									e145670b15
								
							
						
					
					
						commit
						233726e8d8
					
				@ -377,6 +377,7 @@ module uartPC16550D(
 | 
			
		||||
          txhrfull <= #1 1;
 | 
			
		||||
        end
 | 
			
		||||
        $write("%c",Din); // for testbench
 | 
			
		||||
        if (Din == '\n') $flush;
 | 
			
		||||
      end
 | 
			
		||||
      if (txstate == UART_IDLE) begin // move data into tx shift register if available
 | 
			
		||||
        if (fifoenabled) begin 
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user