diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:47:10 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:47:10 -0800 |
commit | b0dc9fd6770a003f4bd12ca6706c227c009cc8da (patch) | |
tree | 0f4d366bf1772c9eb0f8876da295c40d226f4e09 /host/lib/ic_reg_maps | |
parent | 57ec3d765a6420cb1200a38991046df78d1e6166 (diff) | |
download | uhd-b0dc9fd6770a003f4bd12ca6706c227c009cc8da.tar.gz uhd-b0dc9fd6770a003f4bd12ca6706c227c009cc8da.tar.bz2 uhd-b0dc9fd6770a003f4bd12ca6706c227c009cc8da.zip |
Move all headers to SPDX format, harmonize license headers
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 ######################################################################## |