Note that there are some explanatory texts on larger screens.

plurals
  1. POVerilog 8bits to X and X to 8 again
    primarykey
    data
    text
    <p>I've recently bought Mojo v3 which already has the UART module to communicate with the AVR and from the AVR to the computer.<br> My problem is: how do I connect this with other modules?<br> Let's say that I have a MD5 core that accepts X bytes, what's the best approach to read from the serial X chars until Enter is pressed and then send it back to the MD5 core?<br> Ok, I'm a newbie, let alone MD5, let's say that I just want to make a simple echo.<br> Where should I start? using FIFO? shift registers? simple arrays? BRAM?<br> This is the AVR interface (UART):<br></p> <pre><code>module avr_interface( input clk, input rst, input cclk, output spi_miso, input spi_mosi, input spi_sck, input spi_ss, output [3:0] spi_channel, output tx, input rx, input [3:0] channel, output new_sample, output [9:0] sample, output [3:0] sample_channel, input [7:0] tx_data, input new_tx_data, output tx_busy, input tx_block, output [7:0] rx_data, output new_rx_data ); </code></pre> <p>I'm using this tutorial as a base to learn more: <a href="http://embeddedmicro.com/tutorials/mojo/hello-world/" rel="nofollow">http://embeddedmicro.com/tutorials/mojo/hello-world/</a> <br>I've already made a simple echo byte by byte, but this is not the point. I just want the string echoed back when Enter is pressed. Thanks.</p> <p><strong>UPDATE:</strong><br> Mojo developer made an awesome example here:<br> <a href="http://embeddedmicro.com/forum/viewtopic.php?f=2&amp;t=697&amp;start=10" rel="nofollow">http://embeddedmicro.com/forum/viewtopic.php?f=2&amp;t=697&amp;start=10</a> <br>Thank you.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload