problem_id stringlengths 7 27 | bundle_relpath stringlengths 25 47 | evaluation_title stringlengths 6 73 | release_level stringclasses 5
values | evaluated_level stringclasses 5
values | evaluation_problem_id stringlengths 3 3 | problem stringlengths 287 16.6k | config_yaml stringlengths 227 1.64k | testbench stringlengths 129 71.8k |
|---|---|---|---|---|---|---|---|---|
001_and_gate | bundles/L1_basic/001_and_gate | AND Gate | L1_basic | L1 | 001 | # Problem 001: AND Gate
## Description
Implement a 2-input AND gate.
## Module Interface
```verilog
module and_gate(
input a,
input b,
output y
);
// Your code here
endmodule
```
## Specification
- Inputs: `a`, `b` (1-bit each)
- Output: `y` (1-bit)
- Function: `y = a & b`
## Truth Table
| a | b... | problem_id: "001"
title: "AND Gate"
level: 1
category: "basic_gates"
description: "Implement a 2-input AND gate"
module_name: "and_gate"
ports:
a:
direction: "input"
width: "1"
b:
direction: "input"
width: "1"
y:
direction: "output"
width: "1"
testbench_file: "testbench.v"
timeout_compil... | `timescale 1ns/1ps
module tb_and_gate;
reg a, b;
wire y;
// Instantiate the module under test
and_gate uut (
.a(a),
.b(b),
.y(y)
);
integer pass_count = 0;
integer fail_count = 0;
initial begin
$display("Testing AND gate...");
// Test case 1: ... |
002_or_gate | bundles/L1_basic/002_or_gate | OR Gate | L1_basic | L1 | 002 | # Problem 002: OR Gate
## Description
Implement a 2-input OR gate.
## Module Interface
```verilog
module or_gate(
input a,
input b,
output y
);
// Your code here
endmodule
```
## Specification
- Inputs: `a`, `b` (1-bit each)
- Output: `y` (1-bit)
- Function: `y = a | b`
## Scoring
- Functional c... | problem_id: "002"
title: "OR Gate"
level: 1
category: "basic_gates"
description: "Implement a 2-input OR gate"
module_name: "or_gate"
ports:
a: { direction: "input", width: "1" }
b: { direction: "input", width: "1" }
y: { direction: "output", width: "1" }
testbench_file: "testbench.v"
timeout_compile: 10
timeout_... | `timescale 1ns/1ps
module tb_or_gate;
reg a, b;
wire y;
or_gate uut(.a(a), .b(b), .y(y));
integer pass_count = 0;
integer fail_count = 0;
task check(input expected);
begin
#10;
if (y === expected) pass_count = pass_count + 1;
else fail_count = fail_cou... |
003_not_gate | bundles/L1_basic/003_not_gate | NOT Gate | L1_basic | L1 | 003 | # Problem 003: NOT Gate
## Description
Implement a NOT gate (inverter).
## Module Interface
```verilog
module not_gate(
input a,
output y
);
// Your code here
endmodule
```
## Specification
- Input: `a` (1-bit)
- Output: `y` (1-bit)
- Function: `y = ~a`
## Scoring
- Functional correctness: 100%
| problem_id: "003"
title: "NOT Gate"
level: 1
category: "basic_gates"
description: "Implement a NOT gate"
module_name: "not_gate"
ports:
a: { direction: "input", width: "1" }
y: { direction: "output", width: "1" }
testbench_file: "testbench.v"
timeout_compile: 10
timeout_simulate: 10
require_synthesis: false
check_w... | `timescale 1ns/1ps
module tb_not_gate;
reg a;
wire y;
not_gate uut(.a(a), .y(y));
integer pass_count = 0;
integer fail_count = 0;
initial begin
a = 0; #10;
if (y === 1'b1) pass_count = pass_count + 1; else fail_count = fail_count + 1;
a = 1; #10;
if (y === 1'b0) p... |
004_xor_gate | bundles/L1_basic/004_xor_gate | XOR Gate | L1_basic | L1 | 004 | # Problem 004: XOR Gate
## Description
Implement a 2-input XOR gate.
## Module Interface
```verilog
module xor_gate(
input a,
input b,
output y
);
// Your code here
endmodule
```
## Specification
- Inputs: `a`, `b` (1-bit each)
- Output: `y` (1-bit)
- Function: `y = a ^ b`
## Scoring
- Functiona... | problem_id: "004"
title: "XOR Gate"
level: 1
category: "basic_gates"
description: "Implement a 2-input XOR gate"
module_name: "xor_gate"
ports:
a: { direction: "input", width: "1" }
b: { direction: "input", width: "1" }
y: { direction: "output", width: "1" }
testbench_file: "testbench.v"
timeout_compile: 10
timeo... | `timescale 1ns/1ps
module tb_xor_gate;
reg a, b;
wire y;
xor_gate uut(.a(a), .b(b), .y(y));
integer pass_count = 0;
integer fail_count = 0;
initial begin
a=0; b=0; #10; if (y===1'b0) pass_count=pass_count+1; else fail_count=fail_count+1;
a=0; b=1; #10; if (y===1'b1) pass_count=pa... |
005_mux2to1 | bundles/L1_basic/005_mux2to1 | 2-to-1 Multiplexer | L1_basic | L1 | 005 | # Problem 005: 2-to-1 Multiplexer
## Description
Implement a 2-to-1 multiplexer that selects between two 8-bit inputs.
## Module Interface
```verilog
module mux2to1(
input [7:0] a,
input [7:0] b,
input sel,
output [7:0] y
);
// Your code here
endmodule
```
## Specification
- When `sel = 0`: ou... | problem_id: "005"
title: "2-to-1 Multiplexer"
level: 1
category: "mux"
description: "Implement a 2-to-1 mux for 8-bit data"
module_name: "mux2to1"
ports:
a:
direction: "input"
width: "8"
b:
direction: "input"
width: "8"
sel:
direction: "input"
width: "1"
y:
direction: "output"
w... | `timescale 1ns/1ps
module tb_mux2to1;
reg [7:0] a, b;
reg sel;
wire [7:0] y;
mux2to1 uut (
.a(a),
.b(b),
.sel(sel),
.y(y)
);
integer pass_count = 0;
integer fail_count = 0;
integer i;
initial begin
$display("Testing 2-to-1 Multiplexer...");... |
006_mux4to1 | bundles/L1_basic/006_mux4to1 | 4-to-1 Multiplexer | L1_basic | L1 | 006 | # Problem 006: 4-to-1 Multiplexer
## Description
Implement a 4-to-1 multiplexer with 8-bit data inputs.
## Module Interface
```verilog
module mux4to1(
input [7:0] a,
input [7:0] b,
input [7:0] c,
input [7:0] d,
input [1:0] sel,
output [7:0] y
);
// Your code here
endmodule
```
## Specif... | problem_id: "006"
title: "4-to-1 Multiplexer"
level: 1
category: "basic_mux"
description: "Implement a 4-to-1 multiplexer"
module_name: "mux4to1"
ports:
a: { direction: "input", width: "8" }
b: { direction: "input", width: "8" }
c: { direction: "input", width: "8" }
d: { direction: "input", width: "8" }
sel: ... | `timescale 1ns/1ps
module tb_mux4to1;
reg [7:0] a, b, c, d;
reg [1:0] sel;
wire [7:0] y;
mux4to1 uut(.a(a), .b(b), .c(c), .d(d), .sel(sel), .y(y));
integer pass_count = 0;
integer fail_count = 0;
integer i;
initial begin
a = 8'hAA; b = 8'hBB; c = 8'hCC; d = 8'hDD;
sel = 2... |
007_half_adder | bundles/L1_basic/007_half_adder | Half Adder | L1_basic | L1 | 007 | # Problem 007: Half Adder
## Description
Implement a half adder.
## Module Interface
```verilog
module half_adder(
input a,
input b,
output sum,
output carry
);
// Your code here
endmodule
```
## Specification
- `sum = a ^ b`
- `carry = a & b`
## Scoring
- Functional correctness: 100%
| problem_id: "007"
title: "Half Adder"
level: 1
category: "basic_arithmetic"
description: "Implement a half adder"
module_name: "half_adder"
ports:
a: { direction: "input", width: "1" }
b: { direction: "input", width: "1" }
sum: { direction: "output", width: "1" }
carry: { direction: "output", width: "1" }
testb... | `timescale 1ns/1ps
module tb_half_adder;
reg a, b;
wire sum, carry;
half_adder uut(.a(a), .b(b), .sum(sum), .carry(carry));
integer pass_count = 0;
integer fail_count = 0;
initial begin
a=0; b=0; #10; if (sum===1'b0 && carry===1'b0) pass_count=pass_count+1; else fail_count=fail_count+1;
... |
008_full_adder | bundles/L1_basic/008_full_adder | 8-bit Adder | L1_basic | L1 | 008 | # Problem 008: 8-bit Adder
## Description
Implement an 8-bit adder with carry output.
## Module Interface
```verilog
module adder8(
input [7:0] a,
input [7:0] b,
input cin,
output [7:0] sum,
output cout
);
// Your code here
endmodule
```
## Specification
- Compute `{cout, sum} = a + b + ci... | problem_id: "008"
title: "8-bit Adder"
level: 1
category: "arithmetic"
description: "Implement an 8-bit adder with carry"
module_name: "adder8"
ports:
a:
direction: "input"
width: "8"
b:
direction: "input"
width: "8"
cin:
direction: "input"
width: "1"
sum:
direction: "output"
wi... | `timescale 1ns/1ps
module tb_adder8;
reg [7:0] a, b;
reg cin;
wire [7:0] sum;
wire cout;
adder8 uut (
.a(a),
.b(b),
.cin(cin),
.sum(sum),
.cout(cout)
);
integer pass_count = 0;
integer fail_count = 0;
integer i;
reg [8:0] expected;
... |
009_decoder2to4 | bundles/L1_basic/009_decoder2to4 | 2-to-4 Decoder | L1_basic | L1 | 009 | # Problem 009: 2-to-4 Decoder
## Description
Implement a 2-to-4 decoder with enable.
## Module Interface
```verilog
module decoder2to4(
input [1:0] in,
input en,
output [3:0] out
);
// Your code here
endmodule
```
## Specification
- When `en = 1`: exactly one bit of `out` is high based on `in`
-... | problem_id: "009"
title: "2-to-4 Decoder"
level: 1
category: "basic_decoder"
description: "Implement a 2-to-4 decoder with enable"
module_name: "decoder2to4"
ports:
in: { direction: "input", width: "2" }
en: { direction: "input", width: "1" }
out: { direction: "output", width: "4" }
testbench_file: "testbench.v"
... | `timescale 1ns/1ps
module tb_decoder2to4;
reg [1:0] in;
reg en;
wire [3:0] out;
decoder2to4 uut(.in(in), .en(en), .out(out));
integer pass_count = 0;
integer fail_count = 0;
initial begin
// Enable tests
en=1; in=2'b00; #10; if (out===4'b0001) pass_count=pass_count+1; else fa... |
010_priority_encoder | bundles/L1_basic/010_priority_encoder | Priority Encoder | L1_basic | L1 | 010 | # Problem 010: Priority Encoder
## Description
Implement a 4-bit priority encoder.
## Module Interface
```verilog
module priority_encoder(
input [3:0] in,
output reg [1:0] out,
output valid
);
// Your code here
endmodule
```
## Specification
- Output encodes the highest-priority (most significant)... | problem_id: "010"
title: "Priority Encoder"
level: 1
category: "basic_encoder"
description: "Implement a 4-bit priority encoder"
module_name: "priority_encoder"
ports:
in: { direction: "input", width: "4" }
out: { direction: "output", width: "2" }
valid: { direction: "output", width: "1" }
testbench_file: "testbe... | `timescale 1ns/1ps
module tb_priority_encoder;
reg [3:0] in;
wire [1:0] out;
wire valid;
priority_encoder uut(.in(in), .out(out), .valid(valid));
integer pass_count = 0;
integer fail_count = 0;
initial begin
in=4'b0000; #10; if (valid===1'b0 && out===2'b00) pass_count=pass_count+1; e... |
011_not_gate | bundles/L1_basic/011_not_gate | NOT Gate | L1_basic | L1 | 011 | # NOT Gate
**Level**: 1 (Basic Combinational Logic)
**Category**: basic_gates
## Problem Description
Implement a NOT gate
## Module Interface
```verilog
module not_gate(
input a,
output y
);
```
## Specifications
**Inputs:**
- `a` (1-bit): Input signal
**Outputs:**
- `y` (1-bit): Output signal
## Examp... | problem_id: '011'
title: NOT Gate
level: 1
category: basic_gates
description: Implement a NOT gate
module_name: not_gate
ports:
a:
direction: input
width: 1
y:
direction: output
width: 1
testbench_file: testbench.v
timeout_compile: 10
timeout_simulate: 30
require_synthesis: false
check_waveform: fal... | `timescale 1ns/1ps
module tb_not_gate;
reg a;
wire y;
// Instantiate the module under test
not_gate uut (
.a(a),
.y(y)
);
integer pass_count = 0;
integer fail_count = 0;
initial begin
$display("Testing not_gate...");
// Test 1
a = 1'b0; #10;
... |
012_and_gate | bundles/L1_basic/012_and_gate | AND Gate | L1_basic | L1 | 012 | # AND Gate
**Level**: 1 (Basic Combinational Logic)
**Category**: basic_gates
## Problem Description
Implement a 2-input AND gate
## Module Interface
```verilog
module and_gate(
input a, input b,
output y
);
```
## Specifications
**Inputs:**
- `a` (1-bit): Input signal
- `b` (1-bit): Input signal
**Outp... | problem_id: '012'
title: AND Gate
level: 1
category: basic_gates
description: Implement a 2-input AND gate
module_name: and_gate
ports:
a:
direction: input
width: 1
b:
direction: input
width: 1
y:
direction: output
width: 1
testbench_file: testbench.v
timeout_compile: 10
timeout_simulate: ... | `timescale 1ns/1ps
module tb_and_gate;
reg a;
reg b;
wire y;
// Instantiate the module under test
and_gate uut (
.a(a),
.b(b),
.y(y)
);
integer pass_count = 0;
integer fail_count = 0;
initial begin
$display("Testing and_gate...");
// Test... |
013_or_gate | bundles/L1_basic/013_or_gate | OR Gate | L1_basic | L1 | 013 | # OR Gate
**Level**: 1 (Basic Combinational Logic)
**Category**: basic_gates
## Problem Description
Implement a 2-input OR gate
## Module Interface
```verilog
module or_gate(
input a, input b,
output y
);
```
## Specifications
**Inputs:**
- `a` (1-bit): Input signal
- `b` (1-bit): Input signal
**Outputs... | problem_id: '013'
title: OR Gate
level: 1
category: basic_gates
description: Implement a 2-input OR gate
module_name: or_gate
ports:
a:
direction: input
width: 1
b:
direction: input
width: 1
y:
direction: output
width: 1
testbench_file: testbench.v
timeout_compile: 10
timeout_simulate: 30
... | `timescale 1ns/1ps
module tb_or_gate;
reg a;
reg b;
wire y;
// Instantiate the module under test
or_gate uut (
.a(a),
.b(b),
.y(y)
);
integer pass_count = 0;
integer fail_count = 0;
initial begin
$display("Testing or_gate...");
// Test 1
... |
014_xor_gate | bundles/L1_basic/014_xor_gate | XOR Gate | L1_basic | L1 | 014 | # XOR Gate
**Level**: 1 (Basic Combinational Logic)
**Category**: basic_gates
## Problem Description
Implement a 2-input XOR gate
## Module Interface
```verilog
module xor_gate(
input a, input b,
output y
);
```
## Specifications
**Inputs:**
- `a` (1-bit): Input signal
- `b` (1-bit): Input signal
**Outp... | problem_id: '014'
title: XOR Gate
level: 1
category: basic_gates
description: Implement a 2-input XOR gate
module_name: xor_gate
ports:
a:
direction: input
width: 1
b:
direction: input
width: 1
y:
direction: output
width: 1
testbench_file: testbench.v
timeout_compile: 10
timeout_simulate: ... | `timescale 1ns/1ps
module tb_xor_gate;
reg a;
reg b;
wire y;
// Instantiate the module under test
xor_gate uut (
.a(a),
.b(b),
.y(y)
);
integer pass_count = 0;
integer fail_count = 0;
initial begin
$display("Testing xor_gate...");
// Test... |
015_nand_gate | bundles/L1_basic/015_nand_gate | NAND Gate | L1_basic | L1 | 015 | # NAND Gate
**Level**: 1 (Basic Combinational Logic)
**Category**: basic_gates
## Problem Description
Implement a 2-input NAND gate
## Module Interface
```verilog
module nand_gate(
input a, input b,
output y
);
```
## Specifications
**Inputs:**
- `a` (1-bit): Input signal
- `b` (1-bit): Input signal
**O... | problem_id: '015'
title: NAND Gate
level: 1
category: basic_gates
description: Implement a 2-input NAND gate
module_name: nand_gate
ports:
a:
direction: input
width: 1
b:
direction: input
width: 1
y:
direction: output
width: 1
testbench_file: testbench.v
timeout_compile: 10
timeout_simulat... | `timescale 1ns/1ps
module tb_nand_gate;
reg a;
reg b;
wire y;
// Instantiate the module under test
nand_gate uut (
.a(a),
.b(b),
.y(y)
);
integer pass_count = 0;
integer fail_count = 0;
initial begin
$display("Testing nand_gate...");
// T... |
016_nor_gate | bundles/L1_basic/016_nor_gate | NOR Gate | L1_basic | L1 | 016 | # NOR Gate
**Level**: 1 (Basic Combinational Logic)
**Category**: basic_gates
## Problem Description
Implement a 2-input NOR gate
## Module Interface
```verilog
module nor_gate(
input a, input b,
output y
);
```
## Specifications
**Inputs:**
- `a` (1-bit): Input signal
- `b` (1-bit): Input signal
**Outp... | problem_id: '016'
title: NOR Gate
level: 1
category: basic_gates
description: Implement a 2-input NOR gate
module_name: nor_gate
ports:
a:
direction: input
width: 1
b:
direction: input
width: 1
y:
direction: output
width: 1
testbench_file: testbench.v
timeout_compile: 10
timeout_simulate: ... | `timescale 1ns/1ps
module tb_nor_gate;
reg a;
reg b;
wire y;
// Instantiate the module under test
nor_gate uut (
.a(a),
.b(b),
.y(y)
);
integer pass_count = 0;
integer fail_count = 0;
initial begin
$display("Testing nor_gate...");
// Test... |
017_xnor_gate | bundles/L1_basic/017_xnor_gate | XNOR Gate | L1_basic | L1 | 017 | # XNOR Gate
**Level**: 1 (Basic Combinational Logic)
**Category**: basic_gates
## Problem Description
Implement a 2-input XNOR gate
## Module Interface
```verilog
module xnor_gate(
input a, input b,
output y
);
```
## Specifications
**Inputs:**
- `a` (1-bit): Input signal
- `b` (1-bit): Input signal
**O... | problem_id: '017'
title: XNOR Gate
level: 1
category: basic_gates
description: Implement a 2-input XNOR gate
module_name: xnor_gate
ports:
a:
direction: input
width: 1
b:
direction: input
width: 1
y:
direction: output
width: 1
testbench_file: testbench.v
timeout_compile: 10
timeout_simulat... | `timescale 1ns/1ps
module tb_xnor_gate;
reg a;
reg b;
wire y;
// Instantiate the module under test
xnor_gate uut (
.a(a),
.b(b),
.y(y)
);
integer pass_count = 0;
integer fail_count = 0;
initial begin
$display("Testing xnor_gate...");
// T... |
018_and3_gate | bundles/L1_basic/018_and3_gate | 3-input AND Gate | L1_basic | L1 | 018 | # 3-input AND Gate
**Level**: 1 (Basic Combinational Logic)
**Category**: basic_gates
## Problem Description
Implement a 3-input AND gate
## Module Interface
```verilog
module and3_gate(
input a, input b, input c,
output y
);
```
## Specifications
**Inputs:**
- `a` (1-bit): Input signal
- `b` (1-bit): In... | problem_id: 018
title: 3-input AND Gate
level: 1
category: basic_gates
description: Implement a 3-input AND gate
module_name: and3_gate
ports:
a:
direction: input
width: 1
b:
direction: input
width: 1
c:
direction: input
width: 1
y:
direction: output
width: 1
testbench_file: test... | `timescale 1ns/1ps
module tb_and3_gate;
reg a;
reg b;
reg c;
wire y;
// Instantiate the module under test
and3_gate uut (
.a(a),
.b(b),
.c(c),
.y(y)
);
integer pass_count = 0;
integer fail_count = 0;
initial begin
$display("Testing and... |
019_or3_gate | bundles/L1_basic/019_or3_gate | 3-input OR Gate | L1_basic | L1 | 019 | # 3-input OR Gate
**Level**: 1 (Basic Combinational Logic)
**Category**: basic_gates
## Problem Description
Implement a 3-input OR gate
## Module Interface
```verilog
module or3_gate(
input a, input b, input c,
output y
);
```
## Specifications
**Inputs:**
- `a` (1-bit): Input signal
- `b` (1-bit): Input... | problem_id: 019
title: 3-input OR Gate
level: 1
category: basic_gates
description: Implement a 3-input OR gate
module_name: or3_gate
ports:
a:
direction: input
width: 1
b:
direction: input
width: 1
c:
direction: input
width: 1
y:
direction: output
width: 1
testbench_file: testben... | `timescale 1ns/1ps
module tb_or3_gate;
reg a;
reg b;
reg c;
wire y;
// Instantiate the module under test
or3_gate uut (
.a(a),
.b(b),
.c(c),
.y(y)
);
integer pass_count = 0;
integer fail_count = 0;
initial begin
$display("Testing or3_g... |
020_buffer | bundles/L1_basic/020_buffer | Buffer | L1_basic | L1 | 020 | # Buffer
**Level**: 1 (Basic Combinational Logic)
**Category**: basic_gates
## Problem Description
Implement a buffer (passes input to output)
## Module Interface
```verilog
module buffer(
input a,
output y
);
```
## Specifications
**Inputs:**
- `a` (1-bit): Input signal
**Outputs:**
- `y` (1-bit): Outp... | problem_id: '020'
title: Buffer
level: 1
category: basic_gates
description: Implement a buffer (passes input to output)
module_name: buffer
ports:
a:
direction: input
width: 1
y:
direction: output
width: 1
testbench_file: testbench.v
timeout_compile: 10
timeout_simulate: 30
require_synthesis: false
... | `timescale 1ns/1ps
module tb_buffer;
reg a;
wire y;
// Instantiate the module under test
buffer uut (
.a(a),
.y(y)
);
integer pass_count = 0;
integer fail_count = 0;
initial begin
$display("Testing buffer...");
// Test 1
a = 1'b0; #10;
... |
021_bitwise_and | bundles/L1_basic/021_bitwise_and | 8-bit Bitwise AND | L1_basic | L1 | 021 | # 8-bit Bitwise AND
**Level**: 1 (Basic Combinational Logic)
**Category**: multi_bit
## Problem Description
8-bit bitwise AND operation
## Module Interface
```verilog
module bitwise_and(
input [7:0] a, input [7:0] b,
output [7:0] y
);
```
## Specifications
**Inputs:**
- `a` (8-bit): Input value
- `b` (8-... | problem_id: '021'
title: 8-bit Bitwise AND
level: 1
category: multi_bit
description: 8-bit bitwise AND operation
module_name: bitwise_and
ports:
a:
direction: input
width: 8
b:
direction: input
width: 8
y:
direction: output
width: 8
testbench_file: testbench.v
timeout_compile: 10
timeout_s... | `timescale 1ns/1ps
module tb_bitwise_and;
reg [7:0] a;
reg [7:0] b;
wire [7:0] y;
// Instantiate the module under test
bitwise_and uut (
.a(a),
.b(b),
.y(y)
);
integer pass_count = 0;
integer fail_count = 0;
initial begin
$display("Testing bitwise... |
022_bitwise_or | bundles/L1_basic/022_bitwise_or | 8-bit Bitwise OR | L1_basic | L1 | 022 | # 8-bit Bitwise OR
**Level**: 1 (Basic Combinational Logic)
**Category**: multi_bit
## Problem Description
8-bit bitwise OR operation
## Module Interface
```verilog
module bitwise_or(
input [7:0] a, input [7:0] b,
output [7:0] y
);
```
## Specifications
**Inputs:**
- `a` (8-bit): Input value
- `b` (8-bit... | problem_id: '022'
title: 8-bit Bitwise OR
level: 1
category: multi_bit
description: 8-bit bitwise OR operation
module_name: bitwise_or
ports:
a:
direction: input
width: 8
b:
direction: input
width: 8
y:
direction: output
width: 8
testbench_file: testbench.v
timeout_compile: 10
timeout_simu... | `timescale 1ns/1ps
module tb_bitwise_or;
reg [7:0] a;
reg [7:0] b;
wire [7:0] y;
// Instantiate the module under test
bitwise_or uut (
.a(a),
.b(b),
.y(y)
);
integer pass_count = 0;
integer fail_count = 0;
initial begin
$display("Testing bitwise_o... |
023_bitwise_xor | bundles/L1_basic/023_bitwise_xor | 8-bit Bitwise XOR | L1_basic | L1 | 023 | # 8-bit Bitwise XOR
**Level**: 1 (Basic Combinational Logic)
**Category**: multi_bit
## Problem Description
8-bit bitwise XOR operation
## Module Interface
```verilog
module bitwise_xor(
input [7:0] a, input [7:0] b,
output [7:0] y
);
```
## Specifications
**Inputs:**
- `a` (8-bit): Input value
- `b` (8-... | problem_id: '023'
title: 8-bit Bitwise XOR
level: 1
category: multi_bit
description: 8-bit bitwise XOR operation
module_name: bitwise_xor
ports:
a:
direction: input
width: 8
b:
direction: input
width: 8
y:
direction: output
width: 8
testbench_file: testbench.v
timeout_compile: 10
timeout_s... | `timescale 1ns/1ps
module tb_bitwise_xor;
reg [7:0] a;
reg [7:0] b;
wire [7:0] y;
// Instantiate the module under test
bitwise_xor uut (
.a(a),
.b(b),
.y(y)
);
integer pass_count = 0;
integer fail_count = 0;
initial begin
$display("Testing bitwise... |
024_bitwise_not | bundles/L1_basic/024_bitwise_not | 8-bit Bitwise NOT | L1_basic | L1 | 024 | # 8-bit Bitwise NOT
**Level**: 1 (Basic Combinational Logic)
**Category**: multi_bit
## Problem Description
8-bit bitwise NOT operation
## Module Interface
```verilog
module bitwise_not(
input [7:0] a,
output [7:0] y
);
```
## Specifications
**Inputs:**
- `a` (8-bit): Input value
**Outputs:**
- `y` (8-b... | problem_id: '024'
title: 8-bit Bitwise NOT
level: 1
category: multi_bit
description: 8-bit bitwise NOT operation
module_name: bitwise_not
ports:
a:
direction: input
width: 8
y:
direction: output
width: 8
testbench_file: testbench.v
timeout_compile: 10
timeout_simulate: 30
require_synthesis: false
ch... | `timescale 1ns/1ps
module tb_bitwise_not;
reg [7:0] a;
wire [7:0] y;
// Instantiate the module under test
bitwise_not uut (
.a(a),
.y(y)
);
integer pass_count = 0;
integer fail_count = 0;
initial begin
$display("Testing bitwise_not...");
// Test 1
... |
025_equal_comparator | bundles/L1_basic/025_equal_comparator | 8-bit Equality Comparator | L1_basic | L1 | 025 | # 8-bit Equality Comparator
**Level**: 1 (Basic Combinational Logic)
**Category**: multi_bit
## Problem Description
Check if two 8-bit values are equal
## Module Interface
```verilog
module equal_comparator(
input [7:0] a, input [7:0] b,
output eq
);
```
## Specifications
**Inputs:**
- `a` (8-bit): Input... | problem_id: '025'
title: 8-bit Equality Comparator
level: 1
category: multi_bit
description: Check if two 8-bit values are equal
module_name: equal_comparator
ports:
a:
direction: input
width: 8
b:
direction: input
width: 8
eq:
direction: output
width: 1
testbench_file: testbench.v
timeout... | `timescale 1ns/1ps
module tb_equal_comparator;
reg [7:0] a;
reg [7:0] b;
wire eq;
// Instantiate the module under test
equal_comparator uut (
.a(a),
.b(b),
.eq(eq)
);
integer pass_count = 0;
integer fail_count = 0;
initial begin
$display("Testing ... |
VeriScope
VeriScope evaluates first-pass Verilog generation on 568 tasks, from combinational logic to system-level RTL designs. For each task, a model receives a natural-language brief and produces a single RTL draft. The evaluation harness checks that draft with the public testbench.
Load the benchmark
from datasets import load_dataset
tasks = load_dataset("Multilingual-Multimodal-NLP/VeriScope", split="test")
print(tasks[0]["problem"])
Each row contains the task brief (problem), the module and interface configuration (config_yaml), and the evaluation harness (testbench). These text fields preserve the original public bundle contents. Use bundle_relpath to match a row to the original directory. The release also supplies problem_id, evaluation_problem_id, and evaluation_title.
For paper results, group by evaluated_level. L1 contains 233 tasks, L2 contains 134, L3 contains 106, L4 contains 92, and L5 contains 3. The release_level field records the original directory grouping.
Source and attribution
The JSONL test split repackages Harvard Dataverse V2. The 15 original release files, including the bundle archive, tier mapping, original data card, license and provenance notes, are available under upstream/. The dataset is distributed under CC BY 4.0.
Wei Zhang, Jian Yang, Jiajun Wu, Junhang Cheng, Chufan He, Yihang Lou, and Xianglong Liu (2026). VeriScope. Harvard Dataverse, Version 2. Dataset DOI.
Evaluation code and reproduction instructions · NeurIPS paper · Dataset license
Paper: VeriScope: Measuring Verification-Ready Verilog Artifacts (arXiv:2612.01356)
- Downloads last month
- 48