-- Copyright (c) 2024 Huawei Technologies Co., Ltd.
-- openUBMC is licensed under Mulan PSL v2.
-- You can use this software according to the terms and conditions of the Mulan PSL v2.
-- You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2
-- THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
-- EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
-- MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
-- See the Mulan PSL v2 for more details.

local drv = {}

function drv.new()
    return drv
end

function drv.get_four_eye_diagram(args)
    return {
        bottom = 100,
        top = 10,
        left = -100,
        right = -10
    }
end
drv.SERDES_EYE_ARGS_S = {}
function drv.SERDES_EYE_ARGS_S.new()
    return {
        chip_id = 0xffff,
        macro_id = 0xffff,
        start_sds_id = 0xffff,
        scan_mode = 0,
        pre_tap = 3,
        pattern_type = 0,
        eye_type = 0,
        path_type = 2,
        eye_win = 10,
        eye_thr = 0,
        eye_avg_num = 1
    }
end

return drv