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
9f11bfb0
Commit
9f11bfb0
authored
Nov 12, 2020
by
Florent Kermarrec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qmtech_ep4ce15: convert name to lowercase, minor cleanup and add to test_targets.
parent
31eb74dc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
litex_boards/platforms/qmtech_ep4ce15.py
litex_boards/platforms/qmtech_ep4ce15.py
+0
-0
litex_boards/targets/qmtech_ep4ce15.py
litex_boards/targets/qmtech_ep4ce15.py
+5
-5
test/test_targets.py
test/test_targets.py
+1
-0
No files found.
litex_boards/platforms/qmtech_
EP4CE
15.py
→
litex_boards/platforms/qmtech_
ep4ce
15.py
View file @
9f11bfb0
File moved
litex_boards/targets/qmtech_
EP4CE
15.py
→
litex_boards/targets/qmtech_
ep4ce
15.py
View file @
9f11bfb0
...
...
@@ -14,7 +14,7 @@ from migen.genlib.resetsync import AsyncResetSynchronizer
from
litex.build.io
import
DDROutput
from
litex_boards.platforms
import
qmtech_
EP4CE
15
from
litex_boards.platforms
import
qmtech_
ep4ce
15
from
litex.soc.cores.clock
import
CycloneIVPLL
from
litex.soc.integration.soc_core
import
*
...
...
@@ -61,11 +61,11 @@ class _CRG(Module):
class
BaseSoC
(
SoCCore
):
def
__init__
(
self
,
sys_clk_freq
=
int
(
50e6
),
sdram_rate
=
"1:1"
,
**
kwargs
):
platform
=
qmtech_
EP4CE
15
.
Platform
()
platform
=
qmtech_
ep4ce
15
.
Platform
()
# SoCCore ----------------------------------------------------------------------------------
SoCCore
.
__init__
(
self
,
platform
,
sys_clk_freq
,
ident
=
"LiteX SoC on
qmtech_
EP4CE15"
,
ident
=
"LiteX SoC on
QMTECH
EP4CE15"
,
ident_version
=
True
,
**
kwargs
)
...
...
@@ -95,10 +95,10 @@ class BaseSoC(SoCCore):
# Build --------------------------------------------------------------------------------------------
def
main
():
parser
=
argparse
.
ArgumentParser
(
description
=
"LiteX SoC on
qmtech_
EP4CE15"
)
parser
=
argparse
.
ArgumentParser
(
description
=
"LiteX SoC on
QMTECH
EP4CE15"
)
parser
.
add_argument
(
"--build"
,
action
=
"store_true"
,
help
=
"Build bitstream"
)
parser
.
add_argument
(
"--load"
,
action
=
"store_true"
,
help
=
"Load bitstream"
)
parser
.
add_argument
(
"--sdram-rate"
,
default
=
"1:1"
,
help
=
"SDRAM Rate
1:1 Full Rate (default),
1:2 Half Rate"
)
parser
.
add_argument
(
"--sdram-rate"
,
default
=
"1:1"
,
help
=
"SDRAM Rate
: 1:1 Full Rate (default) or
1:2 Half Rate"
)
builder_args
(
parser
)
soc_sdram_args
(
parser
)
args
=
parser
.
parse_args
()
...
...
test/test_targets.py
View file @
9f11bfb0
...
...
@@ -81,6 +81,7 @@ class TestTargets(unittest.TestCase):
# Intel Cyclone4
platforms
.
append
(
"de0nano"
)
platforms
.
append
(
"de2_115"
)
platforms
.
append
(
"qmtech_ep4ce15"
)
# Intel Cyclone5
platforms
.
append
(
"de1soc"
)
...
...
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