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
94c5fba0
Commit
94c5fba0
authored
12 years ago
by
Sebastien Bourdeauducq
Browse files
Options
Download
Email Patches
Plain Diff
corelogic: fix signal exports
parent
4f4d809a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
migen/corelogic/divider.py
migen/corelogic/divider.py
+6
-6
migen/corelogic/roundrobin.py
migen/corelogic/roundrobin.py
+2
-2
No files found.
migen/corelogic/divider.py
View file @
94c5fba0
...
@@ -4,12 +4,12 @@ class Inst:
...
@@ -4,12 +4,12 @@ class Inst:
def
__init__
(
self
,
w
):
def
__init__
(
self
,
w
):
self
.
w
=
w
self
.
w
=
w
start_i
=
Signal
()
self
.
start_i
=
Signal
()
dividend_i
=
Signal
(
BV
(
w
))
self
.
dividend_i
=
Signal
(
BV
(
w
))
divisor_i
=
Signal
(
BV
(
w
))
self
.
divisor_i
=
Signal
(
BV
(
w
))
ready_o
=
Signal
()
self
.
ready_o
=
Signal
()
quotient_o
=
Signal
(
BV
(
w
))
self
.
quotient_o
=
Signal
(
BV
(
w
))
remainder_o
=
Signal
(
BV
(
w
))
self
.
remainder_o
=
Signal
(
BV
(
w
))
def
get_fragment
(
self
):
def
get_fragment
(
self
):
w
=
self
.
w
w
=
self
.
w
...
...
This diff is collapsed.
Click to expand it.
migen/corelogic/roundrobin.py
View file @
94c5fba0
...
@@ -4,8 +4,8 @@ class Inst:
...
@@ -4,8 +4,8 @@ class Inst:
def
__init__
(
self
,
n
):
def
__init__
(
self
,
n
):
self
.
n
=
n
self
.
n
=
n
self
.
bn
=
bits_for
(
self
.
n
-
1
)
self
.
bn
=
bits_for
(
self
.
n
-
1
)
request
=
Signal
(
BV
(
self
.
n
))
self
.
request
=
Signal
(
BV
(
self
.
n
))
grant
=
Signal
(
BV
(
self
.
bn
))
self
.
grant
=
Signal
(
BV
(
self
.
bn
))
def
get_fragment
(
self
):
def
get_fragment
(
self
):
cases
=
[]
cases
=
[]
...
...
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