mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	cmdref: Assign rmports to greenpak group
Also tidy `#include`s.
This commit is contained in:
		
							parent
							
								
									862fe4cb56
								
							
						
					
					
						commit
						f2ef17b581
					
				
					 1 changed files with 7 additions and 4 deletions
				
			
		|  | @ -17,17 +17,20 @@ | |||
|  * | ||||
|  */ | ||||
| 
 | ||||
| #include "kernel/register.h" | ||||
| #include "kernel/sigtools.h" | ||||
| #include "kernel/log.h" | ||||
| #include <stdlib.h> | ||||
| #include <stdio.h> | ||||
| #include "kernel/yosys.h" | ||||
| #include "kernel/log_help.h" | ||||
| 
 | ||||
| USING_YOSYS_NAMESPACE | ||||
| PRIVATE_NAMESPACE_BEGIN | ||||
| 
 | ||||
| struct RmportsPassPass : public Pass { | ||||
| 	RmportsPassPass() : Pass("rmports", "remove module ports with no connections") { } | ||||
| 	bool formatted_help() override { | ||||
| 		auto *help = PrettyHelp::get_current(); | ||||
| 		help->set_group("techlibs/greenpak4"); | ||||
| 		return false; | ||||
| 	} | ||||
| 	void help() override | ||||
| 	{ | ||||
| 		//   |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue