diff options
Diffstat (limited to 'host/lib/ic_reg_maps')
-rwxr-xr-x | host/lib/ic_reg_maps/gen_lmk04828_regs.py | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/host/lib/ic_reg_maps/gen_lmk04828_regs.py b/host/lib/ic_reg_maps/gen_lmk04828_regs.py index 46bf825ad..fd0f03c1c 100755 --- a/host/lib/ic_reg_maps/gen_lmk04828_regs.py +++ b/host/lib/ic_reg_maps/gen_lmk04828_regs.py @@ -1,24 +1,15 @@ -#Copyright 2017 Ettus Research LLC # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# Copyright 2017 Ettus Research, a National Instruments Company # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: GPL-3.0 # +" Generate reg map for LMK04828 synthesizer " ######################################################################## # Template for raw text data describing registers # name addr[bit range inclusive] default optional enums ######################################################################## -REGS_TMPL="""\ +REGS_TMPL = """\ ######################################################################## ## address 0 ######################################################################## @@ -68,7 +59,7 @@ ID_Vendor_MSB 12[7:0] 81 ######################################################################## address13 13[20:8] 0x00D ID_Vendor_LSB 13[7:0] 4 -""" +""" ######################################################################## # Template for methods in the body of the struct ######################################################################## |