OpenCores
URL https://opencores.org/ocsvn/ao486/ao486/trunk

Subversion Repositories ao486

[/] [ao486/] [trunk/] [syn/] [components/] [vga/] [vga_test.v] - Blame information for rev 3

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 alfik
 
2
module vga_test(
3
    input               CLOCK_50,
4
 
5
    //vga
6
    output              VGA_CLK,
7
    output              VGA_SYNC_N,
8
    output              VGA_BLANK_N,
9
    output              VGA_HS,
10
    output              VGA_VS,
11
 
12
    output      [7:0]   VGA_R,
13
    output      [7:0]   VGA_G,
14
    output      [7:0]   VGA_B
15
);
16
 
17
wire reset_n;
18
wire clk_26;
19
 
20
pll pll_inst(
21
    .inclk0     (CLOCK_50),
22
 
23
    .c0         (clk_26),
24
    .locked     (reset_n)
25
);
26
 
27
 
28
vga_soc u0 (
29
    .clk_50_clk            (CLOCK_50),
30
    .clk_26_clk            (clk_26),
31
    .reset_26_reset_n      (reset_n),
32
    .reset_50_reset_n      (reset_n),
33
 
34
    .vga_export_clock      (VGA_CLK),
35
    .vga_export_sync_n     (VGA_SYNC_N),
36
    .vga_export_blank_n    (VGA_BLANK_N),
37
    .vga_export_horiz_sync (VGA_HS),
38
    .vga_export_vert_sync  (VGA_VS),
39
    .vga_export_r          (VGA_R),
40
    .vga_export_g          (VGA_G),
41
    .vga_export_b          (VGA_B)
42
);
43
 
44
endmodule

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.