Minor changes
git-svn-id: http://moon:8086/svn/vhdl/trunk@79 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -12,10 +12,14 @@ use IEEE.MATH_REAL.ALL;
|
||||
package vga_types is
|
||||
|
||||
-- Constants
|
||||
|
||||
constant VGA_NUM_CH : natural := 2;
|
||||
|
||||
-- Types
|
||||
type color_range_t is (r, g, b);
|
||||
type color_range_t is (r, g, b, a);
|
||||
type color_t is array (color_range_t) of unsigned(7 downto 0);
|
||||
type color_array_t is array (0 to VGA_NUM_CH-1) of color_t;
|
||||
|
||||
type color_op_t is (op_over, op_xor, op_alpha);
|
||||
|
||||
type scan_timespec_t is
|
||||
record
|
||||
@@ -42,8 +46,8 @@ package vga_types is
|
||||
(
|
||||
f_pxl_clk => 100E6,
|
||||
nfps => 6,
|
||||
ts_h => (8,5,2,3,'0'),
|
||||
ts_v => (6,4,2,3,'0')
|
||||
ts_h => (80,5,2,3,'0'),
|
||||
ts_v => (60,4,2,3,'0')
|
||||
);
|
||||
|
||||
-- 640 x 480 @ 60 Hz (not recommended)
|
||||
|
||||
Reference in New Issue
Block a user