Skip to content

Commit

Permalink
Use USB-C UART on Tangnano20k
Browse files Browse the repository at this point in the history
Signed-off-by: YRabbit <[email protected]>
  • Loading branch information
yrabbit committed Oct 23, 2024
1 parent 93db64e commit 0a01d6a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apycula/clock_fuzzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def make_lw_aliases(fse, dat: dat19.Datfile, db, quads, clks):
db.aliases.update({(row, col, f'LB{lw + 4}1') : (row, tap_col, f'LBO1')})

if __name__ == "__main__":
if True:
if False:
quads = quadrants()

srcs = {}
Expand Down
11 changes: 6 additions & 5 deletions examples/himbaechel/tangnano20k.cst
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ IO_PORT "key_i" IO_TYPE=LVCMOS33;
IO_LOC "rst_i" 88;
IO_PORT "rst_i" IO_TYPE=LVCMOS33;

IO_LOC "TXD" 26;
IO_PORT "TXD" PULL_MODE=UP;
IO_LOC "RXD" 48;
IO_PORT "RXD" PULL_MODE=UP;
// USB-C UART
IO_LOC "TXD" 69;
IO_PORT "TXD" PULL_MODE=NONE;
IO_LOC "RXD" 70;
IO_PORT "RXD" PULL_MODE=NONE;

IO_LOC "LED_R" 15;
IO_LOC "LED_G" 16;
Expand Down Expand Up @@ -117,4 +118,4 @@ IO_PORT "tmds_d_p[2]" PULL_MODE=NONE;
IO_LOC "tmds_d_n[2]" 40;
IO_PORT "tmds_d_n[2]" PULL_MODE=NONE;

IO_LOC "div_led" 15;
IO_LOC "div_led" 15;

0 comments on commit 0a01d6a

Please sign in to comment.