Skip to content

Commit

Permalink
pins were assigned in project file
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilLord666 committed Jul 14, 2023
1 parent 8ba49d3 commit d658218
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ was designed project `SerialPortEcho`. This project receive bytes from serial po
#### 2.1.1 Demo project on board pinout

* `CLK` - global clock - already on the board -> `DIFFCLK_1P`
* `RX` - `RS232` `RX` line - connected to `U8` 20 pin -> `IO_AB19`
* `TX` - `RS232` `TX` line - connected to `U8` 22 pin -> `IO_AB20`
* `RTS` - we **don't USE it** in this demo **because simple `TTL` to `RS232` converter**, but anyway we connect it to `U8` 24 pin -> `IO_Y21`
* `RX` - `RS232` `RX` line - connected to `U8` `20 pin` -> `IO_AB19`
* `TX` - `RS232` `TX` line - connected to `U8` `22 pin` -> `IO_AB20`
* `RTS` - we **don't USE it** in this demo **because simple `TTL` to `RS232` converter**, but anyway we connect it to `U8` `24 pin` -> `IO_Y21`
* `CTS` - we don't USE it in this demo because simple `TTL` to `RS232` converter,
but anyway we connect it to `U8` 26 pin -> `IO_W21`
but anyway we connect it to `U8` `26 pin` -> `IO_W21`
* `RX_LED` - connect it to `D5 LED` -> `DIFFIO_L3P`
* `TX_LED` - don't have on board free `LED`, therefore just out it to pin 30 of `U8` (`IO_U21`)

Expand Down
16 changes: 15 additions & 1 deletion SerialPortEcho/serial_echo.qsf
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,18 @@ set_global_assignment -name EDA_TEST_BENCH_NAME serial_echo_tb -section_id eda_s
set_global_assignment -name EDA_DESIGN_INSTANCE_NAME NA -section_id serial_echo_tb
set_global_assignment -name EDA_TEST_BENCH_MODULE_NAME serial_echo_tb -section_id serial_echo_tb
set_global_assignment -name EDA_TEST_BENCH_FILE serial_echo_tb.v -section_id serial_echo_tb
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to clk
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to cts
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to rts
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to rx
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to rx_led
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to tx
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to tx_led
set_location_assignment PIN_T2 -to clk
set_location_assignment PIN_AB19 -to rx
set_location_assignment PIN_AB20 -to tx
set_location_assignment PIN_Y21 -to rts
set_location_assignment PIN_W21 -to cts
set_location_assignment PIN_C2 -to rx_led
set_location_assignment PIN_U21 -to tx_led

0 comments on commit d658218

Please sign in to comment.