whitequark changed the topic of #amaranth-lang to: Amaranth hardware definition language · code https://github.com/amaranth-lang · logs https://libera.irclog.whitequark.org/amaranth-lang
lf has quit [Ping timeout: 246 seconds]
lf has joined #amaranth-lang
mwk has quit [Ping timeout: 272 seconds]
mwk has joined #amaranth-lang
Degi_ has joined #amaranth-lang
Degi has quit [Ping timeout: 248 seconds]
Degi_ is now known as Degi
antoinevg[m] has joined #amaranth-lang
indy has joined #amaranth-lang
Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
Mrmaxmeier has joined #amaranth-lang
indy has quit [Ping timeout: 246 seconds]
indy has joined #amaranth-lang
indy has quit [Ping timeout: 248 seconds]
indy has joined #amaranth-lang
indy has quit [Ping timeout: 255 seconds]
indy has joined #amaranth-lang
Whsky has joined #amaranth-lang
<Whsky> Hey all, I have a config question.  I'm trying to get an LCD display running on an old Spartan3e dev board. I wrote a controller module and wired it up in a top module. When I try to build I get an error during the MAP stage saying that all the logic has been trimmed because it's not connected to any pads.
<Whsky> my board definition has the following:
<Whsky>         Resource("lcd", 0,
<Whsky>             Subsignal("e", Pins("M18", dir='o')),
<Whsky>             Subsignal("rs", Pins("L18", dir='o')),
<Whsky>             Subsignal("rw", Pins("L17", dir='o')),
<Whsky>             Subsignal("d", Pins("R15 R16 P17 M15", dir='o')),
<Whsky>             Attrs(IOSTANDARD="LVCMOS33", DRIVE="4", SLEW="SLOW")),
<Whsky> and my top module has the following:
<Whsky>         lcd_hw = platform.request("lcd", 0)
<Whsky>         lcd_controller = LCD_Controller()
<Whsky>         m.submodules += lcd_controller
<Whsky>         m.d.comb += lcd_hw.e.o.eq(lcd_controller.lcd_e)
<Whsky>         m.d.comb += lcd_hw.rs.o.eq(lcd_controller.lcd_rs)
<Whsky>         m.d.comb += lcd_hw.rw.o.eq(lcd_controller.lcd_rw)
<Whsky>         m.d.comb += lcd_hw.d.o.eq(lcd_controller.lcd_data)
<Whsky> does all that look right, or am I not connecting or defining something properly? It does build and program if I connect everything to LEDs instead of the LCD pins
GenTooMan has quit [Ping timeout: 255 seconds]
GenTooMan has joined #amaranth-lang