fhdl/specials: MemoryPort.clock should always be a ClockSignal
This commit is contained in:
parent
262fd50677
commit
1861ae9d01
|
@ -193,10 +193,7 @@ class _MemoryPort(Special):
|
||||||
self.re = re
|
self.re = re
|
||||||
self.we_granularity = we_granularity
|
self.we_granularity = we_granularity
|
||||||
self.mode = mode
|
self.mode = mode
|
||||||
if isinstance(clock_domain, str):
|
|
||||||
self.clock = ClockSignal(clock_domain)
|
self.clock = ClockSignal(clock_domain)
|
||||||
else:
|
|
||||||
self.clock = clock_domain
|
|
||||||
|
|
||||||
def iter_expressions(self):
|
def iter_expressions(self):
|
||||||
for attr, target_context in [
|
for attr, target_context in [
|
||||||
|
|
Loading…
Reference in New Issue