diff options
-rw-r--r-- | sound.v | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,9 +36,9 @@ module slf( always @(posedge clk) if ( clk_en ) begin - if ( ctr[13:10] == `vco_max ) + if ( ctr == `vco_max ) up <= 0; - else if ( ctr[13:10] == `vco_min ) + else if ( ctr == `vco_min ) up <= 1; if ( up ) |