projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faf185d
)
targets/simple: manual instantiation of CRG (automatic insertion works for BaseSoC...
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Tue, 17 Mar 2015 00:07:44 +0000
(
01:07
+0100)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Tue, 17 Mar 2015 00:07:44 +0000
(
01:07
+0100)
targets/simple.py
patch
|
blob
|
history
diff --git
a/targets/simple.py
b/targets/simple.py
index eb8e183f14864d2fd62131465dc1c15e311d0365..7d16171184119cb6b9a03a00f07448b9be783733 100644
(file)
--- a/
targets/simple.py
+++ b/
targets/simple.py
@@
-1,5
+1,6
@@
from migen.fhdl.std import *
from migen.bus import wishbone
+from migen.genlib.io import CRG
from misoclib.soc import SoC, mem_decoder
from misoclib.com.liteeth.phy import LiteEthPHY
@@
-12,6
+13,7
@@
class BaseSoC(SoC):
with_rom=True,
with_main_ram=True, main_ram_size=16*1024,
**kwargs)
+ self.submodules.crg = CRG(platform.request(platform.default_clk_name))
class MiniSoC(BaseSoC):
csr_map = {