URL
https://opencores.org/ocsvn/mkjpeg/mkjpeg/trunk
Subversion Repositories mkjpeg
Compare Revisions
- This comparison shows the changes necessary to convert path
/mkjpeg/trunk/design/BufFifo
- from Rev 56 to Rev 58
- ↔ Reverse comparison
Rev 56 → Rev 58
/BUF_FIFO.vhd
213,10 → 213,19
fdct_fifo_hf_full <= '0'; |
end if; |
|
if wr_line_idx > rd_line_idx + C_NUM_LINES-1 then |
fifo_almost_full <= '1'; |
fifo_almost_full <= '0'; |
if C_EXTRA_LINES = 0 then |
if wr_line_idx = rd_line_idx + C_NUM_LINES-1 then |
if pixel_cnt >= unsigned(img_size_x)-1-1 then |
fifo_almost_full <= '1'; |
end if; |
elsif wr_line_idx > rd_line_idx + C_NUM_LINES-1 then |
fifo_almost_full <= '1'; |
end if; |
else |
fifo_almost_full <= '0'; |
if wr_line_idx > rd_line_idx + C_NUM_LINES-1 then |
fifo_almost_full <= '1'; |
end if; |
end if; |
|
end if; |
245,11 → 254,6
if pix_inblk_cnt = 8-1 then |
pix_inblk_cnt <= (others => '0'); |
|
-- last block in line |
--if read_block_cnt = unsigned(img_size_x(15 downto 3))-1 then |
-- rd_line_idx <= rd_line_idx + 1; |
--end if; |
|
-- last line in 8 |
if line_inblk_cnt = 8-1 then |
line_inblk_cnt <= (others => '0'); |