- Minor changes

git-svn-id: http://moon:8086/svn/vhdl/trunk@202 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2009-01-04 16:14:14 +00:00
parent c10463c961
commit 58257266ad
2 changed files with 6 additions and 6 deletions
+6 -4
View File
@@ -65,10 +65,12 @@ shift_register:
process(clk)
variable delay_pipe : delay_pipe_t;
begin
if rising_edge(clk) and ce = '1' then
dout <= delay_pipe(delay);
if shift_en = '1' then
delay_pipe := delay_pipe(delay_pipe'left-1 downto 0) & din;
if rising_edge(clk) then
if ce = '1' then
dout <= delay_pipe(delay);
if shift_en = '1' then
delay_pipe := delay_pipe(delay_pipe'left-1 downto 0) & din;
end if;
end if;
end if;
end process;
-2
View File
@@ -134,8 +134,6 @@ BEGIN
wait for PERIOD/2;
END PROCESS;
-- din_vld <= rdy;
tb : PROCESS
file fi : file_t open read_mode is "wav_in.dat";
variable si : sample_t;