LVDS Example
发布时间:2008/6/5 0:00:00 访问次数:526
here is an example of instantiating an lvds using the black box method:
module mylvds_tx (tx_in, tx_inclock, sync_inclock, tx_out)/* synthesis syn_black_box
number_of_channels = 1
deserialization_factor = 4
inclock_period = 20000
lpm_type = "altlvds_tx" */;
input [3:0] tx_in;
input tx_inclock;
input sync_inclock;
output [0:0] tx_out;
endmodule
module top (tx_in, tx_inclock, sync_inclock, tx_out);
input [3:0] tx_in;
input tx_inclock;
input sync_inclock;
output [0:0] tx_out;
mylvds_tx u1 (tx_in, tx_inclock, sync_inclock, tx_out);
endmodule
module mylvds_tx (tx_in, tx_inclock, sync_inclock, tx_out)/* synthesis syn_black_box
number_of_channels = 1
deserialization_factor = 4
inclock_period = 20000
lpm_type = "altlvds_tx" */;
input [3:0] tx_in;
input tx_inclock;
input sync_inclock;
output [0:0] tx_out;
endmodule
module top (tx_in, tx_inclock, sync_inclock, tx_out);
input [3:0] tx_in;
input tx_inclock;
input sync_inclock;
output [0:0] tx_out;
mylvds_tx u1 (tx_in, tx_inclock, sync_inclock, tx_out);
endmodule
here is an example of instantiating an lvds using the black box method:
module mylvds_tx (tx_in, tx_inclock, sync_inclock, tx_out)/* synthesis syn_black_box
number_of_channels = 1
deserialization_factor = 4
inclock_period = 20000
lpm_type = "altlvds_tx" */;
input [3:0] tx_in;
input tx_inclock;
input sync_inclock;
output [0:0] tx_out;
endmodule
module top (tx_in, tx_inclock, sync_inclock, tx_out);
input [3:0] tx_in;
input tx_inclock;
input sync_inclock;
output [0:0] tx_out;
mylvds_tx u1 (tx_in, tx_inclock, sync_inclock, tx_out);
endmodule
module mylvds_tx (tx_in, tx_inclock, sync_inclock, tx_out)/* synthesis syn_black_box
number_of_channels = 1
deserialization_factor = 4
inclock_period = 20000
lpm_type = "altlvds_tx" */;
input [3:0] tx_in;
input tx_inclock;
input sync_inclock;
output [0:0] tx_out;
endmodule
module top (tx_in, tx_inclock, sync_inclock, tx_out);
input [3:0] tx_in;
input tx_inclock;
input sync_inclock;
output [0:0] tx_out;
mylvds_tx u1 (tx_in, tx_inclock, sync_inclock, tx_out);
endmodule
上一篇:LATCH的产生