URL
https://opencores.org/ocsvn/mkjpeg/mkjpeg/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 34 |
Rev 35 |
Line 28... |
Line 28... |
|
|
library work;
|
library work;
|
use work.GPL_V2_Image_Pkg.ALL;
|
use work.GPL_V2_Image_Pkg.ALL;
|
use WORK.MDCT_PKG.all;
|
use WORK.MDCT_PKG.all;
|
use WORK.MDCTTB_PKG.all;
|
use WORK.MDCTTB_PKG.all;
|
|
use work.JPEG_PKG.all;
|
|
|
entity HostBFM is
|
entity HostBFM is
|
port
|
port
|
(
|
(
|
CLK : in std_logic;
|
CLK : in std_logic;
|
Line 224... |
Line 224... |
|
|
num_comps <= num_comps_v;
|
num_comps <= num_comps_v;
|
|
|
if y_size rem N > 0 then
|
if y_size rem N > 0 then
|
assert false
|
assert false
|
report "E03: Image height dimension is not multiply of 8!"
|
report "ERROR: Image height dimension is not multiply of 8!"
|
severity Failure;
|
severity Failure;
|
end if;
|
end if;
|
if x_size rem N > 0 then
|
if x_size rem N > 0 then
|
assert false
|
assert false
|
report "E03: Image width dimension is not multiply of 8!"
|
report "ERROR: Image width dimension is not multiply of 8!"
|
|
severity Failure;
|
|
end if;
|
|
|
|
if x_size > C_MAX_LINE_WIDTH then
|
|
assert false
|
|
report "ERROR: Image width bigger than C_MAX_LINE_WIDTH in JPEG_PKG.VHD! " &
|
|
"Increase C_MAX_LINE_WIDTH accordingly"
|
severity Failure;
|
severity Failure;
|
end if;
|
end if;
|
|
|
addr_inc <= 0;
|
addr_inc <= 0;
|
|
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.