mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 19:22:31 +00:00 
			
		
		
		
	fmt: format %t consistently at initial
This commit is contained in:
		
							parent
							
								
									c391ee7a0d
								
							
						
					
					
						commit
						9f9561379b
					
				
					 3 changed files with 23 additions and 10 deletions
				
			
		|  | @ -193,6 +193,16 @@ module m; | |||
| 	initial $display(":%020b:",   16'shaaaa); | ||||
| 	initial $display(":%-020b:",  16'shaaaa); | ||||
| 
 | ||||
| 	initial $display("==> time %%t"); | ||||
| 	initial $display(":%t:",      $time); | ||||
| 	initial $display(":%-t:",     $time); | ||||
| 	initial $display(":%0t:",     $time); | ||||
| 	initial $display(":%-0t:",    $time); | ||||
| 	initial $display(":%10t:",    $time); | ||||
| 	initial $display(":%-10t:",   $time); | ||||
| 	initial $display(":%015t:",   $time); | ||||
| 	initial $display(":%-015t:",  $time); | ||||
| 
 | ||||
| 	initial $display("===> %%s"); | ||||
| 	initial $display(":%10s:", "foo"); | ||||
| 	initial $display(":%010s:", "foo"); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue