8000 GitHub · Where software is built
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
uart_tx and uart_rx seem to have wrong direction in the Verilog framework file for the ECPIX5-Board #254
Open
@at91rm9200

Description

@at91rm9200

Hello Sylvain,

it looks as if the directions of the signals uart_tx and uart_rx are swapped in the Verilog framework file for the ECPIX5 board.

module top(
  // basic
  output [11:0] leds,
`ifdef UART
  // uart
  output  uart_rx, // ?
  input   uart_tx, // ?
`endif

Regards, Bernd.

Edit:
this is confusing. According to the schematics of the board, uart_rx is indeed an output and uart_tx is an input.

But then, I don't understand the following declarations in the Verilog framework file:

M_main __main(
  .reset         (RST_q[0]),
  .in_run        (run_main),
  .out_leds      (__main_leds),
`ifdef UART
  .out_uart_tx  (uart_tx), // shouldn't this be then input?
  .in_uart_rx   (uart_rx), // shouldn't this be then output?
`endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0