OpenCores
URL https://opencores.org/ocsvn/fpga-cf/fpga-cf/trunk

Subversion Repositories fpga-cf

[/] [fpga-cf/] [trunk/] [hdl/] [topv5_proto.v] - Diff between revs 3 and 8

Show entire file | Details | Blame | View Log

Rev 3 Rev 8
Line 365... Line 365...
wire [7:0] LEDnext;
wire [7:0] LEDnext;
 
 
assign LEDS = LEDr;
assign LEDS = LEDr;
 
 
wire clk_controlled;
wire clk_controlled;
 
wire usr_rst;
 
 
always @(posedge clk_local)
always @(posedge clk_local)
begin
begin
        DIP_r <= DIP;
        DIP_r <= DIP;
end
end
Line 381... Line 382...
                LEDr <= LEDnext;
                LEDr <= LEDnext;
end
end
 
 
port_clkcntl clkcontrol (
port_clkcntl clkcontrol (
        .clk(clk_local),
        .clk(clk_local),
        .rst(rst),
        .rst(rst_local),
        .en(ch2_wen),
        .en(ch2_wen),
        .in_data(ch2_out_data),
        .in_data(ch2_out_data),
        .in_sof(ch2_out_sof),
        .in_sof(ch2_out_sof),
        .in_eof(ch2_out_eof),
        .in_eof(ch2_out_eof),
        .in_src_rdy(ch2_out_src_rdy),
        .in_src_rdy(ch2_out_src_rdy),
Line 394... Line 395...
        .out_data(),
        .out_data(),
        .out_sof(),
        .out_sof(),
        .out_eof(),
        .out_eof(),
        .out_src_rdy(),
        .out_src_rdy(),
        .in_dst_rdy(ch2_out_dst_rdy),
        .in_dst_rdy(ch2_out_dst_rdy),
        .usr_clk_out(clk_controlled)
        .usr_clk_out(clk_controlled),
 
        .usr_rst_out(usr_rst)
);
);
 
 
 
 
//-------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------
//                                                       Sand Box Areas
//                                                       Sand Box Areas
//-------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------
 
 
port_blank pr_channel_5 (
wire channel_rst;
        .clk(clk_local),
assign channel_rst = rst_local & usr_rst;
        .rst(rst_local),
 
        .wen ( ch5_wen ),
channel5 pr_channel_5 (
        .ren ( ch5_ren ),
        .clk(clk_controlled),
        .in_data ( ch5_out_data ),      // Inport
        .rst(channel_rst),
        .in_sof ( ch5_out_sof ),        // Inport
        .wen ( 1 ),
        .in_eof ( ch5_out_eof ),        // Inport
        .ren ( 1 ),
        .in_src_rdy ( ch5_out_src_rdy ),        // Inport
        .in_data ( ch5_out_data_l ),    // Inport
 
        .in_sof ( ch5_out_sof_l ),      // Inport
 
        .in_eof ( ch5_out_eof_l ),      // Inport
 
        .in_src_rdy ( ch5_out_src_rdy_l ),      // Inport
 
        .out_dst_rdy ( ch5_in_dst_rdy_l ),      // Outport
 
 
 
        // Outputs:
 
        .out_data ( ch5_in_data_l ),    // Outport
 
        .out_sof ( ch5_in_sof_l ),      // Outport
 
        .out_eof ( ch5_in_eof_l ),      // Outport
 
        .out_src_rdy ( ch5_in_src_rdy_l ),      // Outport
 
        .in_dst_rdy ( ch5_out_dst_rdy_l )       // Inport
 
);
 
 
 
port_fifo pf_channel_5_to_interface (
 
        .rst(channel_rst),
 
        .in_clk(clk_controlled),
 
        .out_clk(clk_local),
 
        .in_data ( ch5_in_data_l ),     // Inport
 
        .in_sof ( ch5_in_sof_l ),       // Inport
 
        .in_eof ( ch5_in_eof_l ),       // Inport
 
        .in_src_rdy ( ch5_in_src_rdy_l ),       // Inport
        .out_dst_rdy ( ch5_in_dst_rdy ),        // Outport
        .out_dst_rdy ( ch5_in_dst_rdy ),        // Outport
 
 
        // Outputs:
        // Outputs:
        .out_data ( ch5_in_data ),      // Outport
        .out_data ( ch5_in_data ),      // Outport
        .out_sof ( ch5_in_sof ),        // Outport
        .out_sof ( ch5_in_sof ),        // Outport
        .out_eof ( ch5_in_eof ),        // Outport
        .out_eof ( ch5_in_eof ),        // Outport
        .out_src_rdy ( ch5_in_src_rdy ),        // Outport
        .out_src_rdy ( ch5_in_src_rdy ),        // Outport
 
        .in_dst_rdy ( ch5_in_dst_rdy_l )        // Inport
 
);
 
 
 
port_fifo pf_channel_5_from_interface (
 
        .rst(channel_rst),
 
        .in_clk(clk_local),
 
        .out_clk(clk_controlled),
 
        .in_data ( ch5_out_data ),      // Inport
 
        .in_sof ( ch5_out_sof ),        // Inport
 
        .in_eof ( ch5_out_eof ),        // Inport
 
        .in_src_rdy ( ch5_out_src_rdy ),        // Inport
 
        .out_dst_rdy ( ch5_out_dst_rdy_l ),     // Outport
 
 
 
        // Outputs:
 
        .out_data ( ch5_out_data_l ),   // Outport
 
        .out_sof ( ch5_out_sof_l ),     // Outport
 
        .out_eof ( ch5_out_eof_l ),     // Outport
 
        .out_src_rdy ( ch5_out_src_rdy_l ),     // Outport
        .in_dst_rdy ( ch5_out_dst_rdy ) // Inport
        .in_dst_rdy ( ch5_out_dst_rdy ) // Inport
);
);
 
 
port_blank pr_channel_6 (
 
 
channel6 pr_channel_6 (
        .clk(clk_local),
        .clk(clk_local),
        .rst(rst_local),
        .rst(channel_rst),
        .wen ( ch6_wen ),
        .wen ( ch6_wen ),
        .ren ( ch6_ren ),
        .ren ( ch6_ren ),
        .in_data ( ch6_out_data ),      // Inport
        .in_data ( ch6_out_data ),      // Inport
        .in_sof ( ch6_out_sof ),        // Inport
        .in_sof ( ch6_out_sof ),        // Inport
        .in_eof ( ch6_out_eof ),        // Inport
        .in_eof ( ch6_out_eof ),        // Inport

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.