mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	simplemap: Fix $dffsre mapping.
This commit is contained in:
		
							parent
							
								
									2a59cd9ed0
								
							
						
					
					
						commit
						8f12c5b063
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -489,7 +489,7 @@ void simplemap_dffsre(RTLIL::Module *module, RTLIL::Cell *cell)
 | 
			
		|||
	RTLIL::SigSpec sig_d = cell->getPort(ID::D);
 | 
			
		||||
	RTLIL::SigSpec sig_q = cell->getPort(ID::Q);
 | 
			
		||||
 | 
			
		||||
	IdString gate_type = stringf("$_DFFSR_%c%c%c%c_", clk_pol, set_pol, clr_pol, en_pol);
 | 
			
		||||
	IdString gate_type = stringf("$_DFFSRE_%c%c%c%c_", clk_pol, set_pol, clr_pol, en_pol);
 | 
			
		||||
 | 
			
		||||
	for (int i = 0; i < width; i++) {
 | 
			
		||||
		RTLIL::Cell *gate = module->addCell(NEW_ID, gate_type);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue