mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	fixup! dfflibmap: propagate negated next_state to output correctly
This commit is contained in:
		
							parent
							
								
									778079b058
								
							
						
					
					
						commit
						73cbcffbbb
					
				
					 1 changed files with 33 additions and 0 deletions
				
			
		
							
								
								
									
										33
									
								
								tests/techmap/dfflibmap_dffr_not_next.lib
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								tests/techmap/dfflibmap_dffr_not_next.lib
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,33 @@ | |||
| library(test) { | ||||
|   cell (dffr_not_next) { | ||||
|     area : 6; | ||||
|     ff("IQ", "IQN") { | ||||
|       next_state : "!D"; | ||||
|       clocked_on : "CLK"; | ||||
|       clear      : "CLEAR"; | ||||
|       preset     : "PRESET"; | ||||
|       clear_preset_var1 : L; | ||||
|       clear_preset_var2 : L; | ||||
|     } | ||||
|     pin(D) { | ||||
|       direction : input; | ||||
|     } | ||||
|     pin(CLK) { | ||||
|       direction : input; | ||||
|     } | ||||
|     pin(CLEAR) { | ||||
|       direction : input; | ||||
|     } | ||||
|     pin(PRESET) { | ||||
|       direction : input; | ||||
|     } | ||||
|     pin(Q) { | ||||
|       direction: output; | ||||
|       function : "IQ"; | ||||
|     } | ||||
|     pin(QN) { | ||||
|       direction: output; | ||||
|       function : "IQN"; | ||||
|     } | ||||
|   } | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue