Skip to content

Commit

Permalink
Add lcd_backlight IO
Browse files Browse the repository at this point in the history
  • Loading branch information
GregAC committed Feb 20, 2024
1 parent 50e49b9 commit 9023870
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions data/pins_sonata.xdc
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ set_property -dict { PACKAGE_PIN U4 IOSTANDARD LVCMOS33 } [get_ports lcd_dc];
set_property -dict { PACKAGE_PIN R3 IOSTANDARD LVCMOS33 } [get_ports lcd_copi];
set_property -dict { PACKAGE_PIN R5 IOSTANDARD LVCMOS33 } [get_ports lcd_clk];
set_property -dict { PACKAGE_PIN P5 IOSTANDARD LVCMOS33 } [get_ports lcd_cs];
set_property -dict { PACKAGE_PIN N5 IOSTANDARD LVCMOS33 } [get_ports lcd_backlight];

## UART
set_property -dict { PACKAGE_PIN C17 IOSTANDARD LVCMOS33 } [get_ports ser0_tx];
Expand Down
4 changes: 1 addition & 3 deletions rtl/fpga/top_sonata.sv
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module top_sonata (
output logic lcd_copi,
output logic lcd_clk,
output logic lcd_cs,
output logic lcd_backlight,

output logic ser0_tx,
input logic ser0_rx,
Expand Down Expand Up @@ -62,9 +63,6 @@ module top_sonata (
assign nav_sw_n = ~nav_sw;
assign user_sw_n = ~user_sw;

// No LCD backlight FPGA IO on v0.2 board, so leave this unconnected
logic lcd_backlight;

ibex_demo_system #(
.GpiWidth(13),
.GpoWidth(12),
Expand Down

0 comments on commit 9023870

Please sign in to comment.