mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Review comment from @cliffordwolf
This commit is contained in:
		
							parent
							
								
									6872805a3e
								
							
						
					
					
						commit
						4d89c3f468
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -112,7 +112,8 @@ struct ClkbufmapPass : public Pass { | |||
| 		for (auto module : modules_sorted) | ||||
| 		{ | ||||
| 			if (module->get_blackbox_attribute()) { | ||||
| 				for (auto wire : module->wires()) { | ||||
| 				for (auto port : module->ports) { | ||||
| 					auto wire = module->wire(port); | ||||
| 					if (wire->get_bool_attribute("\\clkbuf_driver")) | ||||
| 						for (int i = 0; i < GetSize(wire); i++) | ||||
| 							buf_ports.insert(make_pair(module->name, make_pair(wire->name, i))); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue