From a7b18cc188d3a6c4d4b4b7c68b10bcbb887ea23f Mon Sep 17 00:00:00 2001 From: gianmarcogirau Date: Tue, 17 Dec 2019 10:44:22 +0000 Subject: [PATCH] Marked some fields as "signed" in the JSON files --- generic_ip/enc_pd_emul/1/doc/enc_pd_emul_1.json | 4 ++++ generic_ip/event_logger/0/doc/event_logger_0.json | 1 + generic_ip/fire_pulse_manager/4/doc/fpm_diags_4.json | 3 +++ .../generic_sequencer/15/doc/generic_sequencer_15.json | 1 + generic_ip/pulse_generator/2/doc/pulse_generator_2.json | 8 ++++++++ 5 files changed, 17 insertions(+) diff --git a/generic_ip/enc_pd_emul/1/doc/enc_pd_emul_1.json b/generic_ip/enc_pd_emul/1/doc/enc_pd_emul_1.json index 383a455..114e5d6 100644 --- a/generic_ip/enc_pd_emul/1/doc/enc_pd_emul_1.json +++ b/generic_ip/enc_pd_emul/1/doc/enc_pd_emul_1.json @@ -311,6 +311,7 @@ "address": "8", "reset": "0x0", "width": "32", + "subtype": "signed", "description": "Absolute Position Initial value, bits 31:0" }, "pos_init_msb": { @@ -318,6 +319,7 @@ "address": "9", "reset": "0x0", "width": "8", + "subtype": "signed", "description": "Absolute Position Initial value, bits 39:32" }, "pos_stat_lsb": { @@ -325,6 +327,7 @@ "address": "10", "reset": "0x0", "width": "32", + "subtype": "signed", "description": "Absolute Position value, bits 31:0" }, "pos_stat_msb": { @@ -332,6 +335,7 @@ "address": "11", "reset": "0x0", "width": "8", + "subtype": "signed", "description": "Absolute Position value, bits 39:32" }, "pd_ctrl": { diff --git a/generic_ip/event_logger/0/doc/event_logger_0.json b/generic_ip/event_logger/0/doc/event_logger_0.json index 669c547..9753063 100644 --- a/generic_ip/event_logger/0/doc/event_logger_0.json +++ b/generic_ip/event_logger/0/doc/event_logger_0.json @@ -316,6 +316,7 @@ "address": "7", "reset": "0x0", "width": "32", + "subtype": "signed", "description": "Logger FIFO output-B (position-tag)" }, "init_value": { diff --git a/generic_ip/fire_pulse_manager/4/doc/fpm_diags_4.json b/generic_ip/fire_pulse_manager/4/doc/fpm_diags_4.json index 672aa1a..3795478 100644 --- a/generic_ip/fire_pulse_manager/4/doc/fpm_diags_4.json +++ b/generic_ip/fire_pulse_manager/4/doc/fpm_diags_4.json @@ -271,6 +271,7 @@ "address": "17", "reset": "0x0", "width": "32", + "subtype": "signed", "description": "Detected absolution position (DEPRECATED)" }, "dir_thres": { @@ -301,6 +302,7 @@ "type": "r", "bit_len": "16", "reset": "0x0", + "subtype": "signed", "description": "direction count" }, "dir_change_cnt": { @@ -358,6 +360,7 @@ "address": "22", "reset": "0x0", "width": "32", + "subtype": "signed", "description": "Encoder FIFO output" }, "pd_fifo_mng": { diff --git a/generic_ip/generic_sequencer/15/doc/generic_sequencer_15.json b/generic_ip/generic_sequencer/15/doc/generic_sequencer_15.json index c49a131..c48c054 100644 --- a/generic_ip/generic_sequencer/15/doc/generic_sequencer_15.json +++ b/generic_ip/generic_sequencer/15/doc/generic_sequencer_15.json @@ -245,6 +245,7 @@ "type" : "r", "width" : "24", "reset" : "0", + "subtype" : "signed", "description" : "value of pos_store" }, "seq_queue" : { diff --git a/generic_ip/pulse_generator/2/doc/pulse_generator_2.json b/generic_ip/pulse_generator/2/doc/pulse_generator_2.json index 3e8634f..405de08 100644 --- a/generic_ip/pulse_generator/2/doc/pulse_generator_2.json +++ b/generic_ip/pulse_generator/2/doc/pulse_generator_2.json @@ -361,6 +361,7 @@ "address": "15", "reset": "0x00", "width": "32", + "subtype": "signed", "description": "Absolute Position Maximum" }, "abs_position_min": { @@ -368,6 +369,7 @@ "address": "16", "reset": "0x00", "width": "32", + "subtype": "signed", "description": "Absolute Position Minimum" }, "abs_position": { @@ -375,6 +377,7 @@ "address": "17", "reset": "0x00", "width": "32", + "subtype": "signed", "description": "Current Absolute Position " }, "pd_counter": { @@ -403,6 +406,7 @@ "width": "20", "type": "r", "reset": "0x0", + "subtype": "signed", "description": "Encoder Velocity: balance between positive and negative encoder steps over the measurement window" }, "tof_compensation": { @@ -469,6 +473,7 @@ "address": "27", "reset": "0x00", "width": "32", + "subtype": "signed", "description": "Pixel-pitch misalignment measured on the last rotation [encoder steps], represented as signed, fixed point with 24-bits integer part and 8-bits mantissa" }, "pixel_pitch_pos_err_max": { @@ -476,6 +481,7 @@ "address": "28", "reset": "0x00", "width": "32", + "subtype": "signed", "description": "Maximum recorded value of pixel-pitch misalignment [encoder steps], represented as signed, fixed point with 24-bits integer part and 8-bits mantissa" }, "pixel_pitch_pos_err_min": { @@ -483,6 +489,7 @@ "address": "29", "reset": "0x00", "width": "32", + "subtype": "signed", "description": "Minimum recorded value of pixel-pitch misalignment [encoder steps], represented as signed, fixed point with 24-bits integer part and 8-bits mantissa" }, "pixel_pitch_div_ratio_corr": { @@ -490,6 +497,7 @@ "address": "30", "reset": "0x00", "width": "32", + "subtype": "signed", "description": "Division-Ratio Correction (32-LSBs)" }, "pixel_pitch_corr_cnt": {