Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kestrel Collaboration
Kestrel LiteX
migen
Commits
9031bfed
Commit
9031bfed
authored
5 years ago
by
Sebastien Bourdeauducq
Browse files
Options
Download
Email Patches
Plain Diff
metlino: add VHDCI EEM carrier connector
parent
83b209e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
157 additions
and
1 deletion
+157
-1
migen/build/platforms/sinara/metlino.py
migen/build/platforms/sinara/metlino.py
+157
-1
No files found.
migen/build/platforms/sinara/metlino.py
View file @
9031bfed
...
@@ -167,12 +167,168 @@ _io = [
...
@@ -167,12 +167,168 @@ _io = [
]
]
# via VHDCI carrier v1.1
_connectors
=
[
(
"eem0"
,
{
"d0_cc_n"
:
"E21"
,
"d0_cc_p"
:
"E20"
,
"d1_n"
:
"D26"
,
"d1_p"
:
"E26"
,
"d2_n"
:
"D21"
,
"d2_p"
:
"D20"
,
"d3_n"
:
"F25"
,
"d3_p"
:
"G24"
,
"d4_n"
:
"B22"
,
"d4_p"
:
"B21"
,
"d5_n"
:
"C23"
,
"d5_p"
:
"D23"
,
"d6_n"
:
"A24"
,
"d6_p"
:
"B24"
,
"d7_n"
:
"D25"
,
"d7_p"
:
"E25"
,
}),
(
"eem1"
,
{
"d0_cc_n"
:
"C22"
,
"d0_cc_p"
:
"C21"
,
"d1_n"
:
"A28"
,
"d1_p"
:
"A27"
,
"d2_n"
:
"F24"
,
"d2_p"
:
"F23"
,
"d3_n"
:
"A29"
,
"d3_p"
:
"B29"
,
"d4_n"
:
"B27"
,
"d4_p"
:
"C27"
,
"d5_n"
:
"A20"
,
"d5_p"
:
"B20"
,
"d6_n"
:
"C28"
,
"d6_p"
:
"D28"
,
"d7_n"
:
"E23"
,
"d7_p"
:
"E22"
,
}),
(
"eem2"
,
{
"d0_cc_n"
:
"A25"
,
"d0_cc_p"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6_n"
:
"AC21"
,
"d6_p"
:
"AB21"
,
"d7_n"
:
"AA25"
,
"d7_p"
:
"AA24"
,
}),
(
"eem6"
,
{
"d0_cc_n"
:
"AB22"
,
"d0_cc_p"
:
"AA22"
,
"d1_n"
:
"AB26"
,
"d1_p"
:
"AB25"
,
"d2_n"
:
"AF28"
,
"d2_p"
:
"AE28"
,
"d3_n"
:
"AC23"
,
"d3_p"
:
"AC22"
,
"d4_n"
:
"AE30"
,
"d4_p"
:
"AD29"
,
"d5_n"
:
"AG32"
,
"d5_p"
:
"AG31"
,
"d6_n"
:
"AB32"
,
"d6_p"
:
"AA32"
,
"d7_n"
:
"AA23"
,
"d7_p"
:
"Y23"
,
}),
(
"eem7"
,
{
"d0_cc_n"
:
"AF32"
,
"d0_cc_p"
:
"AE32"
,
"d1_n"
:
"AD34"
,
"d1_p"
:
"AC34"
,
"d2_n"
:
"AG29"
,
"d2_p"
:
"AF29"
,
"d3_n"
:
"AB27"
,
"d3_p"
:
"AA27"
,
"d4_n"
:
"AC27"
,
"d4_p"
:
"AC26"
,
"d5_n"
:
"AF27"
,
"d5_p"
:
"AE27"
,
"d6_n"
:
"AG34"
,
"d6_p"
:
"AF33"
,
"d7_n"
:
"AC32"
,
"d7_p"
:
"AC31"
,
}),
]
class
Platform
(
XilinxPlatform
):
class
Platform
(
XilinxPlatform
):
default_clk_name
=
"clk50"
default_clk_name
=
"clk50"
default_clk_period
=
20.0
default_clk_period
=
20.0
def
__init__
(
self
):
def
__init__
(
self
):
XilinxPlatform
.
__init__
(
self
,
"xcku040-ffva1156-1-c"
,
_io
,
toolchain
=
"vivado"
)
XilinxPlatform
.
__init__
(
self
,
"xcku040-ffva1156-1-c"
,
_io
,
_connectors
,
toolchain
=
"vivado"
)
self
.
toolchain
.
bitstream_commands
.
extend
([
self
.
toolchain
.
bitstream_commands
.
extend
([
"set_property BITSTREAM.CONFIG.OVERTEMPSHUTDOWN Enable [current_design]"
,
"set_property BITSTREAM.CONFIG.OVERTEMPSHUTDOWN Enable [current_design]"
,
"set_property BITSTREAM.GENERAL.COMPRESS True [current_design]"
,
"set_property BITSTREAM.GENERAL.COMPRESS True [current_design]"
,
...
...
This diff is collapsed.
Click to expand it.
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