mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 19:22:31 +00:00 
			
		
		
		
	synth_xilinx: fix help when no active_design; fixes #1664
This commit is contained in:
		
							parent
							
								
									7e0e42f907
								
							
						
					
					
						commit
						0fd64aab25
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -316,9 +316,10 @@ struct SynthXilinxPass : public ScriptPass | |||
| 			run("proc"); | ||||
| 			if (flatten || help_mode) | ||||
| 				run("flatten", "(with '-flatten')"); | ||||
| 			if (active_design) | ||||
| 				active_design->scratchpad_unset("tribuf.added_something"); | ||||
| 			run("tribuf -logic"); | ||||
| 			if (noiopad && active_design->scratchpad_get_bool("tribuf.added_something")) | ||||
| 			if (noiopad && active_design && active_design->scratchpad_get_bool("tribuf.added_something")) | ||||
| 				log_error("Tristate buffers are unsupported without the '-iopad' option.\n"); | ||||
| 			run("deminout"); | ||||
| 			run("opt_expr"); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue