test_dqs01.v 1.36 KB
Newer Older
Andrey Filippov's avatar
Andrey Filippov committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
/*******************************************************************************
 * Module: test_dqs01
 * Date:2014-04-26  
 * Author: Andrey Filippov
 * Description: Testing DQS implementation
 *
 * Copyright (c) 2014 Elphel, Inc.
 * test_dqs01.v is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 *  test_dqs01.v is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/> .
 *******************************************************************************/
`timescale 1ns/1ps

Andrey Filippov's avatar
Andrey Filippov committed
23 24 25 26 27 28 29
module  test_dqs01( 
    input  [1:0] dqs_data, 
    inout  [1:0] dqs,
    inout  [1:0] ndqs,
    output [1:0] dqs_received,
    input  [1:0] dqs_tri
   
Andrey Filippov's avatar
Andrey Filippov committed
30 31 32 33 34 35 36 37 38 39
);



IOBUFDS #(
    .DQS_BIAS("FALSE"),
    .IBUF_LOW_PWR("TRUE"),
    .IOSTANDARD("DEFAULT"),
    .SLEW("SLOW")
) iobufs_dqs_i (
Andrey Filippov's avatar
Andrey Filippov committed
40 41
    .O(dqs_received), 
    .IO(dqs[1:0]),
Andrey Filippov's avatar
Andrey Filippov committed
42
    .IOB(ndqs),
Andrey Filippov's avatar
Andrey Filippov committed
43
    .I(123),  //2'b11), //dqs_data),
Andrey Filippov's avatar
Andrey Filippov committed
44 45 46 47
    .T(dqs_tri));

endmodule