mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	cmdref: Format help_script() output as yoscrypt
Or at least all of the synth commands, because they have the same preceding text. Except `synth_fabulous`, because that has unconditional `read_verilog`s at the start. Which seems like a bad idea and and not compatible with `-run`?
This commit is contained in:
		
							parent
							
								
									5f771a965b
								
							
						
					
					
						commit
						7ebccd2dea
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -972,7 +972,11 @@ struct HelpPass : public Pass { | ||||||
| 				} | 				} | ||||||
| 
 | 
 | ||||||
| 				if (!current_buffer.empty()) { | 				if (!current_buffer.empty()) { | ||||||
| 					current_listing->codeblock(current_buffer, "none", null_source); | 					if (current_buffer.size() > 64 && current_buffer.substr(0, 64).compare("The following commands are executed by this synthesis command:\n\n") == 0) { | ||||||
|  | 						current_listing->paragraph(current_buffer.substr(0, 62), null_source); | ||||||
|  | 						current_listing->codeblock(current_buffer.substr(64), "yoscrypt", null_source); | ||||||
|  | 					} else | ||||||
|  | 						current_listing->codeblock(current_buffer, "none", null_source); | ||||||
| 					current_buffer = ""; | 					current_buffer = ""; | ||||||
| 				} | 				} | ||||||
| 			} | 			} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue