forked from M-Labs/artiq-zynq
frameline GW: update to use word_width
This commit is contained in:
parent
d46b617c30
commit
fc90de78ab
@ -26,7 +26,7 @@ class End_Of_Line_Inserter(Module):
|
||||
self.l_size = Signal(3*char_width)
|
||||
|
||||
self.sink = stream.Endpoint(word_layout_dchar)
|
||||
self.source = stream.Endpoint([("data", word_dw)]) # pixel data don't need k code
|
||||
self.source = stream.Endpoint([("data", word_width)]) # pixel data don't need k code
|
||||
|
||||
# # #
|
||||
|
||||
@ -128,7 +128,7 @@ class CXPCRC32_Checker(Module):
|
||||
|
||||
# # #
|
||||
|
||||
self.submodules.crc = crc = CXPCRC32(word_dw)
|
||||
self.submodules.crc = crc = CXPCRC32(word_width)
|
||||
self.comb += crc.data.eq(self.sink.data),
|
||||
|
||||
self.submodules.fsm = fsm = FSM(reset_state="INIT")
|
||||
@ -368,7 +368,7 @@ class Pixel_Gearbox(Module):
|
||||
|
||||
self.x_size = Signal(3*char_width)
|
||||
|
||||
sink_dw, source_dw = word_dw, size*4
|
||||
sink_dw, source_dw = word_width, size*4
|
||||
self.sink = stream.Endpoint([("data", sink_dw)])
|
||||
self.source = stream.Endpoint(pixel4x_layout)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user