Page 1 of 4

FPGA Source / Project Repository

PostPosted: Thu Mar 27, 2014 4:19 am
by FHuettig
Greetings,

Today I pushed up a significant reorganization of the parallella-hw repository:
https://github.com/parallella/parallella-hw

This includes:
- The board schematic & pcb design files, pdfs, and Gerbers, including archives of the older boards
- The Verilog and EDK source code for the non-HDMI (a/k/a "Headless") fpga build
- PlanAhead / ISE projects for the Parallella-I board with E16 and 7020 and 7010
- Project for the E64 and 7020

See the README file at the top level for more information, plus the READMEs in the project directories.

Please note that only the E16+7020 version has been tested, though the 7010 version is essentially identical.
We are about to test the E64 version, which differs "only" in the polarity of all the IOs.

Next step is to add the HDMI-enabled versions, and I have a lot of plans beyond that.

-Fred

Re: FPGA Source / Project Repository

PostPosted: Thu Mar 27, 2014 10:00 am
by shodruk
FHuettig wrote:Next step is to add the HDMI-enabled versions, and I have a lot of plans beyond that.


Is that going to be open source?

Re: FPGA Source / Project Repository

PostPosted: Thu Mar 27, 2014 4:02 pm
by FHuettig
Yes it is, we'll provide people the ability to build the bitstream that is part of the standard ROOT release. The HDMI module comes from a public Analog Devices repository:
https://github.com/analogdevicesinc/fpgahdl_xilinx
I won't copy that repository directly, rather I'll refer to it as a submodule, I think.

"Plans beyond that" includes general clean-up and reorganization of the code base and moving it to Vivado, but everything in the parallella-hw repo will be open-source.

- Fred

Re: FPGA Source / Project Repository

PostPosted: Sat Mar 29, 2014 12:09 pm
by shodruk
FHuettig wrote:Yes it is, we'll provide people the ability to build the bitstream that is part of the standard ROOT release. The HDMI module comes from a public Analog Devices repository:
https://github.com/analogdevicesinc/fpgahdl_xilinx
I won't copy that repository directly, rather I'll refer to it as a submodule, I think.

"Plans beyond that" includes general clean-up and reorganization of the code base and moving it to Vivado, but everything in the parallella-hw repo will be open-source.

- Fred


Great! With that, we can unleash all of the feature of Parallella, includes HDMI and Zynq's PL, and can implement e.g. graphics accelerator.

Re: FPGA Source / Project Repository

PostPosted: Fri May 23, 2014 7:33 pm
by FHuettig
After a long wait with many distractions I have finally pushed the HDMI-enabled projects to the github repository. There are two new plan-ahead projects: parallella_7010_hdmi and parallella_7020_hdmi, and two corresponding edk projects with the same names.

Please read the instructions in the README files in the projects directories as there are two additional steps compared to building the headless projects: 1) pull the git submodule into fpga/externals/fpgahdl_xilinx (see the README in fpga/externals); 2) Update the library path to your local absolute path using XPS (see the README in fpga/projects/xxx).

There are also pre-built binary files in fpga/bitstreams:
  • parallella_e16_hdmi_gpiose_7010.bit.bin
  • parallella_e16_hdmi_gpiose_7020.bit.bin
To use them, copy the one you want into the ROOT partition of your SD card and rename as "parallella.bit.bin." Note also that if you change from headless to hdmi versions of the bitfile you'll need to change the devicetree to enable the HDMI driver, and just as important, if you ever change from hdmi to headless you also have to change the devicetree to keep the HDMI driver from hanging looking for the device.

Enjoy,
Fred

ETA: prebuilt file info.

Re: FPGA Source / Project Repository

PostPosted: Fri May 23, 2014 11:41 pm
by FHuettig
And for any who may be interested, here is a comparison of the resource usage for the various versions:








Resource7010 Headless7020 Headless7010 HDMI7020 HDMI
BUFGs9 / 32 (28%)9 / 32 (28%)13 / 32 (40%)13 / 32 (40%)
MMCME2_ADVs1 / 2 (50%)1 / 4 (25%)2 / 2 (100%)2 / 4 (50%)
RAMB18E1s4 / 120 (3%)4 / 280 (1%)4 / 120 (3%)4 / 280 (1%)
RAMB36E1s8 / 60 (13%)8 / 140 (5%)11 / 60 (18%)11 / 140 (7%)
Slice Registers3150 / 35200 (8%)3150 / 106400 (2%)7163 / 35200 (20%)7163 / 106400 (6%)
Slice LUTS3432 / 17600 (19%)3326 / 53200 (6%)7494 / 17600 (42%)7276 / 53200 (13%)
Slice LUT-Flip Flop pairs3921 / 17600 (22%)4134 / 53200 (7%)9177 / 17600 (52%)9541 / 53200 (17%)

Re: FPGA Source / Project Repository

PostPosted: Sat May 24, 2014 7:25 am
by shodruk
Thank you Fred,
I've tried parallella_e16_hdmi_gpiose_7020.bit.bin, it seems to work fine on my Parallella. :D

Re: FPGA Source / Project Repository

PostPosted: Mon May 26, 2014 5:25 am
by FHuettig
OK, I see I've caused some pain because changing between headless/hdmi versions requires a corresponding change to the devicetree, but we haven't published a suitable headless devicetree. My apologies to those who tried to use the headless configurations and had their system stall waiting for "vgaarb," after "bio: create slab <bio-0> at 0" if you are lucky enough to have serial port access. Or just sit there helplessly if you don't have serial access.

Attached are the devicetrees I use currently for both headless and hdmi versions. The sources are included too. To use them, select the one you want (the binary "dtb"), rename it "devicetree.dtb," and put it in the BOOT partition on the SDCARD. Reboot and there you go!

I expect there is no problem using the headless devicetree with the hdmi-enabled FPGA configuration, though obviously the HDMI will not come up, but I have not tried it.

-Fred

Re: FPGA Source / Project Repository

PostPosted: Tue Jun 10, 2014 12:52 pm
by shodruk
Are there any plans to support HDMI audio with your new bitstream?

Re: FPGA Source / Project Repository

PostPosted: Tue Jun 10, 2014 4:02 pm
by FHuettig
shodruk wrote:Are there any plans to support HDMI audio with your new bitstream?


Hi Shodruky, I admit I'm confused. We have support for audio through the ADI chip to HDMI out, I was just showing-off your blobubska demo last week, complete with sound. Do you mean higher resolution or sample rate than what we have now?

Oh, do you mean with the 'headless' version?