URL
https://opencores.org/ocsvn/uart_fpga_slow_control_migrated/uart_fpga_slow_control_migrated/trunk
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
14 |
aborga |
Control the activity and status of your FPGA by targeting a memory mapped space inside it.
|
2 |
|
|
|
3 |
|
|
Based on:
|
4 |
|
|
|
5 |
|
|
-- elements from the GH libraries ( http://opencores.org/project,gh_vhdl_library )
|
6 |
|
|
-- HLeFevre UART project ( http://opencores.org/project,a_vhd_16550_uart )
|
7 |
|
|
|
8 |
|
|
Simple three steps access procedure:
|
9 |
|
|
|
10 |
|
|
-- Write words of 2 bytes address and 4 bytes data.
|
11 |
|
|
-- Ask for an update targeting the update register (default 0x8000 0x00000000)
|
12 |
|
|
-- Read words of 2 bytes address and 4 bytes data.
|
13 |
|
|
|
14 |
|
|
The code comes plug and play:
|
15 |
|
|
* the whole uart initialization process is automatic
|
16 |
|
|
* 4 pins interface to the outsideworld: serial tx, serial rx, uart clock, hard reset
|
17 |
|
|
* up to 2^16 32 bit wide registers for user logic control and monitor
|
18 |
|
|
|
19 |
|
|
Declare the registers you want to read and write in the top level entity. the rest will be handled automatically by FSMs.
|
20 |
|
|
|
21 |
|
|
Almost no documentation is required.
|
22 |
|
|
no knowledge of the internals of the core required.
|
23 |
|
|
The top entity is self-explanatory.
|
24 |
|
|
|
25 |
27 |
aborga |
Remotely control the logic from a PC:
|
26 |
|
|
~ Under Windows use RealTerm to simply send and receive HEX commands ( http://realterm.sourceforge.net/ ).
|
27 |
29 |
aborga |
~ Simple Python script to drive the uart via command line in linux (see software details tab above).
|
28 |
27 |
aborga |
~ TCP/IP to UART bridging is just around the corner using inexpensive external devices.
|
29 |
14 |
aborga |
|
30 |
29 |
aborga |
|
31 |
14 |
aborga |
crossplatform compatible (tested on Xilinx Virtex-5 and Altera Stratix-4 devices). Tested up to 1 Mbps with a 29.4912 MHz oscillator.
|
32 |
|
|
|
33 |
29 |
aborga |
|
34 |
14 |
aborga |
## Feeback:
|
35 |
29 |
aborga |
Give comments and feedback using the official core thread on the OpenCores forum:
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.