mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 19:22:31 +00:00 
			
		
		
		
	Check if stimulated
This commit is contained in:
		
							parent
							
								
									9a8939f0a4
								
							
						
					
					
						commit
						be7be63fec
					
				
					 1 changed files with 14 additions and 0 deletions
				
			
		|  | @ -903,7 +903,21 @@ struct SimWorker : SimShared | |||
| 				top->set_state(item.first, Const::from_string(v)); | ||||
| 			} | ||||
| 			update(); | ||||
| 
 | ||||
| 			/*Wire *wire = topmod->wire("\\cnt");
 | ||||
| 			Const value = top->get_state(wire); | ||||
| 			std::stringstream ss; | ||||
| 			for (int i = GetSize(value)-1; i >= 0; i--) { | ||||
| 				switch (value[i]) { | ||||
| 					case State::S0: ss << "0"; break; | ||||
| 					case State::S1: ss << "1"; break; | ||||
| 					case State::Sx: ss << "x"; break; | ||||
| 					default: ss << "z"; | ||||
| 				} | ||||
| 			} | ||||
| 			log("%s\n",ss.str().c_str());*/ | ||||
| 		} | ||||
| 	} | ||||
| }; | ||||
| 
 | ||||
| struct SimPass : public Pass { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue