mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Bugfixes in new BTOR back-end
This commit is contained in:
		
							parent
							
								
									60d1129506
								
							
						
					
					
						commit
						e3a51b3e87
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -334,7 +334,7 @@ struct BtorWorker | |||
| 
 | ||||
| 				if (nid >= 0) { | ||||
| 					int sid = get_bv_sid(width+upper-lower+1); | ||||
| 					int nid4 = next_nid++; | ||||
| 					nid4 = next_nid++; | ||||
| 					btorf("%d concat %d %d %d\n", nid4, sid, nid, nid3); | ||||
| 				} | ||||
| 
 | ||||
|  | @ -411,8 +411,9 @@ struct BtorWorker | |||
| 
 | ||||
| 			btorf_push(stringf("output %s", log_id(wire))); | ||||
| 
 | ||||
| 			int sid = get_bv_sid(GetSize(wire)); | ||||
| 			int nid = get_sig_nid(wire); | ||||
| 			btorf("%d output %d %s\n", next_nid++, nid, log_id(wire)); | ||||
| 			btorf("%d output %d %d %s\n", next_nid++, sid, nid, log_id(wire)); | ||||
| 
 | ||||
| 			btorf_pop(stringf("output %s", log_id(wire))); | ||||
| 		} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue