Merge pull request #940 from betrusted-io/keyclear_merge
breakout the keyclearb pin for integration elsewhere
This commit is contained in:
commit
6b8a35a2f8
|
@ -28,6 +28,7 @@ class S7SPIOPI(Module, AutoCSR, AutoDoc):
|
||||||
self.cipo_name = cipo_name
|
self.cipo_name = cipo_name
|
||||||
self.spiread = spiread
|
self.spiread = spiread
|
||||||
self.gsr = Signal()
|
self.gsr = Signal()
|
||||||
|
self.keyclearb = Signal(reset=1)
|
||||||
self.cfgmclk = Signal()
|
self.cfgmclk = Signal()
|
||||||
|
|
||||||
self.dq = dq = TSTriple(7) # dq[0] is special because it is also copi
|
self.dq = dq = TSTriple(7) # dq[0] is special because it is also copi
|
||||||
|
@ -293,7 +294,7 @@ class S7SPIOPI(Module, AutoCSR, AutoDoc):
|
||||||
i_CLK = 0,
|
i_CLK = 0,
|
||||||
i_GSR = self.gsr,
|
i_GSR = self.gsr,
|
||||||
i_GTS = 0,
|
i_GTS = 0,
|
||||||
i_KEYCLEARB = 0,
|
i_KEYCLEARB = self.keyclearb,
|
||||||
i_PACK = 0,
|
i_PACK = 0,
|
||||||
i_USRDONEO = 1,
|
i_USRDONEO = 1,
|
||||||
i_USRDONETS = 1,
|
i_USRDONETS = 1,
|
||||||
|
|
Loading…
Reference in New Issue