mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 19:22:31 +00:00 
			
		
		
		
	Revert "Refactor full_selection"
This commit is contained in:
		
							parent
							
								
									98d4355b82
								
							
						
					
					
						commit
						d49364d96f
					
				
					 38 changed files with 270 additions and 707 deletions
				
			
		|  | @ -2887,7 +2887,7 @@ struct SimPass : public Pass { | |||
| 			if (!top_mod) | ||||
| 				log_cmd_error("Design has no top module, use the 'hierarchy' command to specify one.\n"); | ||||
| 		} else { | ||||
| 			auto mods = design->selected_unboxed_whole_modules(); | ||||
| 			auto mods = design->selected_whole_modules(); | ||||
| 			if (GetSize(mods) != 1) | ||||
| 				log_cmd_error("Only one top module must be selected.\n"); | ||||
| 			top_mod = mods.front(); | ||||
|  | @ -3016,7 +3016,7 @@ struct Fst2TbPass : public Pass { | |||
| 			if (!top_mod) | ||||
| 				log_cmd_error("Design has no top module, use the 'hierarchy' command to specify one.\n"); | ||||
| 		} else { | ||||
| 			auto mods = design->selected_unboxed_whole_modules(); | ||||
| 			auto mods = design->selected_whole_modules(); | ||||
| 			if (GetSize(mods) != 1) | ||||
| 				log_cmd_error("Only one top module must be selected.\n"); | ||||
| 			top_mod = mods.front(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue