mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 19:52:31 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			358 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			358 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| // Test library for different DFF function expressions
 | |
| 
 | |
| library(dff) {
 | |
|   cell (dff) {
 | |
|     area : 1;
 | |
|     ff("IQ", "IQN") {
 | |
|       next_state : "(D)";
 | |
|       clocked_on : "CLK";
 | |
|     } 
 | |
|     pin(D) {
 | |
|       direction : input;
 | |
|     }
 | |
|     pin(CLK) {
 | |
|       direction : input;
 | |
|     }
 | |
|     pin(Q) {
 | |
|       direction: output;
 | |
|       function : "IQ";   
 | |
|     }
 | |
|   }
 | |
| 
 | |
| } /* end */
 |