mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Replaced std::unordered_map as implementation for Yosys::dict
This commit is contained in:
		
							parent
							
								
									e52d1f9b9a
								
							
						
					
					
						commit
						9e6fb0b02c
					
				
					 12 changed files with 318 additions and 103 deletions
				
			
		|  | @ -106,10 +106,10 @@ struct CoverData { | |||
| extern "C" struct CoverData __start_yosys_cover_list[]; | ||||
| extern "C" struct CoverData __stop_yosys_cover_list[]; | ||||
| 
 | ||||
| extern new_dict<std::string, std::pair<std::string, int>> extra_coverage_data; | ||||
| extern dict<std::string, std::pair<std::string, int>> extra_coverage_data; | ||||
| 
 | ||||
| void cover_extra(std::string parent, std::string id, bool increment = true); | ||||
| new_dict<std::string, std::pair<std::string, int>> get_coverage_data(); | ||||
| dict<std::string, std::pair<std::string, int>> get_coverage_data(); | ||||
| 
 | ||||
| #define cover_list(_id, ...) do { cover(_id); \ | ||||
| 	std::string r = cover_list_worker(_id, __VA_ARGS__); \ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue