2014-12-14 22:21:01 -05:00
|
|
|
module BUFR (/*AUTOARG*/
|
|
|
|
// Outputs
|
|
|
|
O,
|
|
|
|
// Inputs
|
|
|
|
I, CE, CLR
|
|
|
|
);
|
|
|
|
|
2015-04-16 22:30:09 -04:00
|
|
|
parameter BUFR_DIVIDE=4;
|
2014-12-14 22:21:01 -05:00
|
|
|
parameter SIM_DEVICE=0;
|
|
|
|
|
|
|
|
input I;
|
|
|
|
input CE;
|
|
|
|
input CLR;
|
|
|
|
output O;
|
|
|
|
|
2015-04-16 22:30:09 -04:00
|
|
|
|
|
|
|
//assign O=I & CE & ~CLR;
|
|
|
|
|
|
|
|
//TODO: need to paraemtrize this!!!
|
|
|
|
clock_divider clock_divider (
|
|
|
|
// Outputs
|
|
|
|
.clkout (O),
|
|
|
|
.clkout90 (),
|
|
|
|
// Inputs
|
|
|
|
.clkin (I),
|
|
|
|
.divcfg (4'b0010),//div4
|
|
|
|
.reset (CLR)
|
|
|
|
);
|
|
|
|
|
2014-12-14 22:21:01 -05:00
|
|
|
|
|
|
|
endmodule // IBUFDS
|
2015-04-16 22:30:09 -04:00
|
|
|
// Local Variables:
|
|
|
|
// verilog-library-directories:("../../common/hdl")
|
|
|
|
// End:
|