mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	rtlil: represent Const strings as std::string
This commit is contained in:
		
							parent
							
								
									61ed9b6263
								
							
						
					
					
						commit
						785bd44da7
					
				
					 90 changed files with 947 additions and 643 deletions
				
			
		|  | @ -78,7 +78,7 @@ struct OptLutInsPass : public Pass { | |||
| 				if (techname == "") { | ||||
| 					if (cell->type != ID($lut)) | ||||
| 						continue; | ||||
| 					inputs = cell->getPort(ID::A).bits(); | ||||
| 					inputs = cell->getPort(ID::A); | ||||
| 					output = cell->getPort(ID::Y); | ||||
| 					lut = cell->getParam(ID::LUT); | ||||
| 				} else if (techname == "xilinx" || techname == "gowin") { | ||||
|  | @ -213,7 +213,7 @@ struct OptLutInsPass : public Pass { | |||
| 						} | ||||
| 						lidx |= val << j; | ||||
| 					} | ||||
| 					new_lut[i] = lut[lidx]; | ||||
| 					new_lut.bits()[i] = lut[lidx]; | ||||
| 				} | ||||
| 				// For lattice, and gowin do not replace with a const driver — the nextpnr
 | ||||
| 				// packer requires a complete set of LUTs for wide LUT muxes.
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue