mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Fix typo in opt_rmdff
This commit is contained in:
		
							parent
							
								
									a3a80b755c
								
							
						
					
					
						commit
						feb2ddb52b
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -292,8 +292,8 @@ bool handle_dff(RTLIL::Module *mod, RTLIL::Cell *dff) | ||||||
| 		sig_q = dff->getPort("\\Q"); | 		sig_q = dff->getPort("\\Q"); | ||||||
| 		sig_c = dff->getPort("\\C"); | 		sig_c = dff->getPort("\\C"); | ||||||
| 		sig_e = dff->getPort("\\E"); | 		sig_e = dff->getPort("\\E"); | ||||||
| 		val_cp = RTLIL::Const(dff->type[6] == 'P', 1); | 		val_cp = RTLIL::Const(dff->type[7] == 'P', 1); | ||||||
| 		val_ep = RTLIL::Const(dff->type[7] == 'P', 1); | 		val_ep = RTLIL::Const(dff->type[8] == 'P', 1); | ||||||
| 	} | 	} | ||||||
| 	else if (dff->type == "$ff") { | 	else if (dff->type == "$ff") { | ||||||
| 		sig_d = dff->getPort("\\D"); | 		sig_d = dff->getPort("\\D"); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue