URL
https://opencores.org/ocsvn/t6507lp/t6507lp/trunk
[/] [t6507lp/] [trunk/] [rtl/] [verilog/] [test_top.v] - Diff between revs 225 and 226
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 225 |
Rev 226 |
Line 42... |
Line 42... |
//// ////
|
//// ////
|
////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////
|
|
|
`include "timescale.v"
|
`include "timescale.v"
|
|
|
module test_top(reset, clk_50, SW, VGA_R, VGA_G, VGA_B, LEDR, VGA_VS, VGA_HS);
|
module test_top(reset_n, clk_50, SW, VGA_R, VGA_G, VGA_B, LEDR, VGA_VS, VGA_HS);
|
|
|
input reset;
|
input reset_n;
|
input clk_50;
|
input clk_50;
|
input [8:0] SW;
|
input [8:0] SW;
|
output [3:0] VGA_R;
|
output [3:0] VGA_R;
|
output [3:0] VGA_G;
|
output [3:0] VGA_G;
|
output [3:0] VGA_B;
|
output [3:0] VGA_B;
|
output [9:0] LEDR;
|
output [9:0] LEDR;
|
output VGA_VS;
|
output VGA_VS;
|
output VGA_HS;
|
output VGA_HS;
|
|
|
//wire [479:0] line;
|
wire [479:0] line;
|
//wire [4:0] vert_counter;
|
wire [4:0] vert_counter;
|
|
|
vga_controller vga_controller (
|
vga_controller vga_controller (
|
.reset(reset),
|
.reset_n(reset_n),
|
.clk_50(clk_50),
|
.clk_50(clk_50),
|
.line(line),
|
.line(line),
|
.vert_counter(vert_counter),
|
|
.SW(SW),
|
.SW(SW),
|
.VGA_R(VGA_R),
|
.VGA_R(VGA_R),
|
.VGA_G(VGA_G),
|
.VGA_G(VGA_G),
|
.VGA_B(VGA_B),
|
.VGA_B(VGA_B),
|
.LEDR(LEDR),
|
.LEDR(LEDR),
|
.VGA_VS(VGA_VS),
|
.VGA_VS(VGA_VS),
|
.VGA_HS(VGA_HS)
|
.VGA_HS(VGA_HS),
|
|
.vert_counter(vert_counter)
|
);
|
);
|
|
|
controller_test controller_test (
|
controller_test controller_test (
|
.reset(reset),
|
.reset_n(reset_n),
|
.clk_50(clk_50),
|
.clk_50(clk_50),
|
.line(line),
|
.line(line),
|
.vert_counter(vert_counter)
|
.vert_counter(vert_counter)
|
);
|
);
|
|
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.