mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Merge pull request #2254 from whitequark/cxxrtl-extern-c
cxxrtl: add missing extern "C"
This commit is contained in:
		
						commit
						0e9b889b77
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -1935,6 +1935,7 @@ struct CxxrtlWorker { | |||
| 		f << "} // namespace " << design_ns << "\n"; | ||||
| 		f << "\n"; | ||||
| 		if (top_module != nullptr && debug_info) { | ||||
| 			f << "extern \"C\"\n"; | ||||
| 			f << "cxxrtl_toplevel " << design_ns << "_create() {\n"; | ||||
| 			inc_indent(); | ||||
| 				std::string top_type = design_ns + "::" + mangle(top_module); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue