Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
q3k committed Nov 27, 2018
0 parents commit 6ea64db
Show file tree
Hide file tree
Showing 9 changed files with 228 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitmodules
@@ -0,0 +1,9 @@
[submodule "third_party/litex"]
path = third_party/litex
url = https://github.com/enjoy-digital/litex.git
[submodule "third_party/migen"]
path = third_party/migen
url = https://github.com/m-labs/migen.git
[submodule "third_party/liteeth"]
path = third_party/liteeth
url = https://github.com/enjoy-digital/liteeth.git
1 change: 1 addition & 0 deletions CONTRIBUTORS
@@ -0,0 +1 @@
Copyright 2018 Sergiusz Bazanski <sergiusz@bazanski.pl>
44 changes: 44 additions & 0 deletions COPYING
@@ -0,0 +1,44 @@
## creative commons

# CC0 1.0 Universal

CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER.

### Statement of Purpose

The laws of most jurisdictions throughout the world automatically confer exclusive Copyright and Related Rights (defined below) upon the creator and subsequent owner(s) (each and all, an "owner") of an original work of authorship and/or a database (each, a "Work").

Certain owners wish to permanently relinquish those rights to a Work for the purpose of contributing to a commons of creative, cultural and scientific works ("Commons") that the public can reliably and without fear of later claims of infringement build upon, modify, incorporate in other works, reuse and redistribute as freely as possible in any form whatsoever and for any purposes, including without limitation commercial purposes. These owners may contribute to the Commons to promote the ideal of a free culture and the further production of creative, cultural and scientific works, or to gain reputation or greater distribution for their Work in part through the use and efforts of others.

For these and/or other purposes and motivations, and without any expectation of additional consideration or compensation, the person associating CC0 with a Work (the "Affirmer"), to the extent that he or she is an owner of Copyright and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and publicly distribute the Work under its terms, with knowledge of his or her Copyright and Related Rights in the Work and the meaning and intended legal effect of CC0 on those rights.

1. __Copyright and Related Rights.__ A Work made available under CC0 may be protected by copyright and related or neighboring rights ("Copyright and Related Rights"). Copyright and Related Rights include, but are not limited to, the following:

i. the right to reproduce, adapt, distribute, perform, display, communicate, and translate a Work;

ii. moral rights retained by the original author(s) and/or performer(s);

iii. publicity and privacy rights pertaining to a person's image or likeness depicted in a Work;

iv. rights protecting against unfair competition in regards to a Work, subject to the limitations in paragraph 4(a), below;

v. rights protecting the extraction, dissemination, use and reuse of data in a Work;

vi. database rights (such as those arising under Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, and under any national implementation thereof, including any amended or successor version of such directive); and

vii. other similar, equivalent or corresponding rights throughout the world based on applicable law or treaty, and any national implementations thereof.

2. __Waiver.__ To the greatest extent permitted by, but not in contravention of, applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and unconditionally waives, abandons, and surrenders all of Affirmer's Copyright and Related Rights and associated claims and causes of action, whether now known or unknown (including existing as well as future claims and causes of action), in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each member of the public at large and to the detriment of Affirmer's heirs and successors, fully intending that such Waiver shall not be subject to revocation, rescission, cancellation, termination, or any other legal or equitable action to disrupt the quiet enjoyment of the Work by the public as contemplated by Affirmer's express Statement of Purpose.

3. __Public License Fallback.__ Should any part of the Waiver for any reason be judged legally invalid or ineffective under applicable law, then the Waiver shall be preserved to the maximum extent permitted taking into account Affirmer's express Statement of Purpose. In addition, to the extent the Waiver is so judged Affirmer hereby grants to each affected person a royalty-free, non transferable, non sublicensable, non exclusive, irrevocable and unconditional license to exercise Affirmer's Copyright and Related Rights in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "License"). The License shall be deemed effective as of the date CC0 was applied by Affirmer to the Work. Should any part of the License for any reason be judged legally invalid or ineffective under applicable law, such partial invalidity or ineffectiveness shall not invalidate the remainder of the License, and in such case Affirmer hereby affirms that he or she will not (i) exercise any of his or her remaining Copyright and Related Rights in the Work or (ii) assert any associated claims and causes of action with respect to the Work, in either case contrary to Affirmer's express Statement of Purpose.

4. __Limitations and Disclaimers.__

a. No trademark or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise affected by this document.

b. Affirmer offers the Work as-is and makes no representations or warranties of any kind concerning the Work, express, implied, statutory or otherwise, including without limitation warranties of title, merchantability, fitness for a particular purpose, non infringement, or the absence of latent or other defects, accuracy, or the present or absence of errors, whether or not discoverable, all to the greatest extent permissible under applicable law.

c. Affirmer disclaims responsibility for clearing rights of other persons that may apply to the Work or any use thereof, including without limitation any person's Copyright and Related Rights in the Work. Further, Affirmer disclaims responsibility for obtaining any necessary consents, permissions or other rights required for any use of the Work.

d. Affirmer understands and acknowledges that Creative Commons is not a party to this document and has no duty or obligation with respect to this CC0 or use of the Work.

34 changes: 34 additions & 0 deletions README.md
@@ -0,0 +1,34 @@
RV901T LED "Receive Card"
=========================

<img src="doc/front.jpg" />

This repository contains bits and pieces about the RV901T HUB75 LED driver card, also known as "Receive Card". As it contains a user-reprogrammable Spartan 6 FPGA (LX16, 14k 'logic cells', 9112 LUTs) and 2x GbE, it has potential to be usable as a general purpose FPGA development board, an interface card for various purposes, or a logic analyzer.

Hardware
--------

There is [hardware documention](doc/hardware.md) available, which includes WIP information about mapping from the FPGA balls / IO into various peripherals on board and connectors.

Status
------

- Hardware RE:
- [X] Clocking
- [X] LED and Button
- [X] PHY0 and PHY1
- [X] J600 - **few pins still missing**
- [ ] J601
- [ ] JP5 - SPI flash connector?
- [ ] JP2
- [ ] U100 - SDRAM

Acknowledgments
---------------

Thanks to Niklas Fauth for donating two boards. Thanks to carrotIndustries for assisting with the preliminary RE process at Glühweinprogrammiernacht 2018.

License
-------

[CC0](http://creativecommons.org/publicdomain/zero/1.0/") - to the extent possible under law, the person who associated CC0 with this work has waived all copyright and related or neighboring rights to this work.
Binary file added doc/front.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
137 changes: 137 additions & 0 deletions doc/hardware.md
@@ -0,0 +1,137 @@
RV901T Hardware
===============

Components
----------

- U1: *FPGA* Spartan 6, XC6SLX16, FTBGA256, speed grade 2C
- U2: *Flash* Winbond 25Q32JV, SPI, 32Mb.
- U100: *SDRAM* M12L64322A-5T, 512K x 32b x 4 banks (64Mb), 200MHz
- U200: *GigE PHY* Broadcom B50512D, referred to as 'phy0' / 'top'
- U201: *GigE PHY* Broadcom B50512D, referred to as 'phy1' / 'bottom'
- U600-U607: 74HC245 octal buffer, 5V, direction set by FPGA
- U608-U610: 74HC245 octal buffer, 5V, direction hardwired to output

Definitions
-----------

We define 'top', 'bottom', 'left', 'right' as relative to the FPGA orientation - ie.,
top is towards the 'A' row of balls, bottom towards 'T', left towards the '1' column of balls
and right towards '16'.

JTAG
----

The board seems to have no exposed JTAG pins. However, there are marked test pads / vias on the front of the board, underneat silkscreen, to the top-right of the FPGA.

SPI Flash
---------

The SPI flash holding the configuration memory (U2) seems to be accessible via JP5, but this was not yet tested.

Connections
===========

Clock
-----

A 25MHz clock from PHY1 is available at pin M9.

PHY0, U200
----------

This PHY is hard-wired to autonegotiation, RST is hardwired to 0 and MDC/MDIO are tied off.

| U200 Pin | FPGA Pin |
|----------|----------|
| GTXCLK | D1 |
| TXD[0] | E3 |
| TXD[1] | E2 |
| TXD[2] | E1 |
| TXD[3] | F3 |
| TX\_EN | E4 |
| RXC | F1 |
| RXD[0] | H1 |
| RXD[1] | F2 |
| RXD[2] | F4 |
| RXD[3] | G1 |
| RXD\_DV | G3 |


Buffers
-------

All I/O Buffers are 5V. Buffers U600 to U607 have a direction pin at F13.

| F13 | Buffer Direction |
|-----|------------------|
| 0 | Output |
| 1 | Input |

LED, Button
-----------

There is a general purpose, FPGA controlled LED at F7, active low.

Additionally, there is a button at P4.

Connector J600
--------------

Located on bottom of board.

Pin 1 labeled with arrow on top silkscreen layer. Pins are marked alternating, ie. pin 1
is the top-right corner of the connector, pin 2 is bottom-right, pin 49 top-left and pin 50 bottom-left.

| ID1 Pin | FPGA Pin | Buffer |
|---------|----------|-------------------------------------------|
| 1 | *GND* | |
| 2 | *5V* | |
| 3 | *GND* | |
| 4 | ??? | |
| 5 | *GND* | |
| 6 | ??? | |
| 7 | P4 | U600, channel 7, shared with button S1 |
| 8 | R1 | U600, channel 6 |
| 9 | M4 | U600, channel 5 |
| 10 | L5 | U600, channel 4 |
| 11 | M5 | U600, channel 3 |
| 12 | K6 | U600, channel 2 |
| 13 | T4 | U600, channel 1 |
| 14 | P5 | U600, channel 0 |
| 15 | P6 | U604, channel 7 |
| 16 | M7 | U604, channel 6 |
| 17 | N6 | U604, channel 5 |
| 18 | M6 | U604, channel 4 |
| 19 | L7 | U604, channel 3 |
| 20 | L8 | U604, channel 2 |
| 21 | P7 | U604, channel 1 |
| 22 | N8 | U604, channel 0 |
| 23 | M12 | U601, channel 7 |
| 24 | N11 | U601, channel 6 |
| 25 | M11 | U601, channel 5 |
| 26 | ??? | U601, channel 4 |
| 27 | L10 | U601, channel 3 |
| 28 | N9 | U601, channel 2 |
| 29 | P11 | U601, channel 1 |
| 30 | T11 | U601, channel 0 |
| 31 | R9 | U605, channel 7 |
| 32 | T9 | U605, channel 6 |
| 33 | T8 | U605, channel 5 |
| 34 | R7 | U605, channel 4 |
| 35 | T7 | U605, channel 3 |
| 36 | T6 | U605, channel 2 |
| 37 | R5 | U605, channel 1 |
| 38 | ??? | U605, channel 0 |
| 39 | ??? | U608, channel 7 |
| 40 | B12 | U608, channel 6 |
| 41 | A13 | U608, channel 5 |
| 42 | C13 | U608, channel 4 |
| 43 | A14 | U608, channel 3 |
| 44 | B14 | U608, channel 2 |
| 45 | C11 | U608, channel 1 |
| 46 | *GND* | |
| 47 | E13 | Not buffered, goes directly through R602? |
| 48 | *GND* | |
| 49 | *5V* | |
| 50 | *GND* | |
1 change: 1 addition & 0 deletions third_party/liteeth
Submodule liteeth added at 52c230
1 change: 1 addition & 0 deletions third_party/litex
Submodule litex added at 2ad837
1 change: 1 addition & 0 deletions third_party/migen
Submodule migen added at c05fc0

0 comments on commit 6ea64db

Please sign in to comment.