- Minor changes
git-svn-id: http://moon:8086/svn/vhdl/trunk@202 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user