Skip to content

Commit

Permalink
consisten names for Intel clock domain generators
Browse files Browse the repository at this point in the history
  • Loading branch information
hansfbaier committed Jan 25, 2022
1 parent 45a8b25 commit 358e9d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions gateware/car.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def wire_up_reset(self, m, reset):
m.submodules.reset_sync_dac = ResetSynchronizer(reset, domain="dac")
m.submodules.reset_sync_adat = ResetSynchronizer(reset, domain="adat")

class IntelFPGAClockDomainGenerator(Elaboratable, ClockDomainGeneratorBase):
class IntelCycloneIVClockDomainGenerator(Elaboratable, ClockDomainGeneratorBase):
ADAT_DIV_48k = 83
ADAT_MULT_48k = 17

Expand Down Expand Up @@ -157,7 +157,7 @@ def elaborate(self, platform):
return m


class IntelCycloneVFPGAClockDomainGenerator(Elaboratable, ClockDomainGeneratorBase):
class IntelCycloneVClockDomainGenerator(Elaboratable, ClockDomainGeneratorBase):

def __init__(self, *, clock_frequencies=None, clock_signal_name=None):
pass
Expand Down
8 changes: 4 additions & 4 deletions gateware/platforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from luna.gateware.platform.core import LUNAPlatform

from car import IntelFPGAClockDomainGenerator, IntelCycloneVFPGAClockDomainGenerator, Xilinx7SeriesClockDomainGenerator
from car import IntelCycloneIVClockDomainGenerator, IntelCycloneVClockDomainGenerator, Xilinx7SeriesClockDomainGenerator
from adatface_rev0_baseboard import ADATFaceRev0Baseboard

class IntelFPGAParameters:
Expand All @@ -34,7 +34,7 @@ class IntelFPGAParameters:

class ADATFaceCycloneV(QMTech5CEFA2Platform, LUNAPlatform):
fast_multiplier = 9
clock_domain_generator = IntelCycloneVFPGAClockDomainGenerator
clock_domain_generator = IntelCycloneVClockDomainGenerator
fast_domain_clock_freq = int(48e3 * 256 * fast_multiplier)

@property
Expand All @@ -54,7 +54,7 @@ def __init__(self):

class ADATFaceCycloneIV(QMTechEP4CEPlatform, LUNAPlatform):
fast_multiplier = 9
clock_domain_generator = IntelFPGAClockDomainGenerator
clock_domain_generator = IntelCycloneIVClockDomainGenerator
fast_domain_clock_freq = int(48e3 * 256 * fast_multiplier)

@property
Expand All @@ -75,7 +75,7 @@ def __init__(self):
# This is here just for experimental reasons.
# right now the design probably would not fit into this device anymore
class ADATFaceCyclone10(QMTech10CL006Platform, LUNAPlatform):
clock_domain_generator = IntelFPGAClockDomainGenerator
clock_domain_generator = IntelCycloneIVClockDomainGenerator
fast_multiplier = 9
fast_domain_clock_freq = int(48e3 * 256 * fast_multiplier)

Expand Down

0 comments on commit 358e9d2

Please sign in to comment.