mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	cxxrtl: fix typo in codegen for async set/clear.
This commit is contained in:
		
							parent
							
								
									3c3788ee28
								
							
						
					
					
						commit
						b841d1bcbe
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1446,7 +1446,7 @@ struct CxxrtlWorker {
 | 
			
		|||
				f << indent;
 | 
			
		||||
				dump_sigspec_lhs(cell->getPort(ID::Q));
 | 
			
		||||
				f << " = ";
 | 
			
		||||
				dump_sigspec_lhs(cell->getPort(ID::Q));
 | 
			
		||||
				dump_sigspec_rhs(cell->getPort(ID::Q));
 | 
			
		||||
				f << ".update(";
 | 
			
		||||
				dump_const(RTLIL::Const(RTLIL::S1, cell->getParam(ID::WIDTH).as_int()));
 | 
			
		||||
				f << ", ";
 | 
			
		||||
| 
						 | 
				
			
			@ -1458,7 +1458,7 @@ struct CxxrtlWorker {
 | 
			
		|||
				f << indent;
 | 
			
		||||
				dump_sigspec_lhs(cell->getPort(ID::Q));
 | 
			
		||||
				f << " = ";
 | 
			
		||||
				dump_sigspec_lhs(cell->getPort(ID::Q));
 | 
			
		||||
				dump_sigspec_rhs(cell->getPort(ID::Q));
 | 
			
		||||
				f << ".update(";
 | 
			
		||||
				dump_const(RTLIL::Const(RTLIL::S0, cell->getParam(ID::WIDTH).as_int()));
 | 
			
		||||
				f << ", ";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue