fhdl.ir: add tests for port propagation.
This commit is contained in:
parent
c60392595b
commit
b1a89ef5fd
3 changed files with 78 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ class Fragment:
|
|||
assert isinstance(subfragment, Fragment)
|
||||
self.subfragments.append((subfragment, name))
|
||||
|
||||
def _propagate_ports(self, ports, clock_domains):
|
||||
def _propagate_ports(self, ports, clock_domains={}):
|
||||
# Collect all signals we're driving (on LHS of statements), and signals we're using
|
||||
# (on RHS of statements, or in clock domains).
|
||||
self_driven = union(s._lhs_signals() for s in self.statements)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue