Skip to content

Commit

Permalink
gen.py: Export direction signals for controlling an external buffer
Browse files Browse the repository at this point in the history
Some platforms (e.g. Lambda Concepts ECPIX-5) connect to the SD card
via a buffer / level shifter, which needs these signals to indicate
which way it should drive.

Signed-off-by: Paul Mackerras <[email protected]>
  • Loading branch information
paulusmack committed Apr 2, 2024
1 parent 1e55953 commit 67382fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions litesdcard/gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
Subsignal("cmd", Pins(1)), # Note: Requires Pullup (internal or external).
Subsignal("clk", Pins(1)),
Subsignal("cd", Pins(1)),
Subsignal("cmd_dir", Pins(1)),
Subsignal("dat0_dir", Pins(1)),
Subsignal("dat13_dir", Pins(1)),
),
]

Expand Down

0 comments on commit 67382fd

Please sign in to comment.