mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
cores/dna: Reduce default clk_divider to 2.
To fix https://github.com/enjoy-digital/litex/issues/1516.
This commit is contained in:
parent
838719c276
commit
b2053b7c52
1 changed files with 1 additions and 2 deletions
|
@ -13,11 +13,10 @@ from litex.gen import *
|
|||
|
||||
from litex.soc.interconnect.csr import *
|
||||
|
||||
|
||||
# Xilinx DNA (Device Identifier) -------------------------------------------------------------------
|
||||
|
||||
class XilinxDNA(Module, AutoCSR):
|
||||
def __init__(self, nbits=57, primitive="DNA_PORT", clk_divider=16):
|
||||
def __init__(self, nbits=57, primitive="DNA_PORT", clk_divider=2):
|
||||
self.nbits = nbits
|
||||
self.clk_divider = clk_divider
|
||||
self._id = CSRStatus(nbits)
|
||||
|
|
Loading…
Reference in a new issue