Line 1... |
Line 1... |
`timescale 1ns / 1ps
|
`timescale 1ns / 1ps
|
/*
|
/*
|
Top module that will instantiate and connect our DUT (lcd_controller) the ICON, VIO , ILA cores
|
Top module that will instantiate and connect our DUT (lcd_controller) the ICON, VIO , ILA cores
|
*/
|
*/
|
module top_hw_testbench(
|
module top_hw_testbench(
|
input clk/*,
|
input clk,
|
output hw_lcd_e,
|
output hw_lcd_e,
|
output hw_lcd_rs,
|
output hw_lcd_rs,
|
output hw_lcd_rw,
|
output hw_lcd_rw,
|
output [3:0] hw_lcd_nibble,
|
output [3:0] hw_lcd_nibble,
|
output hw_strata_flash_disable*/
|
output hw_strata_flash_disable
|
);
|
);
|
|
|
// Declare some wires to connect the components
|
// Declare some wires to connect the components
|
wire rst;
|
wire rst;
|
wire rs_in,strobe_in;
|
wire rs_in,strobe_in;
|
Line 65... |
Line 65... |
assign trig_0 = lcd_e;
|
assign trig_0 = lcd_e;
|
assign {rst, rs_in, data_in, strobe_in, period_clk_ns} = async_out;
|
assign {rst, rs_in, data_in, strobe_in, period_clk_ns} = async_out;
|
assign data = {7'd1,lcd_e, lcd_nibble[3:0], lcd_rs, lcd_rw, disable_flash, done, strobe_in};
|
assign data = {7'd1,lcd_e, lcd_nibble[3:0], lcd_rs, lcd_rw, disable_flash, done, strobe_in};
|
|
|
// Send all interest output to outside
|
// Send all interest output to outside
|
/*assign hw_lcd_e = lcd_e;
|
assign hw_lcd_e = lcd_e;
|
assign hw_lcd_rs = lcd_rs;
|
assign hw_lcd_rs = lcd_rs;
|
assign hw_lcd_rw = lcd_rw;
|
assign hw_lcd_rw = lcd_rw;
|
assign hw_lcd_nibble = lcd_nibble;
|
assign hw_lcd_nibble = lcd_nibble;
|
assign hw_strata_flash_disable = disable_flash;*/
|
assign hw_strata_flash_disable = disable_flash;
|
|
|
endmodule
|
endmodule
|
|
|
No newline at end of file
|
No newline at end of file
|