Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
litex-boards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kestrel Collaboration
Kestrel LiteX
litex-boards
Commits
61f44739
Unverified
Commit
61f44739
authored
Mar 10, 2021
by
enjoy-digital
Committed by
GitHub
Mar 10, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #185 from stffrdhrn/arty-jtagbone
arty: Add an option to enable jtagbone
parents
47faaf20
52ce49cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
litex_boards/targets/arty.py
litex_boards/targets/arty.py
+7
-1
No files found.
litex_boards/targets/arty.py
View file @
61f44739
...
...
@@ -56,7 +56,7 @@ class _CRG(Module):
# BaseSoC ------------------------------------------------------------------------------------------
class
BaseSoC
(
SoCCore
):
def
__init__
(
self
,
variant
=
"a7-35"
,
toolchain
=
"vivado"
,
sys_clk_freq
=
int
(
100e6
),
with_ethernet
=
False
,
with_etherbone
=
False
,
eth_ip
=
"192.168.1.50"
,
eth_dynamic_ip
=
False
,
ident_version
=
True
,
**
kwargs
):
def
__init__
(
self
,
variant
=
"a7-35"
,
toolchain
=
"vivado"
,
sys_clk_freq
=
int
(
100e6
),
with_ethernet
=
False
,
with_etherbone
=
False
,
eth_ip
=
"192.168.1.50"
,
eth_dynamic_ip
=
False
,
ident_version
=
True
,
with_jtagbone
=
True
,
**
kwargs
):
platform
=
arty
.
Platform
(
variant
=
variant
,
toolchain
=
toolchain
)
# SoCCore ----------------------------------------------------------------------------------
...
...
@@ -96,6 +96,10 @@ class BaseSoC(SoCCore):
if
with_etherbone
:
self
.
add_etherbone
(
phy
=
self
.
ethphy
,
ip_address
=
eth_ip
)
# Jtagbone ---------------------------------------------------------------------------------
if
with_jtagbone
:
self
.
add_jtagbone
()
# Leds -------------------------------------------------------------------------------------
self
.
submodules
.
leds
=
LedChaser
(
pads
=
platform
.
request_all
(
"user_led"
),
...
...
@@ -121,6 +125,7 @@ def main():
sdopts
.
add_argument
(
"--with-sdcard"
,
action
=
"store_true"
,
help
=
"Enable SDCard support"
)
parser
.
add_argument
(
"--sdcard-adapter"
,
type
=
str
,
help
=
"SDCard PMOD adapter: digilent (default) or numato"
)
parser
.
add_argument
(
"--no-ident-version"
,
action
=
"store_false"
,
help
=
"Disable build time output"
)
parser
.
add_argument
(
"--with-jtagbone"
,
action
=
"store_true"
,
help
=
"Enable Jtagbone support"
)
builder_args
(
parser
)
soc_sdram_args
(
parser
)
vivado_build_args
(
parser
)
...
...
@@ -137,6 +142,7 @@ def main():
eth_ip
=
args
.
eth_ip
,
eth_dynamic_ip
=
args
.
eth_dynamic_ip
,
ident_version
=
args
.
no_ident_version
,
with_jtagbone
=
args
.
with_jtagbone
,
**
soc_sdram_argdict
(
args
)
)
if
args
.
sdcard_adapter
==
"numato"
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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