mirror of
https://github.com/saymrwulf/litex-boards.git
synced 2026-11-21 09:54:20 +00:00
targets: icebreaker: Minor style fixes.
This commit is contained in:
parent
738967176c
commit
3ac9d927a9
1 changed files with 12 additions and 11 deletions
|
|
@ -28,6 +28,7 @@ import litex.soc.cores.cpu
|
||||||
|
|
||||||
import os, shutil, subprocess
|
import os, shutil, subprocess
|
||||||
|
|
||||||
|
|
||||||
class JumpToAddressROM(wishbone.SRAM):
|
class JumpToAddressROM(wishbone.SRAM):
|
||||||
def __init__(self, size, addr):
|
def __init__(self, size, addr):
|
||||||
data = [
|
data = [
|
||||||
|
|
@ -39,6 +40,7 @@ class JumpToAddressROM(wishbone.SRAM):
|
||||||
|
|
||||||
# CRG ----------------------------------------------------------------------------------------------
|
# CRG ----------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
class _CRG(Module, AutoDoc):
|
class _CRG(Module, AutoDoc):
|
||||||
"""Icebreaker Clock Resource Generator
|
"""Icebreaker Clock Resource Generator
|
||||||
|
|
||||||
|
|
@ -79,8 +81,7 @@ class _CRG(Module, AutoDoc):
|
||||||
|
|
||||||
self.sync.por += \
|
self.sync.por += \
|
||||||
If(reset_delay != 0,
|
If(reset_delay != 0,
|
||||||
reset_delay.eq(reset_delay - 1)
|
reset_delay.eq(reset_delay - 1))
|
||||||
)
|
|
||||||
self.specials += AsyncResetSynchronizer(self.cd_por, self.reset)
|
self.specials += AsyncResetSynchronizer(self.cd_por, self.reset)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue