51 input hclk,
// global clock to run axi_hp @ 150MHz, shared by all compressor channels 52 input mclk,
// for command/status 53 input mrst,
// @posedge mclk, sync reset 54 input hrst,
// @posedge xclk, sync reset 61 output [
7:
0]
status_ad,
// status address/data - up to 5 bytes: A - {seq,status[1:0]} - status[2:9] - status[10:17] - status[18:25] 62 output status_rq,
// input request to send status downstream 63 input status_start,
// Acknowledge of the first status packet byte (address) 65 input en,
// 1- enable, 0 - reset 66 output reg [
3:
0]
chunk_ptr_ra,
// full pointer address - {eof,wresp,chn[1:0]} 89 always @ (
posedge mclk)
begin 93 always @ (
posedge hclk)
begin 102 // if (stb_mclk && (chunk_chn_hclk == 2'h0)) status_data[0 * CMPRS_AFIMUX_WIDTH +: CMPRS_AFIMUX_WIDTH] <= chunk_ptr_hclk; 103 // if (stb_mclk && (chunk_chn_hclk == 2'h1)) status_data[1 * CMPRS_AFIMUX_WIDTH +: CMPRS_AFIMUX_WIDTH] <= chunk_ptr_hclk; 104 // if (stb_mclk && (chunk_chn_hclk == 2'h2)) status_data[2 * CMPRS_AFIMUX_WIDTH +: CMPRS_AFIMUX_WIDTH] <= chunk_ptr_hclk; 105 // if (stb_mclk && (chunk_chn_hclk == 2'h3)) status_data[3 * CMPRS_AFIMUX_WIDTH +: CMPRS_AFIMUX_WIDTH] <= chunk_ptr_hclk; 130 .
rst (
1'b0),
// rst), // input 133 .
db_in0 (
ad[
0 *
8 +:
8]),
// input[7:0] 137 .
db_in1 (
ad[
1 *
8 +:
8]),
// input[7:0] 140 .
db_in2 (
ad[
2 *
8 +:
8]),
// input[7:0] 143 .
db_in3 (
ad[
3 *
8 +:
8]),
// input[7:0] 154 )
status_generate0_i (
155 .
rst (
1'b0),
//rst), // input 161 .
ad (
ad[
0 *
8 +:
8]),
// output[7:0] 162 .
rq (
rq[
0]),
// output 169 )
status_generate1_i (
170 .
rst (
1'b0),
//rst), // input 176 .
ad (
ad[
1 *
8 +:
8]),
// output[7:0] 177 .
rq (
rq[
1]),
// output 184 )
status_generate2_i (
185 .
rst (
1'b0),
//rst), // input 191 .
ad (
ad[
2 *
8 +:
8]),
// output[7:0] 192 .
rq (
rq[
2]),
// output 199 )
status_generate3_i (
200 .
rst (
1'b0),
// rst), // input 206 .
ad (
ad[
3 *
8 +:
8]),
// output[7:0] 207 .
rq (
rq[
3]),
// output
361status_datareg[4*CMPRS_AFIMUX_WIDTH-1:0]
359chunk_ptr_hclkreg[CMPRS_AFIMUX_WIDTH-1:0]
358cntrreg[CMPRS_AFIMUX_CYCBITS-1:0]
status_generate3_i status_generate
[CMPRS_AFIMUX_WIDTH-1:0] 352chunk_ptr_rd
status_router4_i status_router4
stb_mclk_i pulse_cross_clock
336CMPRS_AFIMUX_STATUS_REG_ADDR'h20
354mode_data_mclkreg[MODE_WIDTH-1:0]
reg [3:0] 351chunk_ptr_ra
[ALL_BITS-1:0] 10777status
360chunk_chn_hclkreg[1:0]