amaranth-boards
amaranth-boards copied to clipboard
Add support for MCH2022 badge
Based on the pin constraints file by Sylvain Munaut @smunaut: https://github.com/badgeteam/mch2022-firmware-ice40/blob/master/projects/_common/data/mch2022-proto4.pcf
Is there anyway to specify some pins are input only, or open-drain outputs ? Like LCD_MODE is an input and shouldn't be driven. The IRQ and LCD reset, LCD chipselect are also open-drain and shouldn't be actively driven high.
Is there anyway to specify some pins are input only, or open-drain outputs ?
dir="i", dir="oe"
Ok great thanks for the tip. Then I'd probably include that to make sure things are driven the way they are meant to :grin:
Should only these three addition pins be constraint in their direction and drive strength or all pins according to the schematic?
I can imagine that someone might want to use the 8 pins of the data bus going to the display as additional inputs pins for example, without having to use a different board definition.
I don't see any issue in doing only those 3. They're the only ones that are also connected to the ESP and so can create contention and so it's better if they're driven by default the correct way. The others like the LCD data are only connected to the LCD and the LCD is hardwired in write mode so it'll never drive the lines.