mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Fix RSTP
This commit is contained in:
		
							parent
							
								
									af147d1430
								
							
						
					
					
						commit
						37a34eeb04
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -438,7 +438,7 @@ void pack_xilinx_dsp(dict<SigBit, Cell*> &bit_to_driver, xilinx_dsp_pm &pm)
 | 
				
			||||||
				st.ffPrstmux->connections_.at("\\Y").replace(P, pm.module->addWire(NEW_ID, GetSize(P)));
 | 
									st.ffPrstmux->connections_.at("\\Y").replace(P, pm.module->addWire(NEW_ID, GetSize(P)));
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			else
 | 
								else
 | 
				
			||||||
				cell->setPort("\\RSTP", State::S1);
 | 
									cell->setPort("\\RSTP", State::S0);
 | 
				
			||||||
			if (st.ffPcemux) {
 | 
								if (st.ffPcemux) {
 | 
				
			||||||
				SigSpec S = st.ffPcemux->getPort("\\S");
 | 
									SigSpec S = st.ffPcemux->getPort("\\S");
 | 
				
			||||||
				cell->setPort("\\CEP", st.ffPcepol ? S : pm.module->Not(NEW_ID, S));
 | 
									cell->setPort("\\CEP", st.ffPcepol ? S : pm.module->Not(NEW_ID, S));
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue