// ------------------------------------------------------------------------- 
// High Level Design Compiler for Intel(R) FPGAs Version 24.2 (Release Build #99.1)
// 
// Legal Notice: Copyright 2022 Intel Corporation.  All rights reserved.
// Your use of  Intel Corporation's design tools,  logic functions and other
// software and  tools, and its AMPP partner logic functions, and any output
// files any  of the foregoing (including  device programming  or simulation
// files), and  any associated  documentation  or information  are expressly
// subject  to the terms and  conditions of the  Intel FPGA Software License
// Agreement, Intel MegaCore Function License Agreement, or other applicable
// license agreement,  including,  without limitation,  that your use is for
// the  sole  purpose of  programming  logic devices  manufactured by  Intel
// and  sold by Intel  or its authorized  distributors. Please refer  to the
// applicable agreement for further details.
// ---------------------------------------------------------------------------

// SystemVerilog created from bb_c_compSTR_B7
// Created for function/kernel c_compSTR
// SystemVerilog created on Wed Mar 26 11:59:08 2025


(* altera_attribute = "-name AUTO_SHIFT_REGISTER_RECOGNITION OFF; -name MESSAGE_DISABLE 10036; -name MESSAGE_DISABLE 10037; -name MESSAGE_DISABLE 14130; -name MESSAGE_DISABLE 14320; -name MESSAGE_DISABLE 15400; -name MESSAGE_DISABLE 14130; -name MESSAGE_DISABLE 10036; -name MESSAGE_DISABLE 12020; -name MESSAGE_DISABLE 12030; -name MESSAGE_DISABLE 12010; -name MESSAGE_DISABLE 12110; -name MESSAGE_DISABLE 14320; -name MESSAGE_DISABLE 13410; -name MESSAGE_DISABLE 113007; -name MESSAGE_DISABLE 10958" *)
module c_compSTR_bb_B7 (
    input wire [0:0] in_flush,
    input wire [0:0] in_iowr_bl_resStream_i_fifoready,
    input wire [4095:0] in_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_readdata,
    input wire [0:0] in_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_readdatavalid,
    input wire [0:0] in_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_waitrequest,
    input wire [0:0] in_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_writeack,
    input wire [4095:0] in_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_readdata,
    input wire [0:0] in_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_readdatavalid,
    input wire [0:0] in_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_waitrequest,
    input wire [0:0] in_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_writeack,
    input wire [0:0] in_stall_in_0,
    input wire [0:0] in_valid_in_0,
    output wire [0:0] out_c0_exe1732,
    output wire [31:0] out_iowr_bl_resStream_o_fifodata,
    output wire [0:0] out_iowr_bl_resStream_o_fifovalid,
    output wire [31:0] out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_address,
    output wire [0:0] out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_burstcount,
    output wire [511:0] out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_byteenable,
    output wire [0:0] out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_enable,
    output wire [0:0] out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_read,
    output wire [0:0] out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_write,
    output wire [4095:0] out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_writedata,
    output wire [31:0] out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_address,
    output wire [0:0] out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_burstcount,
    output wire [511:0] out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_byteenable,
    output wire [0:0] out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_enable,
    output wire [0:0] out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_read,
    output wire [0:0] out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_write,
    output wire [4095:0] out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_writedata,
    output wire [0:0] out_profile_loop_o_valid,
    output wire [0:0] out_stall_in_0,
    output wire [0:0] out_stall_out_0,
    output wire [0:0] out_valid_in_0,
    output wire [0:0] out_valid_out_0,
    input wire clock,
    input wire resetn
    );

    wire [0:0] bb_c_compSTR_B7_stall_region_out_almost_empty_out;
    wire [0:0] bb_c_compSTR_B7_stall_region_out_c0_exe1732;
    wire [0:0] bb_c_compSTR_B7_stall_region_out_c0_exe5736;
    wire [0:0] bb_c_compSTR_B7_stall_region_out_empty_out;
    wire [31:0] bb_c_compSTR_B7_stall_region_out_iowr_bl_resStream_o_fifodata;
    wire [0:0] bb_c_compSTR_B7_stall_region_out_iowr_bl_resStream_o_fifovalid;
    wire [31:0] bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_address;
    wire [0:0] bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_burstcount;
    wire [511:0] bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_byteenable;
    wire [0:0] bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_enable;
    wire [0:0] bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_read;
    wire [0:0] bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_write;
    wire [4095:0] bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_writedata;
    wire [31:0] bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_address;
    wire [0:0] bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_burstcount;
    wire [511:0] bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_byteenable;
    wire [0:0] bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_enable;
    wire [0:0] bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_read;
    wire [0:0] bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_write;
    wire [4095:0] bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_writedata;
    wire [0:0] bb_c_compSTR_B7_stall_region_out_profile_loop_o_valid;
    wire [0:0] bb_c_compSTR_B7_stall_region_out_stall_out;
    wire [0:0] bb_c_compSTR_B7_stall_region_out_valid_out;
    wire [0:0] c_compSTR_B7_branch_out_c0_exe1732;
    wire [0:0] c_compSTR_B7_branch_out_stall_out;
    wire [0:0] c_compSTR_B7_branch_out_valid_out_0;
    wire [0:0] c_compSTR_B7_merge_out_almost_empty_out;
    wire [0:0] c_compSTR_B7_merge_out_empty_out;
    wire [0:0] c_compSTR_B7_merge_out_stall_out_0;
    wire [0:0] c_compSTR_B7_merge_out_valid_out;
    reg [0:0] rst_sync_rst_sclrn;


    // c_compSTR_B7_merge(BLACKBOX,4)
    c_compSTR_B7_merge thec_compSTR_B7_merge (
        .in_stall_in(bb_c_compSTR_B7_stall_region_out_stall_out),
        .in_valid_in_0(in_valid_in_0),
        .out_almost_empty_out(c_compSTR_B7_merge_out_almost_empty_out),
        .out_empty_out(c_compSTR_B7_merge_out_empty_out),
        .out_stall_out_0(c_compSTR_B7_merge_out_stall_out_0),
        .out_valid_out(c_compSTR_B7_merge_out_valid_out),
        .clock(clock),
        .resetn(resetn)
    );

    // bb_c_compSTR_B7_stall_region(BLACKBOX,2)
    c_compSTR_bb_B7_stall_region thebb_c_compSTR_B7_stall_region (
        .in_almost_empty_in(c_compSTR_B7_merge_out_almost_empty_out),
        .in_empty_in(c_compSTR_B7_merge_out_empty_out),
        .in_flush(in_flush),
        .in_iowr_bl_resStream_i_fifoready(in_iowr_bl_resStream_i_fifoready),
        .in_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_readdata(in_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_readdata),
        .in_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_readdatavalid(in_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_readdatavalid),
        .in_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_waitrequest(in_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_waitrequest),
        .in_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_writeack(in_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_writeack),
        .in_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_readdata(in_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_readdata),
        .in_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_readdatavalid(in_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_readdatavalid),
        .in_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_waitrequest(in_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_waitrequest),
        .in_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_writeack(in_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_writeack),
        .in_stall_in(c_compSTR_B7_branch_out_stall_out),
        .in_valid_in(c_compSTR_B7_merge_out_valid_out),
        .out_almost_empty_out(bb_c_compSTR_B7_stall_region_out_almost_empty_out),
        .out_c0_exe1732(bb_c_compSTR_B7_stall_region_out_c0_exe1732),
        .out_c0_exe5736(bb_c_compSTR_B7_stall_region_out_c0_exe5736),
        .out_empty_out(bb_c_compSTR_B7_stall_region_out_empty_out),
        .out_iowr_bl_resStream_o_fifodata(bb_c_compSTR_B7_stall_region_out_iowr_bl_resStream_o_fifodata),
        .out_iowr_bl_resStream_o_fifovalid(bb_c_compSTR_B7_stall_region_out_iowr_bl_resStream_o_fifovalid),
        .out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_address(bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_address),
        .out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_burstcount(bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_burstcount),
        .out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_byteenable(bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_byteenable),
        .out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_enable(bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_enable),
        .out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_read(bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_read),
        .out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_write(bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_write),
        .out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_writedata(bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_writedata),
        .out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_address(bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_address),
        .out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_burstcount(bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_burstcount),
        .out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_byteenable(bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_byteenable),
        .out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_enable(bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_enable),
        .out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_read(bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_read),
        .out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_write(bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_write),
        .out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_writedata(bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_writedata),
        .out_profile_loop_o_valid(bb_c_compSTR_B7_stall_region_out_profile_loop_o_valid),
        .out_stall_out(bb_c_compSTR_B7_stall_region_out_stall_out),
        .out_valid_out(bb_c_compSTR_B7_stall_region_out_valid_out),
        .clock(clock),
        .resetn(resetn)
    );

    // c_compSTR_B7_branch(BLACKBOX,3)
    c_compSTR_B7_branch thec_compSTR_B7_branch (
        .in_almost_empty_in(bb_c_compSTR_B7_stall_region_out_almost_empty_out),
        .in_c0_exe1732(bb_c_compSTR_B7_stall_region_out_c0_exe1732),
        .in_c0_exe5736(bb_c_compSTR_B7_stall_region_out_c0_exe5736),
        .in_empty_in(bb_c_compSTR_B7_stall_region_out_empty_out),
        .in_stall_in_0(in_stall_in_0),
        .in_valid_in(bb_c_compSTR_B7_stall_region_out_valid_out),
        .out_c0_exe1732(c_compSTR_B7_branch_out_c0_exe1732),
        .out_stall_out(c_compSTR_B7_branch_out_stall_out),
        .out_valid_out_0(c_compSTR_B7_branch_out_valid_out_0),
        .clock(clock),
        .resetn(resetn)
    );

    // out_c0_exe1732(GPOUT,17)
    assign out_c0_exe1732 = c_compSTR_B7_branch_out_c0_exe1732;

    // out_iowr_bl_resStream_o_fifodata(GPOUT,18)
    assign out_iowr_bl_resStream_o_fifodata = bb_c_compSTR_B7_stall_region_out_iowr_bl_resStream_o_fifodata;

    // out_iowr_bl_resStream_o_fifovalid(GPOUT,19)
    assign out_iowr_bl_resStream_o_fifovalid = bb_c_compSTR_B7_stall_region_out_iowr_bl_resStream_o_fifovalid;

    // out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_address(GPOUT,20)
    assign out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_address = bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_address;

    // out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_burstcount(GPOUT,21)
    assign out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_burstcount = bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_burstcount;

    // out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_byteenable(GPOUT,22)
    assign out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_byteenable = bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_byteenable;

    // out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_enable(GPOUT,23)
    assign out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_enable = bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_enable;

    // out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_read(GPOUT,24)
    assign out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_read = bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_read;

    // out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_write(GPOUT,25)
    assign out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_write = bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_write;

    // out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_writedata(GPOUT,26)
    assign out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_writedata = bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5126_c_compSTR_avm_writedata;

    // out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_address(GPOUT,27)
    assign out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_address = bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_address;

    // out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_burstcount(GPOUT,28)
    assign out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_burstcount = bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_burstcount;

    // out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_byteenable(GPOUT,29)
    assign out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_byteenable = bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_byteenable;

    // out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_enable(GPOUT,30)
    assign out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_enable = bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_enable;

    // out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_read(GPOUT,31)
    assign out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_read = bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_read;

    // out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_write(GPOUT,32)
    assign out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_write = bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_write;

    // out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_writedata(GPOUT,33)
    assign out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_writedata = bb_c_compSTR_B7_stall_region_out_memcoalesce_load_c_compSTR_fpgaunique_5138_c_compSTR_avm_writedata;

    // out_profile_loop_o_valid(GPOUT,34)
    assign out_profile_loop_o_valid = bb_c_compSTR_B7_stall_region_out_profile_loop_o_valid;

    // out_stall_in_0(GPOUT,35)
    assign out_stall_in_0 = in_stall_in_0;

    // out_stall_out_0(GPOUT,36)
    assign out_stall_out_0 = c_compSTR_B7_merge_out_stall_out_0;

    // out_valid_in_0(GPOUT,37)
    assign out_valid_in_0 = in_valid_in_0;

    // out_valid_out_0(GPOUT,38)
    assign out_valid_out_0 = c_compSTR_B7_branch_out_valid_out_0;

    // rst_sync(RESETSYNC,39)
    acl_reset_handler #(
        .ASYNC_RESET(0),
        .USE_SYNCHRONIZER(1),
        .PULSE_EXTENSION(0),
        .PIPE_DEPTH(3),
        .DUPLICATE(1)
    ) therst_sync (
        .clk(clock),
        .i_resetn(resetn),
        .o_sclrn(rst_sync_rst_sclrn)
    );

endmodule
