mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +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/sigtools.h" | ||||||
| #include "kernel/log.h" | #include "kernel/yosys.h" | ||||||
| #include <stdlib.h> | #include "kernel/log_help.h" | ||||||
| #include <stdio.h> |  | ||||||
| 
 | 
 | ||||||
| USING_YOSYS_NAMESPACE | USING_YOSYS_NAMESPACE | ||||||
| PRIVATE_NAMESPACE_BEGIN | PRIVATE_NAMESPACE_BEGIN | ||||||
| 
 | 
 | ||||||
| struct RmportsPassPass : public Pass { | struct RmportsPassPass : public Pass { | ||||||
| 	RmportsPassPass() : Pass("rmports", "remove module ports with no connections") { } | 	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 | 	void help() override | ||||||
| 	{ | 	{ | ||||||
| 		//   |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
 | 		//   |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue