instruction stringlengths 139 357k | response stringlengths 36 4.54k | buggy_type stringclasses 745
values |
|---|---|---|
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
... |
The wrong part of the code is:
// Barrel shifter module
void barrel_shifter(ap_uint<16> in, ap_uint<16>& out, ap_uint<4> shift_amount, bool reset) {
#pragma HLS unroll factor=2
The right code snippet is:
// Barrel shifter module
void barrel_shifter(ap_uint<16> in, ap_uint<16>& out, ap_uint<4> shift... | 'MLU' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
#... |
The right code snippet is:
// Barrel shifter module
void barrel_shifter(ap_uint<16> in, ap_uint<16>& out, ap_uint<4> shift_amount, bool reset) { | 'MLU' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none p... |
The wrong part of the code is:
// Barrel shifter module
void barrel_shifter(ap_uint<16> in, ap_uint<16>& out, ap_uint<4> shift_amount, bool reset) {
#pragma HLS unroll factor=2
The high-level-synthesis bug type of the code is: 'MLU' | 'MLU' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
... |
The wrong part of the code is:
// Barrel shifter module
void barrel_shifter(ap_uint<16> in, ap_uint<16>& out, ap_uint<4> shift_amount, bool reset) {
#pragma HLS unroll factor=2
The high-level-synthesis bug type of the code is: 'MLU'
The right code snippet is:
// Barrel shifter module
void barre... | 'MLU' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
... |
The wrong part of the code is:
ap_uint<8> result = 0;
The right code snippet is:
ap_uint<8> result; | 'ZERO' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
#... |
The right code snippet is:
ap_uint<8> result; | 'ZERO' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none p... |
The wrong part of the code is:
ap_uint<8> result = 0;
The high-level-synthesis bug type of the code is: 'ZERO' | 'ZERO' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
... |
The wrong part of the code is:
ap_uint<8> result = 0;
The high-level-synthesis bug type of the code is: 'ZERO'
The right code snippet is:
ap_uint<8> result; | 'ZERO' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
... |
The wrong part of the code is:
shifted_in = in + shift_amount;
The right code snippet is:
shifted_in = in >> shift_amount; | 'BUF' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
#... |
The right code snippet is:
shifted_in = in >> shift_amount; | 'BUF' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none p... |
The wrong part of the code is:
shifted_in = in + shift_amount;
The high-level-synthesis bug type of the code is: 'BUF' | 'BUF' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
... |
The wrong part of the code is:
shifted_in = in + shift_amount;
The high-level-synthesis bug type of the code is: 'BUF'
The right code snippet is:
shifted_in = in >> shift_amount; | 'BUF' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
... |
The wrong part of the code is:
#pragma HLS array_partition variable=shifted_in cyclic
The right code snippet is:
#pragma HLS array_partition variable=shifted_in complete | 'APT' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
#... |
The right code snippet is:
#pragma HLS array_partition variable=shifted_in complete | 'APT' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none p... |
The wrong part of the code is:
#pragma HLS array_partition variable=shifted_in cyclic
The high-level-synthesis bug type of the code is: 'APT' | 'APT' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
... |
The wrong part of the code is:
#pragma HLS array_partition variable=shifted_in cyclic
The high-level-synthesis bug type of the code is: 'APT'
The right code snippet is:
#pragma HLS array_partition variable=shifted_in complete | 'APT' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
... |
The wrong part of the code is:
#pragma HLS array_partition variable=shifted_in factor=3
The right code snippet is:
#pragma HLS array_partition variable=shifted_in complete | 'FND' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
#... |
The right code snippet is:
#pragma HLS array_partition variable=shifted_in complete | 'FND' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none p... |
The wrong part of the code is:
#pragma HLS array_partition variable=shifted_in factor=3
The high-level-synthesis bug type of the code is: 'FND' | 'FND' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
... |
The wrong part of the code is:
#pragma HLS array_partition variable=shifted_in factor=3
The high-level-synthesis bug type of the code is: 'FND'
The right code snippet is:
#pragma HLS array_partition variable=shifted_in complete | 'FND' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
... |
The wrong part of the code is:
#pragma HLS array_partition variable=shifted_in complete dim=2
The right code snippet is:
#pragma HLS array_partition variable=shifted_in complete dim=1 | 'DID' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
#... |
The right code snippet is:
#pragma HLS array_partition variable=shifted_in complete dim=1 | 'DID' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none p... |
The wrong part of the code is:
#pragma HLS array_partition variable=shifted_in complete dim=2
The high-level-synthesis bug type of the code is: 'DID' | 'DID' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
... |
The wrong part of the code is:
#pragma HLS array_partition variable=shifted_in complete dim=2
The high-level-synthesis bug type of the code is: 'DID'
The right code snippet is:
#pragma HLS array_partition variable=shifted_in complete dim=1 | 'DID' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
... |
The wrong part of the code is:
#pragma HLS dataflow pipeline
The right code snippet is:
#pragma HLS dataflow | 'DFP' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
#... |
The right code snippet is:
#pragma HLS dataflow | 'DFP' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none p... |
The wrong part of the code is:
#pragma HLS dataflow pipeline
The high-level-synthesis bug type of the code is: 'DFP' | 'DFP' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
... |
The wrong part of the code is:
#pragma HLS dataflow pipeline
The high-level-synthesis bug type of the code is: 'DFP'
The right code snippet is:
#pragma HLS dataflow | 'DFP' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
... |
The wrong part of the code is:
#pragma HLS interface ap_fifo port=in
The right code snippet is:
#pragma HLS interface ap_none port=in | 'IDAP' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
#... |
The right code snippet is:
#pragma HLS interface ap_none port=in | 'IDAP' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none p... |
The wrong part of the code is:
#pragma HLS interface ap_fifo port=in
The high-level-synthesis bug type of the code is: 'IDAP' | 'IDAP' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
... |
The wrong part of the code is:
#pragma HLS interface ap_fifo port=in
The high-level-synthesis bug type of the code is: 'IDAP'
The right code snippet is:
#pragma HLS interface ap_none port=in | 'IDAP' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
... |
The wrong part of the code is:
#pragma HLS interface m_axi port=in offset=slave bundle=mybundle
The right code snippet is:
#pragma HLS interface m_axi port=in offset=slave | 'RAMB' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
#... |
The right code snippet is:
#pragma HLS interface m_axi port=in offset=slave | 'RAMB' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none p... |
The wrong part of the code is:
#pragma HLS interface m_axi port=in offset=slave bundle=mybundle
The high-level-synthesis bug type of the code is: 'RAMB' | 'RAMB' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
... |
The wrong part of the code is:
#pragma HLS interface m_axi port=in offset=slave bundle=mybundle
The high-level-synthesis bug type of the code is: 'RAMB'
The right code snippet is:
#pragma HLS interface m_axi port=in offset=slave | 'RAMB' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
... |
The wrong part of the code is:
#pragma HLS interface bram port=out_lo
The right code snippet is:
#pragma HLS interface ap_none port=out_lo | 'SMA' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
#... |
The right code snippet is:
#pragma HLS interface ap_none port=out_lo | 'SMA' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none p... |
The wrong part of the code is:
#pragma HLS interface bram port=out_lo
The high-level-synthesis bug type of the code is: 'SMA' | 'SMA' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
... |
The wrong part of the code is:
#pragma HLS interface bram port=out_lo
The high-level-synthesis bug type of the code is: 'SMA'
The right code snippet is:
#pragma HLS interface ap_none port=out_lo | 'SMA' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
... |
The wrong part of the code is:
#pragma HLS interface axis port=out_lo
The right code snippet is:
#pragma HLS interface ap_vld port=out_lo | 'AMS' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
#... |
The right code snippet is:
#pragma HLS interface ap_vld port=out_lo | 'AMS' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none p... |
The wrong part of the code is:
#pragma HLS interface axis port=out_lo
The high-level-synthesis bug type of the code is: 'AMS' | 'AMS' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
... |
The wrong part of the code is:
#pragma HLS interface axis port=out_lo
The high-level-synthesis bug type of the code is: 'AMS'
The right code snippet is:
#pragma HLS interface ap_vld port=out_lo | 'AMS' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
... |
The wrong part of the code is:
#pragma HLS pipeline II=2
The right code snippet is:
#pragma HLS pipeline | 'MLP' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
#... |
The right code snippet is:
#pragma HLS pipeline | 'MLP' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none p... |
The wrong part of the code is:
#pragma HLS pipeline II=2
The high-level-synthesis bug type of the code is: 'MLP' | 'MLP' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
... |
The wrong part of the code is:
#pragma HLS pipeline II=2
The high-level-synthesis bug type of the code is: 'MLP'
The right code snippet is:
#pragma HLS pipeline | 'MLP' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
... |
The wrong part of the code is:
#pragma HLS unroll factor=2
The right code snippet is:
#pragma HLS unroll factor=4 | 'ILNU' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none port=return
#... |
The right code snippet is:
#pragma HLS unroll factor=4 | 'ILNU' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
#pragma HLS INTERFACE ap_ctrl_none p... |
The wrong part of the code is:
#pragma HLS unroll factor=2
The high-level-synthesis bug type of the code is: 'ILNU' | 'ILNU' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#include <ap_int.h>
void top_module(ap_uint<16> in, bool select, ap_uint<8>& out_hi, ap_uint<8>& out_lo, ap_uint<8>& out_result) {
... |
The wrong part of the code is:
#pragma HLS unroll factor=2
The high-level-synthesis bug type of the code is: 'ILNU'
The right code snippet is:
#pragma HLS unroll factor=4 | 'ILNU' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTE... |
The wrong part of the code is:
if(count == 8) {
count = 0;
}
The right code snippet is:
if(count == 7) {
count = 0;
} | 'OOB' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTERFACE... |
The right code snippet is:
if(count == 7) {
count = 0;
} | 'OOB' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#prag... |
The wrong part of the code is:
if(count == 8) {
count = 0;
}
The high-level-synthesis bug type of the code is: 'OOB' | 'OOB' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma ... |
The wrong part of the code is:
if(count == 8) {
count = 0;
}
The high-level-synthesis bug type of the code is: 'OOB'
The right code snippet is:
if(count == 7) {
count = 0;
} | 'OOB' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTE... |
The wrong part of the code is:
count<<=4;
The right code snippet is:
count++; | 'SHFT' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTERFACE... |
The right code snippet is:
count++; | 'SHFT' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#prag... |
The wrong part of the code is:
count<<=4;
The high-level-synthesis bug type of the code is: 'SHFT' | 'SHFT' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma ... |
The wrong part of the code is:
count<<=4;
The high-level-synthesis bug type of the code is: 'SHFT'
The right code snippet is:
count++; | 'SHFT' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTE... |
The wrong part of the code is:
while(count<8) {
count++;
}
The right code snippet is:
while(1) {
count++;
} | 'INF' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTERFACE... |
The right code snippet is:
while(1) {
count++;
} | 'INF' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#prag... |
The wrong part of the code is:
while(count<8) {
count++;
}
The high-level-synthesis bug type of the code is: 'INF' | 'INF' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma ... |
The wrong part of the code is:
while(count<8) {
count++;
}
The high-level-synthesis bug type of the code is: 'INF'
The right code snippet is:
while(1) {
count++;
} | 'INF' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTE... |
The wrong part of the code is:
short int s_count = count;
s_count++;
The right code snippet is:
count++; | 'USE' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTERFACE... |
The right code snippet is:
count++; | 'USE' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#prag... |
The wrong part of the code is:
short int s_count = count;
s_count++;
The high-level-synthesis bug type of the code is: 'USE' | 'USE' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma ... |
The wrong part of the code is:
short int s_count = count;
s_count++;
The high-level-synthesis bug type of the code is: 'USE'
The right code snippet is:
count++; | 'USE' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTE... |
The wrong part of the code is:
ap_uint<3> count;
The right code snippet is:
ap_uint<3> count = 0; | 'ZERO' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTERFACE... |
The right code snippet is:
ap_uint<3> count = 0; | 'ZERO' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#prag... |
The wrong part of the code is:
ap_uint<3> count;
The high-level-synthesis bug type of the code is: 'ZERO' | 'ZERO' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma ... |
The wrong part of the code is:
ap_uint<3> count;
The high-level-synthesis bug type of the code is: 'ZERO'
The right code snippet is:
ap_uint<3> count = 0; | 'ZERO' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTE... |
The wrong part of the code is:
#pragma HLS array_partition variable=count block factor=2 dim=1
The right code snippet is:
#pragma HLS array_partition variable=count cyclic factor=2 dim=1 | 'APT' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTERFACE... |
The right code snippet is:
#pragma HLS array_partition variable=count cyclic factor=2 dim=1 | 'APT' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#prag... |
The wrong part of the code is:
#pragma HLS array_partition variable=count block factor=2 dim=1
The high-level-synthesis bug type of the code is: 'APT' | 'APT' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma ... |
The wrong part of the code is:
#pragma HLS array_partition variable=count block factor=2 dim=1
The high-level-synthesis bug type of the code is: 'APT'
The right code snippet is:
#pragma HLS array_partition variable=count cyclic factor=2 dim=1 | 'APT' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTE... |
The wrong part of the code is:
#pragma HLS array_partition variable=count cyclic factor=3 dim=1
The right code snippet is:
#pragma HLS array_partition variable=count cyclic factor=2 dim=1 | 'FND' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTERFACE... |
The right code snippet is:
#pragma HLS array_partition variable=count cyclic factor=2 dim=1 | 'FND' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#prag... |
The wrong part of the code is:
#pragma HLS array_partition variable=count cyclic factor=3 dim=1
The high-level-synthesis bug type of the code is: 'FND' | 'FND' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma ... |
The wrong part of the code is:
#pragma HLS array_partition variable=count cyclic factor=3 dim=1
The high-level-synthesis bug type of the code is: 'FND'
The right code snippet is:
#pragma HLS array_partition variable=count cyclic factor=2 dim=1 | 'FND' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTE... |
The wrong part of the code is:
#pragma HLS array_partition variable=count cyclic factor=2 dim=2
The right code snippet is:
#pragma HLS array_partition variable=count cyclic factor=2 dim=1 | 'DID' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTERFACE... |
The right code snippet is:
#pragma HLS array_partition variable=count cyclic factor=2 dim=1 | 'DID' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#prag... |
The wrong part of the code is:
#pragma HLS array_partition variable=count cyclic factor=2 dim=2
The high-level-synthesis bug type of the code is: 'DID' | 'DID' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma ... |
The wrong part of the code is:
#pragma HLS array_partition variable=count cyclic factor=2 dim=2
The high-level-synthesis bug type of the code is: 'DID'
The right code snippet is:
#pragma HLS array_partition variable=count cyclic factor=2 dim=1 | 'DID' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTE... |
The wrong part of the code is:
#pragma HLS dataflow region
The right code snippet is:
#pragma HLS dataflow | 'DFP' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTERFACE... |
The right code snippet is:
#pragma HLS dataflow | 'DFP' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#prag... |
The wrong part of the code is:
#pragma HLS dataflow region
The high-level-synthesis bug type of the code is: 'DFP' | 'DFP' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma ... |
The wrong part of the code is:
#pragma HLS dataflow region
The high-level-synthesis bug type of the code is: 'DFP'
The right code snippet is:
#pragma HLS dataflow | 'DFP' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTE... |
The wrong part of the code is:
#pragma HLS interface ap_fifo port=count
The right code snippet is:
#pragma HLS interface ap_none port=count | 'IDAP' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTERFACE... |
The right code snippet is:
#pragma HLS interface ap_none port=count | 'IDAP' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#prag... |
The wrong part of the code is:
#pragma HLS interface ap_fifo port=count
The high-level-synthesis bug type of the code is: 'IDAP' | 'IDAP' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma ... |
The wrong part of the code is:
#pragma HLS interface ap_fifo port=count
The high-level-synthesis bug type of the code is: 'IDAP'
The right code snippet is:
#pragma HLS interface ap_none port=count | 'IDAP' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTE... |
The wrong part of the code is:
#pragma HLS interface m_axi depth=20 port=count
The right code snippet is:
#pragma HLS interface m_axi depth=50 port=count | 'RAMB' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTERFACE... |
The right code snippet is:
#pragma HLS interface m_axi depth=50 port=count | 'RAMB' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#prag... |
The wrong part of the code is:
#pragma HLS interface m_axi depth=20 port=count
The high-level-synthesis bug type of the code is: 'RAMB' | 'RAMB' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma ... |
The wrong part of the code is:
#pragma HLS interface m_axi depth=20 port=count
The high-level-synthesis bug type of the code is: 'RAMB'
The right code snippet is:
#pragma HLS interface m_axi depth=50 port=count | 'RAMB' |
Given the following buggy code, tell which part of the code is wrong, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTE... |
The wrong part of the code is:
#pragma HLS interface bram port=count
The right code snippet is:
#pragma HLS interface ap_none port=count | 'SMA' |
Given the following buggy code, and the wrong part of the code, generate the right code snippet:
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#pragma HLS INTERFACE... |
The right code snippet is:
#pragma HLS interface ap_none port=count | 'SMA' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma HLS INTERFACE ap_none port=load
#prag... |
The wrong part of the code is:
#pragma HLS interface bram port=count
The high-level-synthesis bug type of the code is: 'SMA' | 'SMA' |
Given the following buggy code, tell which part of the code is wrong, and tell the high-level-synthesis bug type, and tell the right code snippet
The buggy code is:
#pragma HLS INTERFACE ap_clk port=clk
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE ap_none port=up_down
#pragma ... |
The wrong part of the code is:
#pragma HLS interface bram port=count
The high-level-synthesis bug type of the code is: 'SMA'
The right code snippet is:
#pragma HLS interface ap_none port=count | 'SMA' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.