aboutsummaryrefslogtreecommitdiff
path: root/src/SampleOut.vhd
diff options
context:
space:
mode:
Diffstat (limited to 'src/SampleOut.vhd')
-rw-r--r--src/SampleOut.vhd5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/SampleOut.vhd b/src/SampleOut.vhd
index bd2d2dc..53e3f1a 100644
--- a/src/SampleOut.vhd
+++ b/src/SampleOut.vhd
@@ -25,7 +25,6 @@ begin
outCOEData <= inCOEData;
process (reset, clk)
- --variable currentThreasHold: integer;
begin
-- if reset
if (reset = '1') then
@@ -45,8 +44,8 @@ begin
count <= count + 1;
COEAddress <= COEAddress;
- -- if counter is >= the max amount of pulses per audio sample
- if (count >= INPUT_CLK_HZ/INPUT_AUDIO_HZ) then -- Next audio sample
+ -- if counter is >= the max amount of pulses paer audio sample
+ if (count >= INPUT_CLK_HZ/INPUT_AUDIO_HZ) then-- Next audio sample
count <= 0;
COEAddress <= COEAddress + 1; --todo: check timing delay
-- add + 1 becouse COEAddress is signal updated ad end of process