mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Corrects btor2 backend
This commit is contained in:
		
							parent
							
								
									cb0dc6e68b
								
							
						
					
					
						commit
						5eebfabe42
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -897,9 +897,12 @@ struct BtorWorker | |||
| 
 | ||||
| 							int sid = get_bv_sid(GetSize(s)); | ||||
| 							int nid = next_nid++; | ||||
| 							btorf("%d input %d %s\n", nid, sid); | ||||
| 							btorf("%d input %d\n", nid, sid); | ||||
| 							nid_width[nid] = GetSize(s); | ||||
| 
 | ||||
| 							for (int j = 0; j < GetSize(s); j++) | ||||
| 								nidbits.push_back(make_pair(nid, j)); | ||||
| 
 | ||||
| 							i += GetSize(s)-1; | ||||
| 							continue; | ||||
| 						} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue