first commit

This commit is contained in:
jultrishyyy
2025-02-20 20:38:50 +00:00
commit ae1cc41f21
15 changed files with 119048 additions and 0 deletions

60
solutions/sample.json Normal file
View File

@@ -0,0 +1,60 @@
{
"gpt-3.5-turbo": {
"Combinational Logic": [
{
"module": "parity_8bit",
"solutions": [
{
"solution": "module parity_8bit (input [7:0] in, output out); assign out = in[0] ^ in[1] ^ in[2] ^ in[3] ^ in[4] ^ in[5] ^ in[6] ^ in[7]; endmodule",
"pass": "true",
"resource usage": {
"optimized": {
"LUT": 2,
"FF": 0,
"DSP": 0,
"BRAM": 0,
"IO": 9
},
"primitives": {
"LUT": 2,
"FF": 0,
"DSP": 0,
"BRAM": 0,
"IO": 9
}
}
},
{
"solution": "module parity_8bit (input [7:0] in, output out); reg parity; integer i; always @(*) begin parity = 1'b0; for(i=0; i<8; i=i+1) begin if(in[i] == 1'b1) parity = ~parity; end end assign out = parity; endmodule",
"pass": "true",
"resource usage": {
"optimized": {
"LUT": 2,
"FF": 0,
"DSP": 0,
"BRAM": 0,
"IO": 9
},
"primitives": {
"LUT": 2,
"FF": 0,
"DSP": 0,
"BRAM": 0,
"IO": 9
}
}
}
]
}
],
"Finite State Machines": [
{
"module": "fsm_3state",
"solutions": []
}
]
},
"gpt-4o":{
}
}