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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#... |
The wrong part of the code is:
out[16] = ~(nand4 & nand8);
The right code snippet is:
out[15] = ~(nand4 & nand8); | 'OOB' |
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragm... |
The right code snippet is:
out[15] = ~(nand4 & nand8); | '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:
```
#include <ap_int.h>
void decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none p... |
The wrong part of the code is:
out[16] = ~(nand4 & nand8);
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:
```
#include <ap_int.h>
void decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=... |
The wrong part of the code is:
out[16] = ~(nand4 & nand8);
The high-level-synthesis bug type of the code is: 'OOB'
The right code snippet is:
out[15] = ~(nand4 & nand8); | 'OOB' |
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#... |
The wrong part of the code is:
ap_uint<1> nand1, nand2, nand3, nand5, nand6, nand7, nand8;
The right code snippet is:
ap_uint<1> nand1, nand2, nand3, nand4, nand5, nand6, nand7, nand8; | 'INIT' |
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragm... |
The right code snippet is:
ap_uint<1> nand1, nand2, nand3, nand4, nand5, nand6, nand7, nand8; | 'INIT' |
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none p... |
The wrong part of the code is:
ap_uint<1> nand1, nand2, nand3, nand5, nand6, nand7, nand8;
The high-level-synthesis bug type of the code is: 'INIT' | 'INIT' |
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=... |
The wrong part of the code is:
ap_uint<1> nand1, nand2, nand3, nand5, nand6, nand7, nand8;
The high-level-synthesis bug type of the code is: 'INIT'
The right code snippet is:
ap_uint<1> nand1, nand2, nand3, nand4, nand5, nand6, nand7, nand8; | 'INIT' |
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#... |
The wrong part of the code is:
nand1 = ~(a[1] << 2 & a[0]);
The right code snippet is:
nand1 = ~(a[1] & a[0]); | 'SHFT' |
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragm... |
The right code snippet is:
nand1 = ~(a[1] & a[0]); | '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:
```
#include <ap_int.h>
void decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none p... |
The wrong part of the code is:
nand1 = ~(a[1] << 2 & a[0]);
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:
```
#include <ap_int.h>
void decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=... |
The wrong part of the code is:
nand1 = ~(a[1] << 2 & a[0]);
The high-level-synthesis bug type of the code is: 'SHFT'
The right code snippet is:
nand1 = ~(a[1] & a[0]); | 'SHFT' |
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#... |
The wrong part of the code is:
while(1);
The right code snippet is:
None | 'INF' |
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragm... |
The right code snippet is:
None | '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:
```
#include <ap_int.h>
void decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none p... |
The wrong part of the code is:
while(1);
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:
```
#include <ap_int.h>
void decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=... |
The wrong part of the code is:
while(1);
The high-level-synthesis bug type of the code is: 'INF'
The right code snippet is:
None | 'INF' |
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#... |
The wrong part of the code is:
out[15] = ~(ap_int<1>(nand4) & ap_int<1>(nand8));
The right code snippet is:
out[15] = ~(nand4 & nand8); | 'USE' |
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragm... |
The right code snippet is:
out[15] = ~(nand4 & nand8); | '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:
```
#include <ap_int.h>
void decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none p... |
The wrong part of the code is:
out[15] = ~(ap_int<1>(nand4) & ap_int<1>(nand8));
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:
```
#include <ap_int.h>
void decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=... |
The wrong part of the code is:
out[15] = ~(ap_int<1>(nand4) & ap_int<1>(nand8));
The high-level-synthesis bug type of the code is: 'USE'
The right code snippet is:
out[15] = ~(nand4 & nand8); | 'USE' |
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#... |
The wrong part of the code is:
out[15] = ~(nand4 & nand8);
out[14] = ~(nand4 & nand7);
out[13] = ~(nand4 & nand6);
out[12] = ~(nand4 & nand5);
The right code snippet is:
out[15] = ~(nand4 & nand8); | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragm... |
The right code snippet is:
out[15] = ~(nand4 & nand8); | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none p... |
The wrong part of the code is:
out[15] = ~(nand4 & nand8);
out[14] = ~(nand4 & nand7);
out[13] = ~(nand4 & nand6);
out[12] = ~(nand4 & nand5);
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=... |
The wrong part of the code is:
out[15] = ~(nand4 & nand8);
out[14] = ~(nand4 & nand7);
out[13] = ~(nand4 & nand6);
out[12] = ~(nand4 & nand5);
The high-level-synthesis bug type of the code is: 'MLU'
The right code snippet is:
out[15] = ~(nand4 & nand8); | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#... |
The wrong part of the code is:
ap_uint<1> nand1 = 0, nand2 = 0, nand3 = 0, nand4 = 0, nand5 = 0, nand6 = 0, nand7 = 0, nand8 = 0;
The right code snippet is:
ap_uint<1> nand1, nand2, nand3, nand4, nand5, nand6, nand7, nand8; | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragm... |
The right code snippet is:
ap_uint<1> nand1, nand2, nand3, nand4, nand5, nand6, nand7, nand8; | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none p... |
The wrong part of the code is:
ap_uint<1> nand1 = 0, nand2 = 0, nand3 = 0, nand4 = 0, nand5 = 0, nand6 = 0, nand7 = 0, nand8 = 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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=... |
The wrong part of the code is:
ap_uint<1> nand1 = 0, nand2 = 0, nand3 = 0, nand4 = 0, nand5 = 0, nand6 = 0, nand7 = 0, nand8 = 0;
The high-level-synthesis bug type of the code is: 'ZERO'
The right code snippet is:
ap_uint<1> nand1, nand2, nand3, nand4, nand5, nand6, nand7, nand8; | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#... |
The wrong part of the code is:
out[7] = ~(nand4 & nand8);
The right code snippet is:
out[15] = ~(nand4 & nand8); | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragm... |
The right code snippet is:
out[15] = ~(nand4 & nand8); | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none p... |
The wrong part of the code is:
out[7] = ~(nand4 & nand8);
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=... |
The wrong part of the code is:
out[7] = ~(nand4 & nand8);
The high-level-synthesis bug type of the code is: 'BUF'
The right code snippet is:
out[15] = ~(nand4 & nand8); | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#... |
The wrong part of the code is:
#pragma HLS array_partition variable=out cyclic factor=3 dim=1
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragm... |
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none p... |
The wrong part of the code is:
#pragma HLS array_partition variable=out cyclic factor=3 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:
```
#include <ap_int.h>
void decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=... |
The wrong part of the code is:
#pragma HLS array_partition variable=out cyclic factor=3 dim=1
The high-level-synthesis bug type of the code is: 'APT'
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#... |
The wrong part of the code is:
#pragma HLS array_partition variable=out cyclic factor=5 dim=1
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragm... |
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none p... |
The wrong part of the code is:
#pragma HLS array_partition variable=out cyclic factor=5 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:
```
#include <ap_int.h>
void decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=... |
The wrong part of the code is:
#pragma HLS array_partition variable=out cyclic factor=5 dim=1
The high-level-synthesis bug type of the code is: 'FND'
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#... |
The wrong part of the code is:
#pragma HLS array_partition variable=out cyclic factor=3 dim=2
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragm... |
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none p... |
The wrong part of the code is:
#pragma HLS array_partition variable=out cyclic factor=3 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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=... |
The wrong part of the code is:
#pragma HLS array_partition variable=out cyclic factor=3 dim=2
The high-level-synthesis bug type of the code is: 'DID'
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#... |
The wrong part of the code is:
#pragma HLS dataflow
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragm... |
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none p... |
The wrong part of the code is:
#pragma HLS dataflow
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=... |
The wrong part of the code is:
#pragma HLS dataflow
The high-level-synthesis bug type of the code is: 'DFP'
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#... |
The wrong part of the code is:
#pragma HLS interface ap_fifo port=out
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragm... |
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none p... |
The wrong part of the code is:
#pragma HLS interface ap_fifo port=out
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=... |
The wrong part of the code is:
#pragma HLS interface ap_fifo port=out
The high-level-synthesis bug type of the code is: 'IDAP'
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#... |
The wrong part of the code is:
#pragma HLS interface m_axi port=out offset=slave
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragm... |
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none p... |
The wrong part of the code is:
#pragma HLS interface m_axi port=out offset=slave
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=... |
The wrong part of the code is:
#pragma HLS interface m_axi port=out offset=slave
The high-level-synthesis bug type of the code is: 'RAMB'
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#... |
The wrong part of the code is:
#pragma HLS interface s_axilite port=out
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragm... |
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none p... |
The wrong part of the code is:
#pragma HLS interface s_axilite port=out
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=... |
The wrong part of the code is:
#pragma HLS interface s_axilite port=out
The high-level-synthesis bug type of the code is: 'SMA'
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#... |
The wrong part of the code is:
#pragma HLS interface ap_memory port=out
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragm... |
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none p... |
The wrong part of the code is:
#pragma HLS interface ap_memory port=out
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=... |
The wrong part of the code is:
#pragma HLS interface ap_memory port=out
The high-level-synthesis bug type of the code is: 'AMS'
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#... |
The wrong part of the code is:
#pragma HLS pipeline II=2
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragm... |
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=... |
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:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#... |
The wrong part of the code is:
#pragma HLS unroll factor=2 inner_loop=true
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragm... |
The right code snippet is:
None | '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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none p... |
The wrong part of the code is:
#pragma HLS unroll factor=2 inner_loop=true
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 decoder_4to16(ap_uint<2> a, ap_uint<2> b, ap_uint<16>& out) {
#pragma HLS INTERFACE ap_none port=... |
The wrong part of the code is:
#pragma HLS unroll factor=2 inner_loop=true
The high-level-synthesis bug type of the code is: 'ILNU'
The right code snippet is:
None | '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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma HLS INTERFAC... |
The wrong part of the code is:
bool cout = 0;
bool sum = 0;
The right code snippet is:
bool cout;
bool sum; | 'INIT' |
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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma HLS INTERFACE ap_... |
The right code snippet is:
bool cout;
bool sum; | 'INIT' |
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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma H... |
The wrong part of the code is:
bool cout = 0;
bool sum = 0;
The high-level-synthesis bug type of the code is: 'INIT' | 'INIT' |
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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTER... |
The wrong part of the code is:
bool cout = 0;
bool sum = 0;
The high-level-synthesis bug type of the code is: 'INIT'
The right code snippet is:
bool cout;
bool sum; | 'INIT' |
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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma HLS INTERFAC... |
The wrong part of the code is:
out_final = sum + out_or_bitwise[4];
The right code snippet is:
out_final = sum + out_or_bitwise; | '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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma HLS INTERFACE ap_... |
The right code snippet is:
out_final = sum + out_or_bitwise; | '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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma H... |
The wrong part of the code is:
out_final = sum + out_or_bitwise[4];
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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTER... |
The wrong part of the code is:
out_final = sum + out_or_bitwise[4];
The high-level-synthesis bug type of the code is: 'OOB'
The right code snippet is:
out_final = sum + out_or_bitwise; | '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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma HLS INTERFAC... |
The wrong part of the code is:
out_not = ~{a_bitwise, b_bitwise} << 5;
The right code snippet is:
out_not = ~{a_bitwise, b_bitwise}; | '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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma HLS INTERFACE ap_... |
The right code snippet is:
out_not = ~{a_bitwise, b_bitwise}; | '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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma H... |
The wrong part of the code is:
out_not = ~{a_bitwise, b_bitwise} << 5;
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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTER... |
The wrong part of the code is:
out_not = ~{a_bitwise, b_bitwise} << 5;
The high-level-synthesis bug type of the code is: 'SHFT'
The right code snippet is:
out_not = ~{a_bitwise, b_bitwise}; | '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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma HLS INTERFAC... |
The wrong part of the code is:
for (int i = 0; i >= 0; i++) {
// some code here
}
The right code snippet is:
for (int i = 0; i < 10; i++) {
// some code here
} | '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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma HLS INTERFACE ap_... |
The right code snippet is:
for (int i = 0; i < 10; i++) {
// some code here
} | '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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma H... |
The wrong part of the code is:
for (int i = 0; i >= 0; i++) {
// some code here
}
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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTER... |
The wrong part of the code is:
for (int i = 0; i >= 0; i++) {
// some code here
}
The high-level-synthesis bug type of the code is: 'INF'
The right code snippet is:
for (int i = 0; i < 10; i++) {
// some code here
} | '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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma HLS INTERFAC... |
The wrong part of the code is:
out_or_logical = (int){a_bitwise, b_bitwise};
The right code snippet is:
out_or_logical = |{a_bitwise, b_bitwise}; | '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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma HLS INTERFACE ap_... |
The right code snippet is:
out_or_logical = |{a_bitwise, b_bitwise}; | '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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma H... |
The wrong part of the code is:
out_or_logical = (int){a_bitwise, b_bitwise};
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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTER... |
The wrong part of the code is:
out_or_logical = (int){a_bitwise, b_bitwise};
The high-level-synthesis bug type of the code is: 'USE'
The right code snippet is:
out_or_logical = |{a_bitwise, b_bitwise}; | '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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma HLS INTERFAC... |
The wrong part of the code is:
bool cout = 0;
bool sum = 0;
The right code snippet is:
bool cout;
bool sum; | '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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma HLS INTERFACE ap_... |
The right code snippet is:
bool cout;
bool sum; | '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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma H... |
The wrong part of the code is:
bool cout = 0;
bool sum = 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:
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTER... |
The wrong part of the code is:
bool cout = 0;
bool sum = 0;
The high-level-synthesis bug type of the code is: 'ZERO'
The right code snippet is:
bool cout;
bool sum; | '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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma HLS INTERFAC... |
The wrong part of the code is:
out_final = sum + out_or_bitwise.range(5,0);
The right code snippet is:
out_final = sum + out_or_bitwise; | 'BUF' |
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_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma HLS INTERFACE ap_... |
The right code snippet is:
out_final = sum + out_or_bitwise; | '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:
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTERFACE ap_none port=b_bitwise
#pragma H... |
The wrong part of the code is:
out_final = sum + out_or_bitwise.range(5,0);
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:
#pragma HLS INTERFACE ap_none port=a
#pragma HLS INTERFACE ap_none port=b
#pragma HLS INTERFACE ap_none port=a_bitwise
#pragma HLS INTER... |
The wrong part of the code is:
out_final = sum + out_or_bitwise.range(5,0);
The high-level-synthesis bug type of the code is: 'BUF'
The right code snippet is:
out_final = sum + out_or_bitwise; | 'BUF' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.