URL
https://opencores.org/ocsvn/mkjpeg/mkjpeg/trunk
Subversion Repositories mkjpeg
Compare Revisions
- This comparison shows the changes necessary to convert path
/mkjpeg/branches/16rgb
- from Rev 48 to Rev 52
- ↔ Reverse comparison
Rev 48 → Rev 52
/trunk/tb/vhdl/JPEG_TB.VHD
204,21 → 204,22
wait; |
end process; |
|
outif_almost_full <= '0'; |
|
backpressure : process(CLK, RST) |
begin |
if RST = '1' then |
outif_almost_full <= '0'; |
count1 <= (others => '0'); |
elsif CLK'event and CLK = '1' then |
if count1 = 10000 then |
count1 <= (others => '0'); |
outif_almost_full <= not outif_almost_full; |
else |
count1 <= count1 + 1; |
end if; |
end if; |
end process; |
--backpressure : process(CLK, RST) |
--begin |
-- if RST = '1' then |
-- outif_almost_full <= '0'; |
-- count1 <= (others => '0'); |
-- elsif CLK'event and CLK = '1' then |
-- if count1 = 10000 then |
-- count1 <= (others => '0'); |
-- outif_almost_full <= not outif_almost_full; |
-- else |
-- count1 <= count1 + 1; |
-- end if; |
-- end if; |
--end process; |
|
end TB; |
----------------------------------- |
/trunk/design/common/JPEG_PKG.vhd
36,7 → 36,7
|
-- 0=highest clock per pixel performance |
-- 1=memory used by BUF_FIFO halved, speed performance reduced by circa 18% |
constant C_MEMORY_OPTIMIZED : integer := 0; |
constant C_MEMORY_OPTIMIZED : integer := 1; |
|
type T_SM_SETTINGS is record |
x_cnt : unsigned(15 downto 0); |