diff --git a/data/registers/cordic_v1.json b/data/registers/cordic_v1.json index 9ea8bfc..49087d2 100644 --- a/data/registers/cordic_v1.json +++ b/data/registers/cordic_v1.json @@ -66,28 +66,28 @@ "description": "Number of results in the RDATA register.", "bit_offset": 19, "bit_size": 1, - "enum": "NRES" + "enum": "Num" }, { "name": "NARGS", "description": "Number of arguments expected by the WDATA register.", "bit_offset": 20, "bit_size": 1, - "enum": "NARGS" + "enum": "Num" }, { "name": "RESSIZE", "description": "Width of output data.", "bit_offset": 21, "bit_size": 1, - "enum": "RESSIZE" + "enum": "Size" }, { "name": "ARGSIZE", "description": "Width of input data.", "bit_offset": 22, "bit_size": 1, - "enum": "ARGSIZE" + "enum": "Size" }, { "name": "RRDY", @@ -97,21 +97,6 @@ } ] }, - "enum/ARGSIZE": { - "bit_size": 1, - "variants": [ - { - "name": "Bits32", - "description": "Use 32 bit input values.", - "value": 0 - }, - { - "name": "Bits16", - "description": "Use 16 bit input values.", - "value": 1 - } - ] - }, "enum/FUNC": { "bit_size": 4, "variants": [ @@ -167,32 +152,17 @@ } ] }, - "enum/NARGS": { - "bit_size": 1, - "variants": [ - { - "name": "Num1", - "description": "Only single argument write is needed for next calculation.", - "value": 0 - }, - { - "name": "Num2", - "description": "Two argument writes need to be performed for next calculation.", - "value": 1 - } - ] - }, - "enum/NRES": { + "enum/Num": { "bit_size": 1, "variants": [ { "name": "Num1", - "description": "Only single result value will be returned. After a single read RRDY will be automatically cleared.", + "description": "1 input/output", "value": 0 }, { "name": "Num2", - "description": "Two return reads need to be performed. After two reads RRDY will be automatically cleared.", + "description": "2 input/output", "value": 1 } ] @@ -277,17 +247,17 @@ } ] }, - "enum/RESSIZE": { + "enum/Size": { "bit_size": 1, "variants": [ { "name": "Bits32", - "description": "Use 32 bit output values.", + "description": "Use 32 bit input/output values.", "value": 0 }, { "name": "Bits16", - "description": "Use 16 bit output values.", + "description": "Use 16 bit input/output values.", "value": 1 } ]