mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Fixed undeclared "count" in GP_COUNT8_ADV
This commit is contained in:
		
							parent
							
								
									db20e3f1c2
								
							
						
					
					
						commit
						ac75524f69
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -219,6 +219,8 @@ module GP_COUNT8_ADV(input CLK, input RST, output reg OUT,
 | 
				
			||||||
	parameter COUNT_TO		= 8'h1;
 | 
						parameter COUNT_TO		= 8'h1;
 | 
				
			||||||
	parameter CLKIN_DIVIDE	= 1;
 | 
						parameter CLKIN_DIVIDE	= 1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						reg[7:0] count = COUNT_TO;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	initial begin
 | 
						initial begin
 | 
				
			||||||
		if(CLKIN_DIVIDE != 1) begin
 | 
							if(CLKIN_DIVIDE != 1) begin
 | 
				
			||||||
			$display("ERROR: CLKIN_DIVIDE values other than 1 not implemented");
 | 
								$display("ERROR: CLKIN_DIVIDE values other than 1 not implemented");
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue