Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
rkx7-litex-boards
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reform
rkx7-litex-boards
Commits
5e4b29c0
Commit
5e4b29c0
authored
4 years ago
by
Hans Baier
Browse files
Options
Downloads
Patches
Plain Diff
sockit: Fix cable name, default to jtag_atlantic
parent
601c297c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
litex_boards/platforms/arrow_sockit.py
+1
-1
1 addition, 1 deletion
litex_boards/platforms/arrow_sockit.py
litex_boards/targets/arrow_sockit.py
+11
-2
11 additions, 2 deletions
litex_boards/targets/arrow_sockit.py
with
12 additions
and
3 deletions
litex_boards/platforms/arrow_sockit.py
+
1
−
1
View file @
5e4b29c0
...
...
@@ -164,7 +164,7 @@ class Platform(AlteraPlatform):
AlteraPlatform
.
__init__
(
self
,
_device_map
[
revision
],
_io
,
connectors
=
_connectors_hsmc_gpio_daughterboard
)
def
create_programmer
(
self
):
return
USBBlaster
()
return
USBBlaster
(
cable_name
=
"
CV SoCKit
"
)
def
do_finalize
(
self
,
fragment
):
AlteraPlatform
.
do_finalize
(
self
,
fragment
)
...
...
This diff is collapsed.
Click to expand it.
litex_boards/targets/arrow_sockit.py
+
11
−
2
View file @
5e4b29c0
...
...
@@ -4,6 +4,15 @@
#
# Copyright (c) 2020 Hans Baier <hansfbaier@gmail.com>
# SPDX-License-Identifier: BSD-2-Clause
"""
This class provides basic support for the Arrow SoCKit.
Since the SoCKit has its USB2UART attached to the HPS
system, it is not available to the FPGA and thus the only
way to communicate is via JTAG serial which is configured
by default.
To access it, you can use the nios2_terminal application
included in the Intel/Altera quartus distribution.
"""
import
os
import
argparse
...
...
@@ -44,9 +53,9 @@ class BaseSoC(SoCCore):
def
__init__
(
self
,
sys_clk_freq
=
int
(
50e6
),
revision
=
"
revd
"
,
**
kwargs
):
platform
=
arrow_sockit
.
Platform
(
revision
)
# Defaults to
Cross
over
UART
because serial is attached to the HPS and cannot be used.
# Defaults to
UART
over
JTAG
because serial is attached to the HPS and cannot be used.
if
kwargs
[
"
uart_name
"
]
==
"
serial
"
:
kwargs
[
"
uart_name
"
]
=
"
crossover
"
kwargs
[
"
uart_name
"
]
=
"
jtag_atlantic
"
# SoCCore ----------------------------------------------------------------------------------
SoCCore
.
__init__
(
self
,
platform
,
sys_clk_freq
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment