OpenCores
URL https://opencores.org/ocsvn/qaz_libs/qaz_libs/trunk

Subversion Repositories qaz_libs

[/] [qaz_libs/] [trunk/] [axi4_stream_lib/] [syn/] [src/] [axis_if.sv] - Diff between revs 28 and 31

Show entire file | Details | Blame | View Log

Rev 28 Rev 31
Line 48... Line 48...
    wire  [D-1:0]     tdest;
    wire  [D-1:0]     tdest;
    wire  [U-1:0]     tuser;
    wire  [U-1:0]     tuser;
 
 
 
 
    // --------------------------------------------------------------------
    // --------------------------------------------------------------------
 
// synthesis translate_off
 
    default clocking cb_m @(posedge aclk iff aresetn);
 
      output  tvalid;
 
      input   tready;
 
      output  tdata;
 
      output  tstrb;
 
      output  tkeep;
 
      output  tlast;
 
      output  tid;
 
      output  tdest;
 
      output  tuser;
 
    endclocking
 
 
 
 
 
    // --------------------------------------------------------------------
 
    //
 
    clocking cb_s @(posedge aclk iff aresetn);
 
      input   tvalid;
 
      output  tready;
 
      input   tdata;
 
      input   tstrb;
 
      input   tkeep;
 
      input   tlast;
 
      input   tid;
 
      input   tdest;
 
      input   tuser;
 
    endclocking
 
 
 
 
 
    // --------------------------------------------------------------------
    //
    //
    modport
    modport
      master
      master
      (
      (
        input     aresetn,
        input     aresetn,
Line 62... Line 92...
        output    tstrb,
        output    tstrb,
        output    tkeep,
        output    tkeep,
        output    tlast,
        output    tlast,
        output    tid,
        output    tid,
        output    tdest,
        output    tdest,
        output    tuser
        output    tuser,
 
        clocking  cb_m
      );
      );
 
 
 
 
    // --------------------------------------------------------------------
    // --------------------------------------------------------------------
    //
    //
Line 81... Line 112...
        input     tstrb,
        input     tstrb,
        input     tkeep,
        input     tkeep,
        input     tlast,
        input     tlast,
        input     tid,
        input     tid,
        input     tdest,
        input     tdest,
        input     tuser
        input     tuser,
 
        clocking  cb_s
      );
      );
 
 
 
 
 
// synthesis translate_on
 
// --------------------------------------------------------------------
 
 
 
 
endinterface: axis_if
endinterface: axis_if
 
 
 
 

powered by: WebSVN 2.1.0

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