URL
https://opencores.org/ocsvn/qaz_libs/qaz_libs/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 32 |
Rev 33 |
Line 30... |
Line 30... |
ast_if
|
ast_if
|
#(
|
#(
|
EW = 1, // error signal width in bits.
|
EW = 1, // error signal width in bits.
|
CW = 1, // channel width in bits.
|
CW = 1, // channel width in bits.
|
SW = 8, // Data symbol width in bits. Should be 8 for byte oriented interfaces.
|
SW = 8, // Data symbol width in bits. Should be 8 for byte oriented interfaces.
|
NSW, // Numbers of symbols per word
|
NSB, // Numbers of symbols per beat
|
NSW_L = (NSW == 1) ? 1 : $clog2(NSW)
|
NSB_L = (NSB == 1) ? 1 : $clog2(NSB) // empty width
|
)
|
)
|
(
|
(
|
input reset,
|
input reset,
|
input clk
|
input clk
|
);
|
);
|
|
|
wire [(SW*NSW)-1:0] data;
|
wire [(SW*NSB)-1:0] data;
|
wire valid;
|
wire valid;
|
wire ready;
|
wire ready;
|
wire startofpacket;
|
wire startofpacket;
|
wire endofpacket;
|
wire endofpacket;
|
wire [NSW_L-1:0] empty;
|
wire [NSB_L-1:0] empty;
|
wire [CW-1:0] channel;
|
wire [CW-1:0] channel;
|
wire [EW-1:0] error;
|
wire [EW-1:0] error;
|
|
|
|
|
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.