URL
https://opencores.org/ocsvn/lcd_block/lcd_block/trunk
[/] [lcd_block/] [trunk/] [hdl/] [iseProject/] [testLcd_controller.v] - Diff between revs 5 and 6
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 5 |
Rev 6 |
Line 30... |
Line 30... |
.lcd_rw(lcd_rw),
|
.lcd_rw(lcd_rw),
|
.disable_flash(disable_flash),
|
.disable_flash(disable_flash),
|
.done(done)
|
.done(done)
|
);
|
);
|
|
|
initial begin
|
// Create clock
|
|
always
|
|
begin
|
|
#10 clk = ~clk; // Toogle the clock each 10ns (20ns period is 50Mhz)
|
|
end
|
|
|
|
initial
|
|
begin
|
// Initialize Inputs
|
// Initialize Inputs
|
rst = 0;
|
$display($time, " << Starting the Simulation >>");
|
|
rst = 1;
|
clk = 0;
|
clk = 0;
|
data_in = 0;
|
data_in = 0;
|
strobe_in = 0;
|
strobe_in = 0;
|
period_clk_ns = 0;
|
period_clk_ns = 20; // Indicate the number of time at each cycle (20 ns in our case)
|
|
|
// Wait 100 ns for global reset to finish
|
// Wait for one clock cycle to reset
|
#100;
|
#20;
|
|
rst = 0;
|
|
|
// Add stimulus here
|
// Add stimulus here
|
|
|
end
|
end
|
|
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.