Steward
分享是一種喜悅、更是一種幸福
微處理器 - Gowin GW1NZ-LV1QN48C6/I5 (Lichee Tang Nano 1K) - Verilog - Button
參考資訊:
https://github.com/sifferman/tangnano_example
https://github.com/racerxdl/tangnano-yosys-hello
main.vhd
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | library ieee ; use ieee . std_logic_1164 . all; entity main is port ( btn : in bit ; led : out bit ); end main ; architecture logic of main is begin led <= btn; end logic ; |
main.cst
IO_LOC "led" 9; IO_LOC "btn" 44;
完成