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

Subversion Repositories qaz_libs

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /qaz_libs/trunk/axi4_stream_lib
    from Rev 45 to Rev 41
    Reverse comparison

Rev 45 → Rev 41

/src/axis_if.sv
28,13 → 28,15
 
interface
axis_if
#( N // data bus width in bytes
, I = 1 // TID width
, D = 1 // TDEST width
, U = 1 // TUSER width
#(
N, // data bus width in bytes
I = 1, // TID width
D = 1, // TDEST width
U = 1 // TUSER width
)
( input aclk
, input aresetn
(
input aclk,
input aresetn
);
wire tvalid;
wire tready;
46,10 → 48,10
wire [D-1:0] tdest;
wire [U-1:0] tuser;
 
 
// --------------------------------------------------------------------
// synthesis translate_off
default clocking cb_m @(posedge aclk);
input aresetn;
default clocking cb_m @(posedge aclk iff aresetn);
output tvalid;
input tready;
output tdata;
61,9 → 63,10
output tuser;
endclocking
 
 
// --------------------------------------------------------------------
clocking cb_s @(posedge aclk);
input aresetn;
//
clocking cb_s @(posedge aclk iff aresetn);
input tvalid;
output tready;
input tdata;
77,6 → 80,7
// synthesis translate_on
// --------------------------------------------------------------------
 
 
// --------------------------------------------------------------------
//
`ifdef USE_MOD_PORTS
101,7 → 105,9
output tuser
);
 
 
// --------------------------------------------------------------------
//
modport
slave
(
124,13 → 130,20
);
`endif
 
 
// --------------------------------------------------------------------
// synthesis translate_off
task zero_cycle_delay;
task
zero_cycle_delay;
 
##0;
 
endtask: zero_cycle_delay
// synthesis translate_on
// --------------------------------------------------------------------
 
 
// --------------------------------------------------------------------
//
endinterface: axis_if
 

powered by: WebSVN 2.1.0

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