first commit
This commit is contained in:
60
solutions/sample.json
Normal file
60
solutions/sample.json
Normal 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":{
|
||||
|
||||
}
|
||||
}
|
||||
117752
solutions/solutions.json
Normal file
117752
solutions/solutions.json
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user