|
CASP Python Libraries
This documentation primarily focuses on the usage of functions from 'casp', 'casp_be', 'casp_gpio' and 'casp_udio' namespaces.
|
This module provides definitions and constants that user can use as arguments in functions from modules such as casp.py, casp_gpio.py, casp_udio.py etc. More...
Variables | |
| int | ENABLE = 1 |
| Constant for Enable. | |
| int | DISABLE = 0 |
| Constant for Disable. | |
| int | SET = 1 |
| Constant for Set. | |
| int | RESET = 0 |
| Constant for Reset. | |
| int | PRECISION_32 = 0 |
| Constant for 32-bit precision used in function casp.SimSetupPrecision() from module casp.py. | |
| int | PRECISION_48 = 1 |
| Constant for 48-bit precision used in function casp.SimSetupPrecision() from module casp.py. | |
| int | PRECISION_64 = 2 |
| Constant for 64-bit precision used in function casp.SimSetupPrecision() from module casp.py. | |
| int | PROGRAMMER0 = 0 |
| Constant for Programmer0 used in function casp.ProgrammerSet() from module casp.py. | |
| int | PROGRAMMER1 = 1 |
| Constant for Programmer1 used in function casp.ProgrammerSet() from module casp.py. | |
| int | LANG_PYTHON = 0; |
| int | LANG_FORTRAN = 1; |
| int | LANG_VERILOG = 2; |
| str | DATA_TYPE_STRING = "String" |
| Constant for data type string. | |
| str | DATA_TYPE_REAL = "Real" |
| Constant for data type real. | |
| str | DATA_TYPE_REAL32 = "Real32" |
| Constant for data type real32. | |
| str | DATA_TYPE_REAL64 = "Real64" |
| Constant for data type real64. | |
| str | DATA_TYPE_INT = "Integer" |
| Constant for data type integer. | |
| str | DATA_TYPE_INT16 = "Integer16" |
| Constant for data type integer16. | |
| str | DATA_TYPE_INT32 = "Integer32_Boolean" |
| Constant for data type integer32. | |
| str | DATA_TYPE_INT64 = "Integer64" |
| Constant for data type integer64. | |
| str | DATA_TYPE_BYTE = "Byte" |
| Constant for data type byte. | |
| str | DATA_TYPE_INDEX = "Selected Index" |
| Constant for data type 'selected index'. | |
This module provides definitions and constants that user can use as arguments in functions from modules such as casp.py, casp_gpio.py, casp_udio.py etc.
| int casp_defs.ENABLE = 1 |
Constant for Enable.
Definition at line 4 of file casp_defs.py.
| int casp_defs.DISABLE = 0 |
Constant for Disable.
Definition at line 5 of file casp_defs.py.
| int casp_defs.SET = 1 |
Constant for Set.
Definition at line 7 of file casp_defs.py.
| int casp_defs.RESET = 0 |
Constant for Reset.
Definition at line 8 of file casp_defs.py.
| int casp_defs.PRECISION_32 = 0 |
Constant for 32-bit precision used in function casp.SimSetupPrecision() from module casp.py.
Definition at line 10 of file casp_defs.py.
| int casp_defs.PRECISION_48 = 1 |
Constant for 48-bit precision used in function casp.SimSetupPrecision() from module casp.py.
Definition at line 11 of file casp_defs.py.
| int casp_defs.PRECISION_64 = 2 |
Constant for 64-bit precision used in function casp.SimSetupPrecision() from module casp.py.
Definition at line 12 of file casp_defs.py.
| int casp_defs.PROGRAMMER0 = 0 |
Constant for Programmer0 used in function casp.ProgrammerSet() from module casp.py.
Definition at line 14 of file casp_defs.py.
| int casp_defs.PROGRAMMER1 = 1 |
Constant for Programmer1 used in function casp.ProgrammerSet() from module casp.py.
Definition at line 15 of file casp_defs.py.
| int casp_defs.LANG_PYTHON = 0; |
Definition at line 17 of file casp_defs.py.
| int casp_defs.LANG_FORTRAN = 1; |
Definition at line 18 of file casp_defs.py.
| int casp_defs.LANG_VERILOG = 2; |
Definition at line 19 of file casp_defs.py.
| str casp_defs.DATA_TYPE_STRING = "String" |
Constant for data type string.
Definition at line 21 of file casp_defs.py.
| str casp_defs.DATA_TYPE_REAL = "Real" |
Constant for data type real.
Definition at line 22 of file casp_defs.py.
| str casp_defs.DATA_TYPE_REAL32 = "Real32" |
Constant for data type real32.
Definition at line 23 of file casp_defs.py.
| str casp_defs.DATA_TYPE_REAL64 = "Real64" |
Constant for data type real64.
Definition at line 24 of file casp_defs.py.
| str casp_defs.DATA_TYPE_INT = "Integer" |
Constant for data type integer.
Definition at line 25 of file casp_defs.py.
| str casp_defs.DATA_TYPE_INT16 = "Integer16" |
Constant for data type integer16.
Definition at line 26 of file casp_defs.py.
| str casp_defs.DATA_TYPE_INT32 = "Integer32_Boolean" |
Constant for data type integer32.
Definition at line 27 of file casp_defs.py.
| str casp_defs.DATA_TYPE_INT64 = "Integer64" |
Constant for data type integer64.
Definition at line 28 of file casp_defs.py.
| str casp_defs.DATA_TYPE_BYTE = "Byte" |
Constant for data type byte.
Definition at line 29 of file casp_defs.py.
| str casp_defs.DATA_TYPE_INDEX = "Selected Index" |
Constant for data type 'selected index'.
Definition at line 30 of file casp_defs.py.