mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Remove check for cell->name[0] == '$'
This commit is contained in:
		
							parent
							
								
									c373640a3a
								
							
						
					
					
						commit
						20ca795b87
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1248,7 +1248,7 @@ void dump_cell(std::ostream &f, std::string indent, RTLIL::Cell *cell) | |||
| 	f << stringf("%s" "%s", indent.c_str(), id(cell->type, false).c_str()); | ||||
| 
 | ||||
| 	std::string init; | ||||
| 	if (cell->name[0] == '$' && reg_ct.count(cell->type) && cell->hasPort("\\Q")) { | ||||
| 	if (reg_ct.count(cell->type) && cell->hasPort("\\Q")) { | ||||
| 		std::stringstream ss; | ||||
| 		dump_reg_init(ss, cell->getPort("\\Q"), false /* write_equals */); | ||||
| 		init = ss.str(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue