Dataset Viewer
Auto-converted to Parquet Duplicate
circuit_id
int64
source_node
string
circuit_hash
string
topic
string
bit_width
int32
prompt
string
reasoning_cot
string
verilog_rtl
string
assistant_response
string
testbench
string
simulation_trace
string
hardware_metrics
string
verified_clean
bool
1
colab
34a7113826fb6683
Combinational_ALU_Datapath
12
Design a synthesizable 12-bit combinational Arithmetic Logic Unit (ALU) named 'top_module' with operand inputs 'a' [11:0], 'b' [11:0], and 3-bit operation selector 'opcode' [2:0]. The module must compute 'result' [11:0] across 8 distinct arithmetic/bitwise operations (with hardware constants 0x1c8, 0x44, and shift 2) a...
<think> 1. Specification & Interface Analysis: - Target Domain: Combinational_ALU_Datapath (12-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) with...
module top_module ( input wire [11:0] a, input wire [11:0] b, input wire [2:0] opcode, output reg [11:0] result, output wire zero_flag, output wire parity_flag ); always @(*) begin case (opcode) 3'b000: result = a + b + 12'h1c8; 3'b001: result = (a << 2) |...
<think> 1. Specification & Interface Analysis: - Target Domain: Combinational_ALU_Datapath (12-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) with...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg [11:0] a, b; reg [2:0] op; wire [11:0] res; wire zf, pf; integer i; top_module uut (.a(a), .b(b), .opcode(op), .result(res), .zero_flag(zf), .parity_flag(pf)); initial begin a = 12'hd28; b = 12'hf70; for (i=0; i<8;...
op=0 a=d28 b=f70 res=e60 z=0 p=1 op=1 a=d28 b=f70 res=7fc z=0 p=1 op=2 a=d28 b=f70 res=d74 z=0 p=1 op=3 a=d28 b=f70 res=fbc z=0 p=1 op=4 a=d28 b=f70 res=248 z=0 p=1 op=5 a=d28 b=f70 res=da7 z=0 p=0 op=6 a=d28 b=f70 res=dd0 z=0 p=0 op=7 a=d28 b=f70 res=258 z=0 p=0
{"clocked": false, "est_flip_flops": 0, "est_lut_gates": 168, "pipeline_stages": 0}
true
3
colab
ed8992b8ba344663
Crypto_LFSR_CRC_Engine
12
Design a 12-bit Galois Linear Feedback Shift Register (LFSR) and cyclic stream scrambler 'top_module' with characteristic polynomial tap mask 0x4b9, synchronous reset seed 0x93e, enable 'en', serial input bit 'din', and state vector output 'lfsr_out' [11:0].
<think> 1. Specification & Interface Analysis: - Target Domain: Crypto_LFSR_CRC_Engine (12-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with determini...
module top_module ( input wire clk, input wire rst, input wire en, input wire din, output reg [11:0] lfsr_out ); wire fb = lfsr_out[11] ^ din; always @(posedge clk) begin if (rst) begin lfsr_out <= 12'h93e; end else if (en) begin if (fb) ...
<think> 1. Specification & Interface Analysis: - Target Domain: Crypto_LFSR_CRC_Engine (12-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with determini...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg rst, en, din; wire [11:0] out; integer b; top_module uut (.clk(clk), .rst(rst), .en(en), .din(din), .lfsr_out(out)); initial begin rst=1; en=0; din=0; #12; rst=0; en=1; for (b=0; b<8; b=b+1) begin din = (70...
din=0 lfsr=6c5 din=1 lfsr=933 din=1 lfsr=266 din=0 lfsr=4cc din=0 lfsr=998 din=0 lfsr=789 din=1 lfsr=bab din=0 lfsr=3ef
{"clocked": true, "est_flip_flops": 12, "est_lut_gates": 24, "pipeline_stages": 1}
true
5
colab
07efea224b56e447
Finite_State_Machine_Controller
64
Design a synchronous 5-state Moore Finite State Machine (FSM) controller 'top_module' with active-high reset to state 0, transition control input 'req', 3-bit state register 'state', and 4-bit decoded microcode output 'ctrl_out'.
<think> 1. Specification & Interface Analysis: - Target Domain: Finite_State_Machine_Controller (64-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with ...
module top_module ( input wire clk, input wire rst, input wire req, output reg [2:0] state, output reg [3:0] ctrl_out ); reg [2:0] next_state; always @(posedge clk) begin if (rst) state <= 3'd0; else state <= next_state; end always @(*) begin next_state =...
<think> 1. Specification & Interface Analysis: - Target Domain: Finite_State_Machine_Controller (64-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with ...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg rst, req; wire [2:0] st; wire [3:0] ctrl; integer k; top_module uut (.clk(clk), .rst(rst), .req(req), .state(st), .ctrl_out(ctrl)); initial begin rst=1; req=0; #12; rst=0; for (k=0; k<8; k=k+1) begin req = ...
req=1 st=2 ctrl=9 req=0 st=0 ctrl=7 req=1 st=2 ctrl=9 req=1 st=3 ctrl=7 req=0 st=0 ctrl=7 req=1 st=2 ctrl=9 req=1 st=3 ctrl=7 req=1 st=1 ctrl=d
{"clocked": true, "est_flip_flops": 3, "est_lut_gates": 25, "pipeline_stages": 1}
true
7
colab
f7ec71f3a3889aef
AXI_Stream_Handshake_Slice
16
Design a 16-bit AMBA AXI4-Stream pipeline register slice 'top_module' with slave interface (s_valid, s_ready, s_data) and master interface (m_valid, m_ready, m_data) that performs inline affine encryption `(s_data ^ 0x7a38) + 0xf` without bubble cycles.
<think> 1. Specification & Interface Analysis: - Target Domain: AXI_Stream_Handshake_Slice (16-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with deter...
module top_module ( input wire clk, input wire rst, input wire s_valid, output wire s_ready, input wire [15:0] s_data, output reg m_valid, input wire m_ready, output reg [15:0] m_data ); assign s_ready = ~m_valid | m_ready; always @(posedge clk) begin if (rst) begi...
<think> 1. Specification & Interface Analysis: - Target Domain: AXI_Stream_Handshake_Slice (16-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with deter...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg rst, sv, mr; reg [15:0] sd; wire sr, mv; wire [15:0] md; top_module uut (.clk(clk), .rst(rst), .s_valid(sv), .s_ready(sr), .s_data(sd), .m_valid(mv), .m_ready(mr), .m_data(md)); initial begin rst=1; sv=0; mr=1; sd=1; #12; rst=...
sr=0 mv=1 md=7a39 sr=1 mv=1 md=7a2a sr=0 mv=1 md=7a2a sr=1 mv=1 md=7a8c sr=0 mv=1 md=7a8c sr=1 mv=1 md=7a6e
{"clocked": true, "est_flip_flops": 17, "est_lut_gates": 48, "pipeline_stages": 1}
true
9
colab
5af3261f09b76a7e
BitManipulation_BarrelRotator_Popcount
24
Design a 24-bit combinational Barrel Rotator and Population Count unit 'top_module' with input 'din' [23:0], 3-bit rotation amount 'shamt', direction 'left_right', input pre-mask 0x13d1, rotated output 'dout' [23:0], and 7-bit Hamming weight 'popcount'.
<think> 1. Specification & Interface Analysis: - Target Domain: BitManipulation_BarrelRotator_Popcount (24-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always...
module top_module ( input wire [23:0] din, input wire [2:0] shamt, input wire left_right, output reg [23:0] dout, output wire [6:0] popcount ); wire [23:0] staged = din ^ 24'h13d1; always @(*) begin if (left_right) dout = (staged << shamt) | (staged >> (24 - shamt)); ...
<think> 1. Specification & Interface Analysis: - Target Domain: BitManipulation_BarrelRotator_Popcount (24-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg [23:0] din; reg [2:0] sh; reg lr; wire [23:0] dout; wire [6:0] pop; integer s; top_module uut (.din(din), .shamt(sh), .left_right(lr), .dout(dout), .popcount(pop)); initial begin din = 24'haedb0; for (s=0; s<6; s=s...
sh=0 lr=0 dout=afe61 pop=11 sh=1 lr=1 dout=15fcc2 pop=11 sh=2 lr=0 dout=42bf98 pop=11 sh=3 lr=1 dout=57f308 pop=11 sh=4 lr=0 dout=10afe6 pop=11 sh=5 lr=1 dout=5fcc21 pop=11
{"clocked": false, "est_flip_flops": 0, "est_lut_gates": 192, "pipeline_stages": 0}
true
11
colab
b4aa8ac3101a7246
Arbitration_Priority_Router
64
Design a 4-port 64-bit Priority Bus Arbiter and Router 'top_module' with 4-bit request vector 'req', four 64-bit data channels (d0, d1, d2, d3), one-hot grant output 'grant' [3:0], and routed data output 'dout' [63:0] with channel tag offsets 0xb3/0xa1.
<think> 1. Specification & Interface Analysis: - Target Domain: Arbitration_Priority_Router (64-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) wit...
module top_module ( input wire [3:0] req, input wire [63:0] d0, input wire [63:0] d1, input wire [63:0] d2, input wire [63:0] d3, output reg [3:0] grant, output reg [63:0] dout ); always @(*) begin if (req[3]) begin grant = 4'b1000; dout = d3 ^ 64'...
<think> 1. Specification & Interface Analysis: - Target Domain: Arbitration_Priority_Router (64-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) wit...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg [3:0] rq; reg [63:0] d0, d1, d2, d3; wire [3:0] gr; wire [63:0] do; integer q; top_module uut (.req(rq), .d0(d0), .d1(d1), .d2(d2), .d3(d3), .grant(gr), .dout(do)); initial begin d0=64'h42f81e7dc073ae7b; d1=64'hf9e3a63fde0...
req=0001 grant=0001 dout=42f81e7dc073af2e req=0010 grant=0010 dout=f9e3a63fde03b21c req=0011 grant=0010 dout=f9e3a63fde03b21c req=0100 grant=0100 dout=b1eafc9c6f3af180 req=0101 grant=0100 dout=b1eafc9c6f3af180 req=0110 grant=0100 dout=b1eafc9c6f3af180 req=0111 grant=0100 dout=b1eafc9c6f3af180 req=1000 grant=1000 dout=4...
{"clocked": false, "est_flip_flops": 0, "est_lut_gates": 396, "pipeline_stages": 0}
true
13
colab
c07edf827a72e217
DSP_FIR_MovingAverage_Filter
48
Design a synchronous 48-bit 3-Tap Finite Impulse Response (FIR) digital filter 'top_module' with filter coefficients h0=6, h1=3, h2=1, sample input 'x_in' [47:0], and filtered output 'y_out' [51:0].
<think> 1. Specification & Interface Analysis: - Target Domain: DSP_FIR_MovingAverage_Filter (48-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with det...
module top_module ( input wire clk, input wire rst, input wire [47:0] x_in, output reg [51:0] y_out ); reg [47:0] x_d1, x_d2; always @(posedge clk) begin if (rst) begin x_d1 <= 48'h0; x_d2 <= 48'h0; y_out <= 52'h0; end else begin ...
<think> 1. Specification & Interface Analysis: - Target Domain: DSP_FIR_MovingAverage_Filter (48-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with det...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg rst; reg [47:0] xin; wire [51:0] yout; integer f; top_module uut (.clk(clk), .rst(rst), .x_in(xin), .y_out(yout)); initial begin rst=1; xin=0; #12; rst=0; for (f=1; f<=6; f=f+1) begin xin = f * 4; ...
xin=4 yout=18 xin=8 yout=3c xin=c yout=64 xin=10 yout=8c xin=14 yout=b4 xin=18 yout=dc
{"clocked": true, "est_flip_flops": 148, "est_lut_gates": 576, "pipeline_stages": 2}
true
15
colab
bef3a2b5e1792499
Combinational_ALU_Datapath
24
Design a synthesizable 24-bit combinational Arithmetic Logic Unit (ALU) named 'top_module' with operand inputs 'a' [23:0], 'b' [23:0], and 3-bit operation selector 'opcode' [2:0]. The module must compute 'result' [23:0] across 8 distinct arithmetic/bitwise operations (with hardware constants 0xa3, 0x25, and shift 3) an...
<think> 1. Specification & Interface Analysis: - Target Domain: Combinational_ALU_Datapath (24-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) with...
module top_module ( input wire [23:0] a, input wire [23:0] b, input wire [2:0] opcode, output reg [23:0] result, output wire zero_flag, output wire parity_flag ); always @(*) begin case (opcode) 3'b000: result = (a & ~b) | (~a & b); 3'b001: result = a ^ b ...
<think> 1. Specification & Interface Analysis: - Target Domain: Combinational_ALU_Datapath (24-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) with...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg [23:0] a, b; reg [2:0] op; wire [23:0] res; wire zf, pf; integer i; top_module uut (.a(a), .b(b), .opcode(op), .result(res), .zero_flag(zf), .parity_flag(pf)); initial begin a = 24'h6c8d28; b = 24'h660f02; for (i=0...
op=0 a=6c8d28 b=660f02 res=a822a z=0 p=1 op=1 a=6c8d28 b=660f02 res=a8289 z=0 p=1 op=2 a=6c8d28 b=660f02 res=67e26 z=0 p=1 op=3 a=6c8d28 b=660f02 res=67e01 z=0 p=1 op=4 a=6c8d28 b=660f02 res=6ce9e0 z=0 p=0 op=5 a=6c8d28 b=660f02 res=6e8f4f z=0 p=1 op=6 a=6c8d28 b=660f02 res=d29ccd z=0 p=1 op=7 a=6c8d28 b=660f02 res=38a...
{"clocked": false, "est_flip_flops": 0, "est_lut_gates": 336, "pipeline_stages": 0}
true
17
colab
2e9b291998f0ba35
Finite_State_Machine_Controller
48
Design a synchronous 8-state Moore Finite State Machine (FSM) controller 'top_module' with active-high reset to state 0, transition control input 'req', 3-bit state register 'state', and 4-bit decoded microcode output 'ctrl_out'.
<think> 1. Specification & Interface Analysis: - Target Domain: Finite_State_Machine_Controller (48-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with ...
module top_module ( input wire clk, input wire rst, input wire req, output reg [2:0] state, output reg [3:0] ctrl_out ); reg [2:0] next_state; always @(posedge clk) begin if (rst) state <= 3'd0; else state <= next_state; end always @(*) begin next_state =...
<think> 1. Specification & Interface Analysis: - Target Domain: Finite_State_Machine_Controller (48-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with ...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg rst, req; wire [2:0] st; wire [3:0] ctrl; integer k; top_module uut (.clk(clk), .rst(rst), .req(req), .state(st), .ctrl_out(ctrl)); initial begin rst=1; req=0; #12; rst=0; for (k=0; k<8; k=k+1) begin req = ...
req=0 st=4 ctrl=4 req=0 st=1 ctrl=2 req=0 st=7 ctrl=1 req=1 st=5 ctrl=f req=0 st=2 ctrl=f req=1 st=1 ctrl=2 req=1 st=0 ctrl=1 req=0 st=4 ctrl=4
{"clocked": true, "est_flip_flops": 3, "est_lut_gates": 40, "pipeline_stages": 1}
true
19
colab
d7348bcf874d5026
AXI_Stream_Handshake_Slice
48
Design a 48-bit AMBA AXI4-Stream pipeline register slice 'top_module' with slave interface (s_valid, s_ready, s_data) and master interface (m_valid, m_ready, m_data) that performs inline affine encryption `(s_data ^ 0x321b) + 0x6` without bubble cycles.
<think> 1. Specification & Interface Analysis: - Target Domain: AXI_Stream_Handshake_Slice (48-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with deter...
module top_module ( input wire clk, input wire rst, input wire s_valid, output wire s_ready, input wire [47:0] s_data, output reg m_valid, input wire m_ready, output reg [47:0] m_data ); assign s_ready = ~m_valid | m_ready; always @(posedge clk) begin if (rst) begi...
<think> 1. Specification & Interface Analysis: - Target Domain: AXI_Stream_Handshake_Slice (48-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with deter...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg rst, sv, mr; reg [47:0] sd; wire sr, mv; wire [47:0] md; top_module uut (.clk(clk), .rst(rst), .s_valid(sv), .s_ready(sr), .s_data(sd), .m_valid(mv), .m_ready(mr), .m_data(md)); initial begin rst=1; sv=0; mr=1; sd=1; #12; rst=...
sr=0 mv=1 md=3215 sr=1 mv=1 md=3242 sr=0 mv=1 md=3242 sr=1 mv=1 md=325c sr=0 mv=1 md=325c sr=1 mv=1 md=326e
{"clocked": true, "est_flip_flops": 49, "est_lut_gates": 144, "pipeline_stages": 1}
true
21
colab
3313309cdf9368d0
Arbitration_Priority_Router
48
Design a 4-port 48-bit Priority Bus Arbiter and Router 'top_module' with 4-bit request vector 'req', four 48-bit data channels (d0, d1, d2, d3), one-hot grant output 'grant' [3:0], and routed data output 'dout' [47:0] with channel tag offsets 0x8d/0xc8.
<think> 1. Specification & Interface Analysis: - Target Domain: Arbitration_Priority_Router (48-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) wit...
module top_module ( input wire [3:0] req, input wire [47:0] d0, input wire [47:0] d1, input wire [47:0] d2, input wire [47:0] d3, output reg [3:0] grant, output reg [47:0] dout ); always @(*) begin if (req[3]) begin grant = 4'b1000; dout = d3 ^ 48'...
<think> 1. Specification & Interface Analysis: - Target Domain: Arbitration_Priority_Router (48-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) wit...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg [3:0] rq; reg [47:0] d0, d1, d2, d3; wire [3:0] gr; wire [47:0] do; integer q; top_module uut (.req(rq), .d0(d0), .d1(d1), .d2(d2), .d3(d3), .grant(gr), .dout(do)); initial begin d0=48'h72902f9d5f05; d1=48'h1e9117983d77; d...
req=0001 grant=0001 dout=72902f9d5f92 req=0010 grant=0010 dout=1e9117983dbf req=0011 grant=0010 dout=1e9117983dbf req=0100 grant=0100 dout=b9e8b971b157 req=0101 grant=0100 dout=b9e8b971b157 req=0110 grant=0100 dout=b9e8b971b157 req=0111 grant=0100 dout=b9e8b971b157 req=1000 grant=1000 dout=f2daf1c432ee
{"clocked": false, "est_flip_flops": 0, "est_lut_gates": 300, "pipeline_stages": 0}
true
23
colab
25afe5fb2e733be8
DSP_FIR_MovingAverage_Filter
48
Design a synchronous 48-bit 3-Tap Finite Impulse Response (FIR) digital filter 'top_module' with filter coefficients h0=5, h1=5, h2=2, sample input 'x_in' [47:0], and filtered output 'y_out' [51:0].
<think> 1. Specification & Interface Analysis: - Target Domain: DSP_FIR_MovingAverage_Filter (48-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with det...
module top_module ( input wire clk, input wire rst, input wire [47:0] x_in, output reg [51:0] y_out ); reg [47:0] x_d1, x_d2; always @(posedge clk) begin if (rst) begin x_d1 <= 48'h0; x_d2 <= 48'h0; y_out <= 52'h0; end else begin ...
<think> 1. Specification & Interface Analysis: - Target Domain: DSP_FIR_MovingAverage_Filter (48-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with det...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg rst; reg [47:0] xin; wire [51:0] yout; integer f; top_module uut (.clk(clk), .rst(rst), .x_in(xin), .y_out(yout)); initial begin rst=1; xin=0; #12; rst=0; for (f=1; f<=6; f=f+1) begin xin = f * 3; ...
xin=3 yout=f xin=6 yout=2d xin=9 yout=51 xin=c yout=75 xin=f yout=99 xin=12 yout=bd
{"clocked": true, "est_flip_flops": 148, "est_lut_gates": 576, "pipeline_stages": 2}
true
25
colab
951455ab2901ff6d
Combinational_ALU_Datapath
20
Design a synthesizable 20-bit combinational Arithmetic Logic Unit (ALU) named 'top_module' with operand inputs 'a' [19:0], 'b' [19:0], and 3-bit operation selector 'opcode' [2:0]. The module must compute 'result' [19:0] across 8 distinct arithmetic/bitwise operations (with hardware constants 0x25, 0x5a, and shift 5) an...
<think> 1. Specification & Interface Analysis: - Target Domain: Combinational_ALU_Datapath (20-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) with...
module top_module ( input wire [19:0] a, input wire [19:0] b, input wire [2:0] opcode, output reg [19:0] result, output wire zero_flag, output wire parity_flag ); always @(*) begin case (opcode) 3'b000: result = (a > b) ? (a - b) : (b - a); 3'b001: result ...
<think> 1. Specification & Interface Analysis: - Target Domain: Combinational_ALU_Datapath (20-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) with...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg [19:0] a, b; reg [2:0] op; wire [19:0] res; wire zf, pf; integer i; top_module uut (.a(a), .b(b), .opcode(op), .result(res), .zero_flag(zf), .parity_flag(pf)); initial begin a = 20'h2f65a; b = 20'h9ad43; for (i=0; ...
op=0 a=2f65a b=9ad43 res=6b6e9 z=0 p=0 op=1 a=2f65a b=9ad43 res=a467 z=0 p=0 op=2 a=2f65a b=9ad43 res=65105 z=0 p=1 op=3 a=2f65a b=9ad43 res=ca3c2 z=0 p=1 op=4 a=2f65a b=9ad43 res=bffb5 z=0 p=0 op=5 a=2f65a b=9ad43 res=b5b3c z=0 p=0 op=6 a=2f65a b=9ad43 res=4a4e6 z=0 p=1 op=7 a=2f65a b=9ad43 res=b5b19 z=0 p=1
{"clocked": false, "est_flip_flops": 0, "est_lut_gates": 280, "pipeline_stages": 0}
true
27
colab
91841f61dd3390c7
Crypto_LFSR_CRC_Engine
24
Design a 24-bit Galois Linear Feedback Shift Register (LFSR) and cyclic stream scrambler 'top_module' with characteristic polynomial tap mask 0xb3f, synchronous reset seed 0x13f7, enable 'en', serial input bit 'din', and state vector output 'lfsr_out' [23:0].
<think> 1. Specification & Interface Analysis: - Target Domain: Crypto_LFSR_CRC_Engine (24-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with determini...
module top_module ( input wire clk, input wire rst, input wire en, input wire din, output reg [23:0] lfsr_out ); wire fb = lfsr_out[23] ^ din; always @(posedge clk) begin if (rst) begin lfsr_out <= 24'h13f7; end else if (en) begin if (fb) ...
<think> 1. Specification & Interface Analysis: - Target Domain: Crypto_LFSR_CRC_Engine (24-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with determini...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg rst, en, din; wire [23:0] out; integer b; top_module uut (.clk(clk), .rst(rst), .en(en), .din(din), .lfsr_out(out)); initial begin rst=1; en=0; din=0; #12; rst=0; en=1; for (b=0; b<8; b=b+1) begin din = (17...
din=1 lfsr=2cd1 din=0 lfsr=59a2 din=0 lfsr=b344 din=0 lfsr=16688 din=1 lfsr=2c62f din=0 lfsr=58c5e din=0 lfsr=b18bc din=0 lfsr=163178
{"clocked": true, "est_flip_flops": 24, "est_lut_gates": 48, "pipeline_stages": 1}
true
29
colab
4dc18625edae7daf
Finite_State_Machine_Controller
48
Design a synchronous 8-state Moore Finite State Machine (FSM) controller 'top_module' with active-high reset to state 0, transition control input 'req', 3-bit state register 'state', and 4-bit decoded microcode output 'ctrl_out'.
<think> 1. Specification & Interface Analysis: - Target Domain: Finite_State_Machine_Controller (48-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with ...
module top_module ( input wire clk, input wire rst, input wire req, output reg [2:0] state, output reg [3:0] ctrl_out ); reg [2:0] next_state; always @(posedge clk) begin if (rst) state <= 3'd0; else state <= next_state; end always @(*) begin next_state =...
<think> 1. Specification & Interface Analysis: - Target Domain: Finite_State_Machine_Controller (48-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with ...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg rst, req; wire [2:0] st; wire [3:0] ctrl; integer k; top_module uut (.clk(clk), .rst(rst), .req(req), .state(st), .ctrl_out(ctrl)); initial begin rst=1; req=0; #12; rst=0; for (k=0; k<8; k=k+1) begin req = ...
req=0 st=4 ctrl=5 req=0 st=3 ctrl=f req=0 st=1 ctrl=3 req=1 st=2 ctrl=a req=0 st=7 ctrl=e req=1 st=3 ctrl=f req=1 st=1 ctrl=3 req=1 st=2 ctrl=a
{"clocked": true, "est_flip_flops": 3, "est_lut_gates": 40, "pipeline_stages": 1}
true
31
colab
c251f5f95b2b42af
Arbitration_Priority_Router
12
Design a 4-port 12-bit Priority Bus Arbiter and Router 'top_module' with 4-bit request vector 'req', four 12-bit data channels (d0, d1, d2, d3), one-hot grant output 'grant' [3:0], and routed data output 'dout' [11:0] with channel tag offsets 0x8f/0x8e.
<think> 1. Specification & Interface Analysis: - Target Domain: Arbitration_Priority_Router (12-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) wit...
module top_module ( input wire [3:0] req, input wire [11:0] d0, input wire [11:0] d1, input wire [11:0] d2, input wire [11:0] d3, output reg [3:0] grant, output reg [11:0] dout ); always @(*) begin if (req[3]) begin grant = 4'b1000; dout = d3 ^ 12'...
<think> 1. Specification & Interface Analysis: - Target Domain: Arbitration_Priority_Router (12-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) wit...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg [3:0] rq; reg [11:0] d0, d1, d2, d3; wire [3:0] gr; wire [11:0] do; integer q; top_module uut (.req(rq), .d0(d0), .d1(d1), .d2(d2), .d3(d3), .grant(gr), .dout(do)); initial begin d0=12'h629; d1=12'hee7; d2=12'hd8b; d3=12'h...
req=0001 grant=0001 dout=6b8 req=0010 grant=0010 dout=e69 req=0011 grant=0010 dout=e69 req=0100 grant=0100 dout=e19 req=0101 grant=0100 dout=e19 req=0110 grant=0100 dout=e19 req=0111 grant=0100 dout=e19 req=1000 grant=1000 dout=3d9
{"clocked": false, "est_flip_flops": 0, "est_lut_gates": 84, "pipeline_stages": 0}
true
33
colab
cb3e6afbf6ac86c3
DSP_FIR_MovingAverage_Filter
64
Design a synchronous 64-bit 3-Tap Finite Impulse Response (FIR) digital filter 'top_module' with filter coefficients h0=7, h1=2, h2=6, sample input 'x_in' [63:0], and filtered output 'y_out' [67:0].
<think> 1. Specification & Interface Analysis: - Target Domain: DSP_FIR_MovingAverage_Filter (64-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with det...
module top_module ( input wire clk, input wire rst, input wire [63:0] x_in, output reg [67:0] y_out ); reg [63:0] x_d1, x_d2; always @(posedge clk) begin if (rst) begin x_d1 <= 64'h0; x_d2 <= 64'h0; y_out <= 68'h0; end else begin ...
<think> 1. Specification & Interface Analysis: - Target Domain: DSP_FIR_MovingAverage_Filter (64-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with det...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg rst; reg [63:0] xin; wire [67:0] yout; integer f; top_module uut (.clk(clk), .rst(rst), .x_in(xin), .y_out(yout)); initial begin rst=1; xin=0; #12; rst=0; for (f=1; f<=6; f=f+1) begin xin = f * 5; ...
xin=5 yout=23 xin=a yout=50 xin=f yout=9b xin=14 yout=e6 xin=19 yout=131 xin=1e yout=17c
{"clocked": true, "est_flip_flops": 196, "est_lut_gates": 768, "pipeline_stages": 2}
true
35
colab
636c63b9fdd04e96
Combinational_ALU_Datapath
24
Design a synthesizable 24-bit combinational Arithmetic Logic Unit (ALU) named 'top_module' with operand inputs 'a' [23:0], 'b' [23:0], and 3-bit operation selector 'opcode' [2:0]. The module must compute 'result' [23:0] across 8 distinct arithmetic/bitwise operations (with hardware constants 0x15c, 0xec, and shift 4) a...
<think> 1. Specification & Interface Analysis: - Target Domain: Combinational_ALU_Datapath (24-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) with...
module top_module ( input wire [23:0] a, input wire [23:0] b, input wire [2:0] opcode, output reg [23:0] result, output wire zero_flag, output wire parity_flag ); always @(*) begin case (opcode) 3'b000: result = a + (b << 1) + 24'h15c; 3'b001: result = (a ...
<think> 1. Specification & Interface Analysis: - Target Domain: Combinational_ALU_Datapath (24-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) with...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg [23:0] a, b; reg [2:0] op; wire [23:0] res; wire zf, pf; integer i; top_module uut (.a(a), .b(b), .opcode(op), .result(res), .zero_flag(zf), .parity_flag(pf)); initial begin a = 24'h78b106; b = 24'h3f0c81; for (i=0...
op=0 a=78b106 b=3f0c81 res=f6cb64 z=0 p=0 op=1 a=78b106 b=3f0c81 res=47bd87 z=0 p=0 op=2 a=78b106 b=3f0c81 res=b7bee3 z=0 p=1 op=3 a=78b106 b=3f0c81 res=47bcdb z=0 p=1 op=4 a=78b106 b=3f0c81 res=7fbe73 z=0 p=0 op=5 a=78b106 b=3f0c81 res=b84278 z=0 p=0 op=6 a=78b106 b=3f0c81 res=8bf0e8 z=0 p=0 op=7 a=78b106 b=3f0c81 res...
{"clocked": false, "est_flip_flops": 0, "est_lut_gates": 336, "pipeline_stages": 0}
true
37
colab
7a4e58cc970d2a43
Finite_State_Machine_Controller
32
Design a synchronous 7-state Moore Finite State Machine (FSM) controller 'top_module' with active-high reset to state 0, transition control input 'req', 3-bit state register 'state', and 4-bit decoded microcode output 'ctrl_out'.
<think> 1. Specification & Interface Analysis: - Target Domain: Finite_State_Machine_Controller (32-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with ...
module top_module ( input wire clk, input wire rst, input wire req, output reg [2:0] state, output reg [3:0] ctrl_out ); reg [2:0] next_state; always @(posedge clk) begin if (rst) state <= 3'd0; else state <= next_state; end always @(*) begin next_state =...
<think> 1. Specification & Interface Analysis: - Target Domain: Finite_State_Machine_Controller (32-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with ...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg rst, req; wire [2:0] st; wire [3:0] ctrl; integer k; top_module uut (.clk(clk), .rst(rst), .req(req), .state(st), .ctrl_out(ctrl)); initial begin rst=1; req=0; #12; rst=0; for (k=0; k<8; k=k+1) begin req = ...
req=1 st=2 ctrl=3 req=0 st=3 ctrl=a req=0 st=0 ctrl=d req=1 st=2 ctrl=3 req=0 st=3 ctrl=a req=0 st=0 ctrl=d req=1 st=2 ctrl=3 req=0 st=3 ctrl=a
{"clocked": true, "est_flip_flops": 3, "est_lut_gates": 35, "pipeline_stages": 1}
true
39
colab
96522ade267584d2
AXI_Stream_Handshake_Slice
24
Design a 24-bit AMBA AXI4-Stream pipeline register slice 'top_module' with slave interface (s_valid, s_ready, s_data) and master interface (m_valid, m_ready, m_data) that performs inline affine encryption `(s_data ^ 0x6994) + 0x14` without bubble cycles.
<think> 1. Specification & Interface Analysis: - Target Domain: AXI_Stream_Handshake_Slice (24-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with deter...
module top_module ( input wire clk, input wire rst, input wire s_valid, output wire s_ready, input wire [23:0] s_data, output reg m_valid, input wire m_ready, output reg [23:0] m_data ); assign s_ready = ~m_valid | m_ready; always @(posedge clk) begin if (rst) begi...
<think> 1. Specification & Interface Analysis: - Target Domain: AXI_Stream_Handshake_Slice (24-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with deter...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg rst, sv, mr; reg [23:0] sd; wire sr, mv; wire [23:0] md; top_module uut (.clk(clk), .rst(rst), .s_valid(sv), .s_ready(sr), .s_data(sd), .m_valid(mv), .m_ready(mr), .m_data(md)); initial begin rst=1; sv=0; mr=1; sd=1; #12; rst=...
sr=0 mv=1 md=6995 sr=1 mv=1 md=69d1 sr=0 mv=1 md=69d1 sr=1 mv=1 md=69d9 sr=0 mv=1 md=69d9 sr=1 mv=1 md=6a01
{"clocked": true, "est_flip_flops": 25, "est_lut_gates": 72, "pipeline_stages": 1}
true
41
colab
46a242e2211af31a
BitManipulation_BarrelRotator_Popcount
64
Design a 64-bit combinational Barrel Rotator and Population Count unit 'top_module' with input 'din' [63:0], 3-bit rotation amount 'shamt', direction 'left_right', input pre-mask 0x169d, rotated output 'dout' [63:0], and 7-bit Hamming weight 'popcount'.
<think> 1. Specification & Interface Analysis: - Target Domain: BitManipulation_BarrelRotator_Popcount (64-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always...
module top_module ( input wire [63:0] din, input wire [2:0] shamt, input wire left_right, output reg [63:0] dout, output wire [6:0] popcount ); wire [63:0] staged = din ^ 64'h169d; always @(*) begin if (left_right) dout = (staged << shamt) | (staged >> (64 - shamt)); ...
<think> 1. Specification & Interface Analysis: - Target Domain: BitManipulation_BarrelRotator_Popcount (64-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg [63:0] din; reg [2:0] sh; reg lr; wire [63:0] dout; wire [6:0] pop; integer s; top_module uut (.din(din), .shamt(sh), .left_right(lr), .dout(dout), .popcount(pop)); initial begin din = 64'h3db999146c7114d2; for (s=...
sh=0 lr=0 dout=3db999146c71024f pop=30 sh=1 lr=1 dout=7b733228d8e2049e pop=30 sh=2 lr=0 dout=cf6e66451b1c4093 pop=30 sh=3 lr=1 dout=edccc8a363881279 pop=30 sh=4 lr=0 dout=f3db999146c71024 pop=30 sh=5 lr=1 dout=b733228d8e2049e7 pop=30
{"clocked": false, "est_flip_flops": 0, "est_lut_gates": 512, "pipeline_stages": 0}
true
43
colab
56ec33974199e08b
Arbitration_Priority_Router
32
Design a 4-port 32-bit Priority Bus Arbiter and Router 'top_module' with 4-bit request vector 'req', four 32-bit data channels (d0, d1, d2, d3), one-hot grant output 'grant' [3:0], and routed data output 'dout' [31:0] with channel tag offsets 0x98/0xff.
<think> 1. Specification & Interface Analysis: - Target Domain: Arbitration_Priority_Router (32-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) wit...
module top_module ( input wire [3:0] req, input wire [31:0] d0, input wire [31:0] d1, input wire [31:0] d2, input wire [31:0] d3, output reg [3:0] grant, output reg [31:0] dout ); always @(*) begin if (req[3]) begin grant = 4'b1000; dout = d3 ^ 32'...
<think> 1. Specification & Interface Analysis: - Target Domain: Arbitration_Priority_Router (32-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) wit...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg [3:0] rq; reg [31:0] d0, d1, d2, d3; wire [3:0] gr; wire [31:0] do; integer q; top_module uut (.req(rq), .d0(d0), .d1(d1), .d2(d2), .d3(d3), .grant(gr), .dout(do)); initial begin d0=32'h6d9b2436; d1=32'h8f3a88d1; d2=32'he6...
req=0001 grant=0001 dout=6d9b24ce req=0010 grant=0010 dout=8f3a882e req=0011 grant=0010 dout=8f3a882e req=0100 grant=0100 dout=e6b6bdbe req=0101 grant=0100 dout=e6b6bdbe req=0110 grant=0100 dout=e6b6bdbe req=0111 grant=0100 dout=e6b6bdbe req=1000 grant=1000 dout=fa19d4c7
{"clocked": false, "est_flip_flops": 0, "est_lut_gates": 204, "pipeline_stages": 0}
true
45
colab
d6649868954ff36a
DSP_FIR_MovingAverage_Filter
32
Design a synchronous 32-bit 3-Tap Finite Impulse Response (FIR) digital filter 'top_module' with filter coefficients h0=3, h1=5, h2=2, sample input 'x_in' [31:0], and filtered output 'y_out' [35:0].
<think> 1. Specification & Interface Analysis: - Target Domain: DSP_FIR_MovingAverage_Filter (32-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with det...
module top_module ( input wire clk, input wire rst, input wire [31:0] x_in, output reg [35:0] y_out ); reg [31:0] x_d1, x_d2; always @(posedge clk) begin if (rst) begin x_d1 <= 32'h0; x_d2 <= 32'h0; y_out <= 36'h0; end else begin ...
<think> 1. Specification & Interface Analysis: - Target Domain: DSP_FIR_MovingAverage_Filter (32-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with det...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg rst; reg [31:0] xin; wire [35:0] yout; integer f; top_module uut (.clk(clk), .rst(rst), .x_in(xin), .y_out(yout)); initial begin rst=1; xin=0; #12; rst=0; for (f=1; f<=6; f=f+1) begin xin = f * 8; ...
xin=8 yout=18 xin=10 yout=58 xin=18 yout=a8 xin=20 yout=f8 xin=28 yout=148 xin=30 yout=198
{"clocked": true, "est_flip_flops": 100, "est_lut_gates": 384, "pipeline_stages": 2}
true
47
colab
ff273a3c74978cc1
Combinational_ALU_Datapath
64
Design a synthesizable 64-bit combinational Arithmetic Logic Unit (ALU) named 'top_module' with operand inputs 'a' [63:0], 'b' [63:0], and 3-bit operation selector 'opcode' [2:0]. The module must compute 'result' [63:0] across 8 distinct arithmetic/bitwise operations (with hardware constants 0xaa, 0x17f, and shift 7) a...
<think> 1. Specification & Interface Analysis: - Target Domain: Combinational_ALU_Datapath (64-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) with...
module top_module ( input wire [63:0] a, input wire [63:0] b, input wire [2:0] opcode, output reg [63:0] result, output wire zero_flag, output wire parity_flag ); always @(*) begin case (opcode) 3'b000: result = a + (b << 1) + 64'haa; 3'b001: result = (a &...
<think> 1. Specification & Interface Analysis: - Target Domain: Combinational_ALU_Datapath (64-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) with...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg [63:0] a, b; reg [2:0] op; wire [63:0] res; wire zf, pf; integer i; top_module uut (.a(a), .b(b), .opcode(op), .result(res), .zero_flag(zf), .parity_flag(pf)); initial begin a = 64'hac8442536293b2e9; b = 64'h5f3ba99a44f783...
op=0 a=ac8442536293b2e9 b=5f3ba99a44f7837a res=6afb9587ec82ba87 z=0 p=1 op=1 a=ac8442536293b2e9 b=5f3ba99a44f7837a res=c000012409382c2 z=0 p=0 op=2 a=ac8442536293b2e9 b=5f3ba99a44f7837a res=42bf7ff37dd9ff86 z=0 p=0 op=3 a=ac8442536293b2e9 b=5f3ba99a44f7837a res=4d4898b91d9c2f6f z=0 p=1 op=4 a=ac8442536293b2e9 b=5f3ba99...
{"clocked": false, "est_flip_flops": 0, "est_lut_gates": 896, "pipeline_stages": 0}
true
49
colab
f85a43f91bdad8b6
Crypto_LFSR_CRC_Engine
12
Design a 12-bit Galois Linear Feedback Shift Register (LFSR) and cyclic stream scrambler 'top_module' with characteristic polynomial tap mask 0x80d, synchronous reset seed 0xcef, enable 'en', serial input bit 'din', and state vector output 'lfsr_out' [11:0].
<think> 1. Specification & Interface Analysis: - Target Domain: Crypto_LFSR_CRC_Engine (12-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with determini...
module top_module ( input wire clk, input wire rst, input wire en, input wire din, output reg [11:0] lfsr_out ); wire fb = lfsr_out[11] ^ din; always @(posedge clk) begin if (rst) begin lfsr_out <= 12'hcef; end else if (en) begin if (fb) ...
<think> 1. Specification & Interface Analysis: - Target Domain: Crypto_LFSR_CRC_Engine (12-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with determini...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg rst, en, din; wire [11:0] out; integer b; top_module uut (.clk(clk), .rst(rst), .en(en), .din(din), .lfsr_out(out)); initial begin rst=1; en=0; din=0; #12; rst=0; en=1; for (b=0; b<8; b=b+1) begin din = (24...
din=0 lfsr=1d3 din=1 lfsr=bab din=0 lfsr=f5b din=0 lfsr=6bb din=1 lfsr=57b din=1 lfsr=2fb din=1 lfsr=dfb din=1 lfsr=bf6
{"clocked": true, "est_flip_flops": 12, "est_lut_gates": 24, "pipeline_stages": 1}
true
51
colab
15cc994e8399d2d7
Finite_State_Machine_Controller
12
Design a synchronous 6-state Moore Finite State Machine (FSM) controller 'top_module' with active-high reset to state 0, transition control input 'req', 3-bit state register 'state', and 4-bit decoded microcode output 'ctrl_out'.
<think> 1. Specification & Interface Analysis: - Target Domain: Finite_State_Machine_Controller (12-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with ...
module top_module ( input wire clk, input wire rst, input wire req, output reg [2:0] state, output reg [3:0] ctrl_out ); reg [2:0] next_state; always @(posedge clk) begin if (rst) state <= 3'd0; else state <= next_state; end always @(*) begin next_state =...
<think> 1. Specification & Interface Analysis: - Target Domain: Finite_State_Machine_Controller (12-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with ...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg rst, req; wire [2:0] st; wire [3:0] ctrl; integer k; top_module uut (.clk(clk), .rst(rst), .req(req), .state(st), .ctrl_out(ctrl)); initial begin rst=1; req=0; #12; rst=0; for (k=0; k<8; k=k+1) begin req = ...
req=1 st=3 ctrl=9 req=1 st=4 ctrl=8 req=1 st=1 ctrl=a req=1 st=4 ctrl=8 req=0 st=1 ctrl=a req=1 st=4 ctrl=8 req=0 st=1 ctrl=a req=1 st=4 ctrl=8
{"clocked": true, "est_flip_flops": 3, "est_lut_gates": 30, "pipeline_stages": 1}
true
53
colab
407454a6b4c5a2ed
AXI_Stream_Handshake_Slice
24
Design a 24-bit AMBA AXI4-Stream pipeline register slice 'top_module' with slave interface (s_valid, s_ready, s_data) and master interface (m_valid, m_ready, m_data) that performs inline affine encryption `(s_data ^ 0xc5a3) + 0x39` without bubble cycles.
<think> 1. Specification & Interface Analysis: - Target Domain: AXI_Stream_Handshake_Slice (24-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with deter...
module top_module ( input wire clk, input wire rst, input wire s_valid, output wire s_ready, input wire [23:0] s_data, output reg m_valid, input wire m_ready, output reg [23:0] m_data ); assign s_ready = ~m_valid | m_ready; always @(posedge clk) begin if (rst) begi...
<think> 1. Specification & Interface Analysis: - Target Domain: AXI_Stream_Handshake_Slice (24-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with deter...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg rst, sv, mr; reg [23:0] sd; wire sr, mv; wire [23:0] md; top_module uut (.clk(clk), .rst(rst), .s_valid(sv), .s_ready(sr), .s_data(sd), .m_valid(mv), .m_ready(mr), .m_data(md)); initial begin rst=1; sv=0; mr=1; sd=1; #12; rst=...
sr=0 mv=1 md=c619 sr=1 mv=1 md=c55f sr=0 mv=1 md=c55f sr=1 mv=1 md=c4e3 sr=0 mv=1 md=c4e3 sr=1 mv=1 md=c467
{"clocked": true, "est_flip_flops": 25, "est_lut_gates": 72, "pipeline_stages": 1}
true
55
colab
7959f5b3f8fe1be9
BitManipulation_BarrelRotator_Popcount
48
Design a 48-bit combinational Barrel Rotator and Population Count unit 'top_module' with input 'din' [47:0], 3-bit rotation amount 'shamt', direction 'left_right', input pre-mask 0x1224, rotated output 'dout' [47:0], and 7-bit Hamming weight 'popcount'.
<think> 1. Specification & Interface Analysis: - Target Domain: BitManipulation_BarrelRotator_Popcount (48-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always...
module top_module ( input wire [47:0] din, input wire [2:0] shamt, input wire left_right, output reg [47:0] dout, output wire [6:0] popcount ); wire [47:0] staged = din ^ 48'h1224; always @(*) begin if (left_right) dout = (staged << shamt) | (staged >> (48 - shamt)); ...
<think> 1. Specification & Interface Analysis: - Target Domain: BitManipulation_BarrelRotator_Popcount (48-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg [47:0] din; reg [2:0] sh; reg lr; wire [47:0] dout; wire [6:0] pop; integer s; top_module uut (.din(din), .shamt(sh), .left_right(lr), .dout(dout), .popcount(pop)); initial begin din = 48'h9ad4066881c0; for (s=0; s...
sh=0 lr=0 dout=9ad4066893e4 pop=17 sh=1 lr=1 dout=35a80cd127c9 pop=17 sh=2 lr=0 dout=26b5019a24f9 pop=17 sh=3 lr=1 dout=d6a033449f24 pop=17 sh=4 lr=0 dout=49ad4066893e pop=17 sh=5 lr=1 dout=5a80cd127c93 pop=17
{"clocked": false, "est_flip_flops": 0, "est_lut_gates": 384, "pipeline_stages": 0}
true
57
colab
d037cd1afa0a7363
Arbitration_Priority_Router
8
Design a 4-port 8-bit Priority Bus Arbiter and Router 'top_module' with 4-bit request vector 'req', four 8-bit data channels (d0, d1, d2, d3), one-hot grant output 'grant' [3:0], and routed data output 'dout' [7:0] with channel tag offsets 0x61/0x90.
<think> 1. Specification & Interface Analysis: - Target Domain: Arbitration_Priority_Router (8-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) with...
module top_module ( input wire [3:0] req, input wire [7:0] d0, input wire [7:0] d1, input wire [7:0] d2, input wire [7:0] d3, output reg [3:0] grant, output reg [7:0] dout ); always @(*) begin if (req[3]) begin grant = 4'b1000; dout = d3 ^ 8'h61; ...
<think> 1. Specification & Interface Analysis: - Target Domain: Arbitration_Priority_Router (8-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) with...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg [3:0] rq; reg [7:0] d0, d1, d2, d3; wire [3:0] gr; wire [7:0] do; integer q; top_module uut (.req(rq), .d0(d0), .d1(d1), .d2(d2), .d3(d3), .grant(gr), .dout(do)); initial begin d0=8'h5d; d1=8'h82; d2=8'h75; d3=8'h8a; ...
req=0001 grant=0001 dout=be req=0010 grant=0010 dout=12 req=0011 grant=0010 dout=12 req=0100 grant=0100 dout=5 req=0101 grant=0100 dout=5 req=0110 grant=0100 dout=5 req=0111 grant=0100 dout=5 req=1000 grant=1000 dout=eb
{"clocked": false, "est_flip_flops": 0, "est_lut_gates": 60, "pipeline_stages": 0}
true
59
colab
d0f5f52ce9c35d4a
DSP_FIR_MovingAverage_Filter
4
Design a synchronous 4-bit 3-Tap Finite Impulse Response (FIR) digital filter 'top_module' with filter coefficients h0=5, h1=1, h2=5, sample input 'x_in' [3:0], and filtered output 'y_out' [7:0].
<think> 1. Specification & Interface Analysis: - Target Domain: DSP_FIR_MovingAverage_Filter (4-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with dete...
module top_module ( input wire clk, input wire rst, input wire [3:0] x_in, output reg [7:0] y_out ); reg [3:0] x_d1, x_d2; always @(posedge clk) begin if (rst) begin x_d1 <= 4'h0; x_d2 <= 4'h0; y_out <= 8'h0; end else begin x_...
<think> 1. Specification & Interface Analysis: - Target Domain: DSP_FIR_MovingAverage_Filter (4-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with dete...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg rst; reg [3:0] xin; wire [7:0] yout; integer f; top_module uut (.clk(clk), .rst(rst), .x_in(xin), .y_out(yout)); initial begin rst=1; xin=0; #12; rst=0; for (f=1; f<=6; f=f+1) begin xin = f * 11; ...
xin=b yout=37 xin=6 yout=29 xin=1 yout=42 xin=c yout=5b xin=7 yout=34 xin=2 yout=4d
{"clocked": true, "est_flip_flops": 16, "est_lut_gates": 48, "pipeline_stages": 2}
true
61
colab
a698e30f22a46926
Combinational_ALU_Datapath
4
Design a synthesizable 4-bit combinational Arithmetic Logic Unit (ALU) named 'top_module' with operand inputs 'a' [3:0], 'b' [3:0], and 3-bit operation selector 'opcode' [2:0]. The module must compute 'result' [3:0] across 8 distinct arithmetic/bitwise operations (with hardware constants 0xe, 0x8, and shift 2) and driv...
<think> 1. Specification & Interface Analysis: - Target Domain: Combinational_ALU_Datapath (4-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) with ...
module top_module ( input wire [3:0] a, input wire [3:0] b, input wire [2:0] opcode, output reg [3:0] result, output wire zero_flag, output wire parity_flag ); always @(*) begin case (opcode) 3'b000: result = (a | b) + 4'h8; 3'b001: result = a + b + 4'he; ...
<think> 1. Specification & Interface Analysis: - Target Domain: Combinational_ALU_Datapath (4-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Purely combinational logic path (`always @(*)`) with ...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg [3:0] a, b; reg [2:0] op; wire [3:0] res; wire zf, pf; integer i; top_module uut (.a(a), .b(b), .opcode(op), .result(res), .zero_flag(zf), .parity_flag(pf)); initial begin a = 4'h3; b = 4'h3; for (i=0; i<8; i=i+1) ...
op=0 a=3 b=3 res=b z=0 p=1 op=1 a=3 b=3 res=4 z=0 p=1 op=2 a=3 b=3 res=8 z=0 p=1 op=3 a=3 b=3 res=d z=0 p=1 op=4 a=3 b=3 res=c z=0 p=0 op=5 a=3 b=3 res=e z=0 p=1 op=6 a=3 b=3 res=7 z=0 p=1 op=7 a=3 b=3 res=0 z=1 p=0
{"clocked": false, "est_flip_flops": 0, "est_lut_gates": 56, "pipeline_stages": 0}
true
63
colab
0bdf6b62c0c4e9eb
Sequential_Programmable_Counter
48
Design a synchronous 48-bit bidirectional modulo counter 'top_module' with active-high synchronous reset (initializing to 0x1), clock enable 'en', direction control 'up_dn', step increment/decrement of 1, modulo wrap boundary 0xfee, and combinational terminal count output 'tc'.
<think> 1. Specification & Interface Analysis: - Target Domain: Sequential_Programmable_Counter (48-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with ...
module top_module ( input wire clk, input wire rst, input wire en, input wire up_dn, output reg [47:0] count, output wire tc ); always @(posedge clk) begin if (rst) begin count <= 48'h1; end else if (en) begin if (up_dn) begin if (...
<think> 1. Specification & Interface Analysis: - Target Domain: Sequential_Programmable_Counter (48-bit datapath width). - Top-Level Module: `top_module` adhering strictly to IEEE 1364-2005 / 1800-2012 synthesizable Verilog standards. - Clocking & Reset Strategy: Synchronous positive-edge (`posedge clk`) with ...
module tb_top_module; reg clk = 0; always #5 clk = ~clk; reg rst, en, dir; wire [47:0] cnt; wire tc; top_module uut (.clk(clk), .rst(rst), .en(en), .up_dn(dir), .count(cnt), .tc(tc)); initial begin rst=1; en=0; dir=1; #12; rst=0; en=1; repeat(5) @(posedge clk) #1 $displa...
dir=1 cnt=2 tc=0 dir=1 cnt=3 tc=0 dir=1 cnt=4 tc=0 dir=1 cnt=5 tc=0 dir=1 cnt=6 tc=0 dir=0 cnt=5 tc=0 dir=0 cnt=4 tc=0 dir=0 cnt=3 tc=0 dir=0 cnt=2 tc=0
{"clocked": true, "est_flip_flops": 48, "est_lut_gates": 288, "pipeline_stages": 1}
true
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
113