We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subsignal
Connectors
Occasionally, it is possible a user will want to add their custom Resource to their boards Connectors that matches the following conditions:
Resource
Connector
Pins
omigen already handles this case by hardcoding the connector to use into the Pins string, as per this example on the b Subsignal.
omigen
b
What should the equivalent nmigen behavior be?
nmigen
vga = [ ("vga_out", 0, Subsignal("hsync", PinsN("3", dir="o", conn=("led", 0))), Subsignal("vsync", PinsN("4", dir="o", conn=("led", 0))), Subsignal("r", Pins("1 2 3", dir="o", conn=("dio", 0))), Subsignal("g", Pins("4 5 6", dir="o", conn=("dio", 0))), Subsignal("b", Pins("7", dir="o", conn=("dio", 0)), Pins("1", dir="o", conn=("clkio", 0))), Attrs(IOSTANDARD="LVCMOS33", SLEW="FAST") ) ]
The text was updated successfully, but these errors were encountered:
That's already handled by doing something like:
vga = [ ("vga_out", 0, Subsignal("hsync", PinsN("led_0:3", dir="o")), Subsignal("vsync", PinsN("led_0:4", dir="o")), Subsignal("r", Pins("dio_0:1 dio_0:2 dio_0:3", dir="o")), Subsignal("g", Pins("dio_0:4 dio_0:5 dio_0:6", dir="o")), Subsignal("b", Pins("dio_0:7 clkio_0:1", dir="o")), Attrs(IOSTANDARD="LVCMOS33", SLEW="FAST") ) ]
Sorry, something went wrong.
No branches or pull requests
Occasionally, it is possible a user will want to add their custom
Resource
to their boardsConnector
s that matches the following conditions:Subsignal
of their shiny newResource
has multiplePins
that should be associated with it.Pins
of thisSubsignal
will be spread out across multipleConnector
s.omigen
already handles this case by hardcoding the connector to use into thePins
string, as per this example on theb
Subsignal
.What should the equivalent
nmigen
behavior be?My Proposal
The text was updated successfully, but these errors were encountered: