targets: icebreaker: Minor style fixes.

This commit is contained in:
Piotr Esden-Tempski 2020-02-05 14:49:05 -08:00
parent 738967176c
commit 3ac9d927a9
1 changed files with 12 additions and 11 deletions

View File

@ -28,6 +28,7 @@ import litex.soc.cores.cpu
import os, shutil, subprocess
class JumpToAddressROM(wishbone.SRAM):
def __init__(self, size, addr):
data = [
@ -39,6 +40,7 @@ class JumpToAddressROM(wishbone.SRAM):
# CRG ----------------------------------------------------------------------------------------------
class _CRG(Module, AutoDoc):
"""Icebreaker Clock Resource Generator
@ -79,8 +81,7 @@ class _CRG(Module, AutoDoc):
self.sync.por += \
If(reset_delay != 0,
reset_delay.eq(reset_delay - 1)
)
reset_delay.eq(reset_delay - 1))
self.specials += AsyncResetSynchronizer(self.cd_por, self.reset)