mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			326 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			326 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include "kernel/rtlil.h"
 | |
| 
 | |
| YOSYS_NAMESPACE_BEGIN
 | |
| 
 | |
| struct TestPass : public Pass {
 | |
| 	TestPass() : Pass("test", "test") { }
 | |
| 	void execute(std::vector<std::string> args, RTLIL::Design *design) override
 | |
| 	{
 | |
| 		size_t argidx = 1;
 | |
| 		extra_args(args, argidx, design);
 | |
| 		log("Plugin test passed!\n");
 | |
| 	}
 | |
| } TestPass;
 | |
| 
 | |
| YOSYS_NAMESPACE_END
 |