aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/ic_reg_maps/common.py
Commit message (Collapse)AuthorAgeFilesLines
* uhd: Add support for the USRP X410Lars Amsel2021-06-101-1/+5
| | | | | | | | | | | | | | | | Co-authored-by: Lars Amsel <lars.amsel@ni.com> Co-authored-by: Michael Auchter <michael.auchter@ni.com> Co-authored-by: Martin Braun <martin.braun@ettus.com> Co-authored-by: Paul Butler <paul.butler@ni.com> Co-authored-by: Cristina Fuentes <cristina.fuentes-curiel@ni.com> Co-authored-by: Humberto Jimenez <humberto.jimenez@ni.com> Co-authored-by: Virendra Kakade <virendra.kakade@ni.com> Co-authored-by: Lane Kolbly <lane.kolbly@ni.com> Co-authored-by: Max Köhler <max.koehler@ni.com> Co-authored-by: Andrew Lynch <andrew.lynch@ni.com> Co-authored-by: Grant Meyerhoff <grant.meyerhoff@ni.com> Co-authored-by: Ciro Nishiguchi <ciro.nishiguchi@ni.com> Co-authored-by: Thomas Vogel <thomas.vogel@ni.com>
* ic_reg_map: Allow registers to be arraysMartin Braun2020-10-061-19/+114
| | | | | | | | | | This lets you declare registers like this: REG_NAME[ARRAY_LEN] ADDRESS[BITS] DEFAULT ENUMS The reg object will now carray REG_NAME as an array. So, you can do regs.REG_NAME[0] = VALUE;
* ic_reg_maps: Add common regmap template for PythonToni Jones2020-10-061-4/+88
| | | | | | | Add COMMON_PY_TMPL which is identical to COMMON_TMPL in functionality but generates Python syntax rather than C++ header syntax. Modify the generate function which will now determine if the destination regmap file is a Python file or not and will use the appropriate template.
* uhd: Make sure generated file is closedRyan Volz2020-07-091-1/+2
| | | | | | Letting garbage collection close the file works when using CPython, but it fails with PyPy which uses a different garbage collection strategy. This makes sure that the file is closed by using a file context manager.
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-081-3/+3
| | | | | | | | types) - Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be <cstdint>, but not all of our compilers support that).
* build: Python 3 compatibility for build scriptsNicholas Corgan2015-07-141-4/+4
|
* uhd: Replacing Cheetah w/ Mako 0.4.2 (allows Python 3 compat)Martin Braun2015-07-141-57/+52
|
* uhd: update copyright headers with automated scriptJosh Blum2011-03-231-1/+1
|
* uhd: replaced instanced of std::exception with the uhd exceptionsJosh Blum2011-02-241-2/+2
|
* DBSRX support in UHDJason Abele2010-08-041-2/+2
|
* uhd: tweaks to ic regs maps common generator codeJosh Blum2010-06-221-2/+2
|
* created capability for meta-registersJosh Blum2010-06-091-2/+51
|
* added save state for ic regs map commonJosh Blum2010-05-101-6/+35
|
* Moved a bunch of register map code into common.Josh Blum2010-04-291-2/+53
|
* added reg map for ad9862Josh Blum2010-04-291-3/+10
|
* whoops, copied wrong licenseJosh Blum2010-04-231-13/+10
|
* added comments to cmakelists, makedir in file generation script so python ↵Josh Blum2010-04-191-4/+0
| | | | doesnt have to
* moved come common register generation code into common.pyJosh Blum2010-04-161-0/+67