- Minor changes
git-svn-id: http://moon:8086/svn/vhdl/trunk@202 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -65,12 +65,14 @@ shift_register:
|
|||||||
process(clk)
|
process(clk)
|
||||||
variable delay_pipe : delay_pipe_t;
|
variable delay_pipe : delay_pipe_t;
|
||||||
begin
|
begin
|
||||||
if rising_edge(clk) and ce = '1' then
|
if rising_edge(clk) then
|
||||||
|
if ce = '1' then
|
||||||
dout <= delay_pipe(delay);
|
dout <= delay_pipe(delay);
|
||||||
if shift_en = '1' then
|
if shift_en = '1' then
|
||||||
delay_pipe := delay_pipe(delay_pipe'left-1 downto 0) & din;
|
delay_pipe := delay_pipe(delay_pipe'left-1 downto 0) & din;
|
||||||
end if;
|
end if;
|
||||||
end if;
|
end if;
|
||||||
|
end if;
|
||||||
end process;
|
end process;
|
||||||
|
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|||||||
@@ -134,8 +134,6 @@ BEGIN
|
|||||||
wait for PERIOD/2;
|
wait for PERIOD/2;
|
||||||
END PROCESS;
|
END PROCESS;
|
||||||
|
|
||||||
-- din_vld <= rdy;
|
|
||||||
|
|
||||||
tb : PROCESS
|
tb : PROCESS
|
||||||
file fi : file_t open read_mode is "wav_in.dat";
|
file fi : file_t open read_mode is "wav_in.dat";
|
||||||
variable si : sample_t;
|
variable si : sample_t;
|
||||||
|
|||||||
Reference in New Issue
Block a user