mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 19:22:31 +00:00 
			
		
		
		
	docs/internal: Add note on synth_* script highlighting
This commit is contained in:
		
							parent
							
								
									da9bf5d610
								
							
						
					
					
						commit
						87ec486962
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		|  | @ -101,6 +101,15 @@ Dumping command help to json | |||
|    :end-before: "chparam": { | ||||
|    :caption: `chformal` in generated :file:`cmds.json` | ||||
| 
 | ||||
| .. note:: Synthesis command scripts are special cased | ||||
| 
 | ||||
|    If the final block of help output starts with the string `"The following | ||||
|    commands are executed by this synthesis command:\n"`, then the rest of the | ||||
|    code block is formatted as ``yoscrypt`` (e.g. `synth_ice40`).  The caveat | ||||
|    here is that if the ``script()`` calls ``run()`` on any commands *prior* to | ||||
|    the first ``check_label`` then the auto detection will break and revert to | ||||
|    unformatted code (e.g. `synth_fabulous`).  | ||||
| 
 | ||||
| Command line rendering | ||||
| ~~~~~~~~~~~~~~~~~~~~~~ | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue