mirror of https://github.com/YosysHQ/yosys.git
Fixed undeclared "count" in GP_COUNT8_ADV
This commit is contained in:
parent
db20e3f1c2
commit
ac75524f69
|
@ -219,6 +219,8 @@ module GP_COUNT8_ADV(input CLK, input RST, output reg OUT,
|
|||
parameter COUNT_TO = 8'h1;
|
||||
parameter CLKIN_DIVIDE = 1;
|
||||
|
||||
reg[7:0] count = COUNT_TO;
|
||||
|
||||
initial begin
|
||||
if(CLKIN_DIVIDE != 1) begin
|
||||
$display("ERROR: CLKIN_DIVIDE values other than 1 not implemented");
|
||||
|
|
Loading…
Reference in New Issue