Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
ALPACA
CASPER
casperfpga
Commits
276ee449
Unverified
Commit
276ee449
authored
2 years ago
by
Mitch Burnett
Committed by
GitHub
2 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #51 from casper-astro/py38-dev
Py38 dev
parents
68a3df96
18a768ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
setup.py
+2
-1
setup.py
src/tengbe.py
+2
-2
src/tengbe.py
with
4 additions
and
3 deletions
+4
-3
setup.py
+
2
-
1
View file @
276ee449
...
...
@@ -63,7 +63,8 @@ setuptools.setup(
'tftpy'
,
'progressbar2'
,
'requests'
,
'circus'
'circus'
,
'crcmod'
],
extras_require
=
{
'test'
:
[
'pytest'
,
'pytest-datadir'
]},
packages
=
[
'casperfpga'
,
'casperfpga.debug'
,
'casperfpga.progska'
],
...
...
This diff is collapsed.
Click to expand it.
src/tengbe.py
+
2
-
2
View file @
276ee449
...
...
@@ -12,8 +12,8 @@ LOGGER = logging.getLogger(__name__)
STRUCT_CTYPES
=
{
1
:
'B'
,
2
:
'H'
,
4
:
'L'
,
8
:
'Q'
}
STRUCT_CTYPES_TO_B
=
{
'B'
:
1
,
'H'
:
2
,
'L'
:
4
,
'Q'
:
8
}
TENGBE_UNIFIED_MMAP_TXT
=
'tengbe_mmap.txt'
TENGBE_MMAP_LEGACY_TXT
=
'tengbe_mmap_legacy.txt'
TENGBE_UNIFIED_MMAP_TXT
=
resource_filename
(
'casperfpga'
,
'tengbe_mmap.txt'
)
TENGBE_MMAP_LEGACY_TXT
=
resource_filename
(
'casperfpga'
,
'tengbe_mmap_legacy.txt'
)
# Offsets for fields in the memory map, in bytes
OFFSET_CORE_TYPE
=
0x0
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets