projects
/
libresoc-litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42d6931
)
try setting actual clk to pllclk_o
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 9 Jun 2021 13:46:29 +0000
(14:46 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 9 Jun 2021 13:46:29 +0000
(14:46 +0100)
ls180soc.py
patch
|
blob
|
history
diff --git
a/ls180soc.py
b/ls180soc.py
index a24083977bc4123de781c606d90f9740d340ccc9..5f91d69ecd78b2426077476436c48d7c8b786191 100755
(executable)
--- a/
ls180soc.py
+++ b/
ls180soc.py
@@
-433,7
+433,8
@@
class LibreSoCSim(SoCCore):
self.comb += self.cpu.clk_sel.eq(clksel_i) # allow clock src select
self.comb += pll_test_o.eq(self.cpu.pll_test_o) # "test" from PLL
self.comb += pll_vco_o.eq(self.cpu.pll_vco_o) # PLL lock flag
- self.comb += self.cpu.clk.eq(self.cpu.pllclk_o) # PLL out into cpu
+ clk = ClockSignal()
+ self.comb += clk.eq(self.cpu.pllclk_o) # PLL out into cpu
#ram_init = []