mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-29 18:52:30 +00:00 
			
		
		
		
	Cleanup
This commit is contained in:
		
							parent
							
								
									6513300db7
								
							
						
					
					
						commit
						26de52fa09
					
				
					 2 changed files with 2 additions and 3 deletions
				
			
		|  | @ -43,7 +43,6 @@ FstData::FstData(std::string filename) : ctx(nullptr) | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| 	for (int i=0;i<zeros; i++) timescale_str += "0"; | 	for (int i=0;i<zeros; i++) timescale_str += "0"; | ||||||
| 	if (zeros>0)timescale_str += " "; |  | ||||||
| 	timescale_str += g_units[unit]; | 	timescale_str += g_units[unit]; | ||||||
| 	extractVarNames(); | 	extractVarNames(); | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -1021,7 +1021,7 @@ struct SimWorker : SimShared | ||||||
| 			edges.erase(edges.begin() + (numcycles*2), edges.end()); | 			edges.erase(edges.begin() + (numcycles*2), edges.end()); | ||||||
| 
 | 
 | ||||||
| 		if ((startCount == stopCount) && writeback) { | 		if ((startCount == stopCount) && writeback) { | ||||||
| 			log("Update initial state with values from %zu\n",startCount); | 			log("Update initial state with values from [%zu%s]\n", startCount, fst->getTimescaleString()); | ||||||
| 			if (edges.empty()) | 			if (edges.empty()) | ||||||
| 				edges.push_back(startCount); | 				edges.push_back(startCount); | ||||||
| 			fst->reconstructAllAtTimes(edges); | 			fst->reconstructAllAtTimes(edges); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue