mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Added SIZE() macro
This commit is contained in:
		
							parent
							
								
									a6174aaf5e
								
							
						
					
					
						commit
						efa7884026
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -26,7 +26,9 @@ | |||
| #include <string> | ||||
| #include <assert.h> | ||||
| 
 | ||||
| // various helpers (unrelated to RTLIL)
 | ||||
| std::string stringf(const char *fmt, ...); | ||||
| #define SIZE(__obj) int(__obj.size()) | ||||
| 
 | ||||
| namespace RTLIL | ||||
| { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue