3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-14 21:08:47 +00:00

Fixed undeclared "count" in GP_COUNT8_ADV

This commit is contained in:
Andrew Zonenberg 2017-08-07 20:21:55 -07:00
parent db20e3f1c2
commit ac75524f69

View file

@ -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");