UART Connectivity to OSx using the Lattice iCE40 HX

I am running the demo titled ‘Hello World - Prints “Hello World” when ‘h’ is received over the UART port”

The documentation for this demo is no longer available:

https://alchitry.com/tutorials/verilog/mojo/hello-world/

I wanted to know what is the correct baud rate I should use for connecting via UART to the board. I’ve used the following command:

screen /dev/tty.usbserial-FT4MG9OV0 1000000

To match the pre-defined coded example and I have also used the 115200 rate and changed the code to match this rate:

        .rst(rst) {
            greeter greeter // instance of our greeter
            uart_rx uart_rx(#BAUD(115_200), #CLK_FREQ(100_000_000))
            uart_tx uart_tx(#BAUD(115_200), #CLK_FREQ(100_000_000))
        }

But cannot seem to get connectivity. Can someone please provide any examples or guidance on how to make this successful or any other “Hello World” examples?

Best regards

Hello,

If you need, the old tutorial you are referring to is still available here :

You can find updated tutorials here (but these are written in Lucid instead of Verilog) :
UART :

Hello world over UART :

I am looking for help to use this on an OSX operating system: I’m looking for the right parameters to use e.g. baud rates etc

The baudrate should be the one specified in the BAUD parameter on the FPGA side : BAUD(115_200) => 115200 bauds and with this tutorials it’s 8 data bits and 1 stop bit, no parity and no hardware control.