mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Added blackbox $__COUNT_ cell model
This commit is contained in:
		
							parent
							
								
									80aaf50302
								
							
						
					
					
						commit
						fc0c7f74dc
					
				
					 2 changed files with 18 additions and 0 deletions
				
			
		|  | @ -2,6 +2,7 @@ | ||||||
| OBJS += techlibs/greenpak4/synth_greenpak4.o | OBJS += techlibs/greenpak4/synth_greenpak4.o | ||||||
| OBJS += techlibs/greenpak4/greenpak4_dffinv.o | OBJS += techlibs/greenpak4/greenpak4_dffinv.o | ||||||
| 
 | 
 | ||||||
|  | $(eval $(call add_share_file,share/greenpak4,techlibs/greenpak4/cells_blackbox.v)) | ||||||
| $(eval $(call add_share_file,share/greenpak4,techlibs/greenpak4/cells_latch.v)) | $(eval $(call add_share_file,share/greenpak4,techlibs/greenpak4/cells_latch.v)) | ||||||
| $(eval $(call add_share_file,share/greenpak4,techlibs/greenpak4/cells_map.v)) | $(eval $(call add_share_file,share/greenpak4,techlibs/greenpak4/cells_map.v)) | ||||||
| $(eval $(call add_share_file,share/greenpak4,techlibs/greenpak4/cells_sim.v)) | $(eval $(call add_share_file,share/greenpak4,techlibs/greenpak4/cells_sim.v)) | ||||||
|  |  | ||||||
							
								
								
									
										17
									
								
								techlibs/greenpak4/cells_blackbox.v
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								techlibs/greenpak4/cells_blackbox.v
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,17 @@ | ||||||
|  | module \$__COUNT_ (CE, CLK, OUT, POUT, RST, UP); | ||||||
|  | 
 | ||||||
|  | 	input wire CE; | ||||||
|  | 	input wire CLK; | ||||||
|  | 	output reg OUT; | ||||||
|  | 	output reg[WIDTH-1:0] POUT; | ||||||
|  | 	input wire RST; | ||||||
|  | 	input wire UP; | ||||||
|  | 
 | ||||||
|  | 	parameter COUNT_TO = 1; | ||||||
|  | 	parameter RESET_MODE = "RISING"; | ||||||
|  | 	parameter HAS_POUT = 0; | ||||||
|  | 	parameter HAS_CE = 0; | ||||||
|  | 	parameter WIDTH = 8; | ||||||
|  | 	parameter DIRECTION = "DOWN"; | ||||||
|  | 
 | ||||||
|  | endmodule | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue