Go Down

Topic: [WORKFLOW RELEASE] Vidor sample projects are opensource! (Read 3993 times) previous topic - next topic

mbyington

Figured it out, thanks.

Had to open the projects/MKRVIDOR4000_peripherals_lite_sys project, open Settings, Files and click Add All (then remove non Lite version qsys file).

Re-ran build_all.sh and Arduino project now compiles successfully!

SergeiB

Hi,

what about video performance? As I read Cyclone 10 LP is pretty slow device. Spec sheet says 640 Mbps in LVDS mode while MIPI is up to 1Gbps pre lane.

Are HDMI max resolution and fps known?

Best regards, Sergei

Limba

Sorry for linking Xilinx appnote
https://www.xilinx.com/support/documentation/application_notes/xapp495_S6TMDS_Video_Interface.pdf

There you can find different display resolution vs needed bandwith in TMDS.

With 650 Mbps you can have XGA (1024x768@60fps 24b)

SergeiB


VStrakh

Hi.

Apparently, the port of Adafruit GFX for VidorBistream needs some adjustments.
The code for filling the primitives will mostly use writeVLine() function, while  SDRAM would much prefer the horizontal lines.

Limba

Hi.

Apparently, the port of Adafruit GFX for VidorBistream needs some adjustments.
The code for filling the primitives will mostly use writeVLine() function, while  SDRAM would much prefer the horizontal lines.
Also that's pretty slow if you have lite version NIOS II e. Recommend to use HW acceleration for H lines and BMP copy

VStrakh

What's the rules on using 'update_fw.sh' script?

I always get error from 'quartus_cdb' and 'quartus_asm', telling that I should run 'quartus_map' first with the top-level entity. Is it about the paths to database?
When I explicitly enter the /build subdir in the project, those steps are performed ok when done manually.
But then the entire 'update_fw.sh' won't run from within /build subdir.
Adding 'build/' path in front of $PROJECT_NAME in 'update_fw.sh' seemingly achieves the desired effect.

Limba

I think you have to call build_all.sh in project folder. you have to add scripts folder to path env variable.

VStrakh

I think you have to call build_all.sh in project folder. you have to add scripts folder to path env variable.
Well, the whole idea of 'update_fw.sh' is to update the data to be put in on-chip ram, without recompiling the entire fpga project.
Maybe it's not used by the devs at all, or wasn't adapted to the flow/environment that was published on github...

Limba


VStrakh

Yes, of course. There would be nothing to update if 'build_all.sh' run wasn't successfully completed at least once :)

arduardu999

Hello I am arduino/VHDL user, and I wanted more powerful camera for my project with parallel data connection, it can be used as bridge between my fpga and camera with standard 1080p, 480p in highspeed .

for this purpose i need to connect ov4689 camerachip with MIPI interface, is it possible to use this and how about source code in vhdl ? source code in vhdl which is MIPI to parallel data and HDMI output (to check whther it works or not )

can you provide all source codes free ?

Limba

Were you planning to use mipi_rx_st ip in another device than vidor?
Maybe study that that ip how mipi receiver is done and create your own ip. IP is done with System Verilog.

If you have C/C++/C# experience then System Verilog syntax is not that hard.

MIPI_RX_ST
Input: MIPI RX and MIPI CLK.
Ouput: Avalon steam master

Edit:
It also seems to do Bayer to RGB filtering. There's more info in wikipedia and it's commented in code.

Go Up