This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from litex.soc.interconnect import stream | |
def testFrameDescriptor(dw): | |
_payload_layout = [ | |
("data", dw), | |
] | |
return stream.EndpointDescription(_payload_layout) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
from migen.fhdl.module import Module | |
from migen.fhdl.bitcontainer import * | |
from migen.fhdl.structure import Replicate | |
from migen import * | |
from migen.genlib.fsm import FSM, NextState, NextValue | |
from litex.soc.interconnect import stream | |
from testframe import testFrameDescriptor |