--- Quote Start ---
originally posted by tonnoplast@Jan 10 2007, 03:42 AM
hi guys.
i'm a beginner with nios ii and quartus ii. my developing board mounts a cyclone ii fpga ep2c35.
i must interface an external camera (c3088 made of omnivision ov6620 sensor) with that board but, i don't know how to do that. i mean, the connection to proto1/prot2, it's ok, but how create the interface with the internal system?should i use avalon mm? i have look to portable reference board project but is really hard to understand.
i hope someone coul help me and give some clear advices
many thanks
paolo
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=20469)
--- quote end ---
--- Quote End ---
Avalon-MM should be fine for what you are doing. I would read these documents to learn more:
http://www.altera.com/literature/manual/mnl_avalon_spec.pdf (
http://www.altera.com/literature/manual/mnl_avalon_spec.pdf)
http://www.altera.com/literature/hb/qts/qts_qii54005.pdf (
http://www.altera.com/literature/hb/qts/qts_qii54005.pdf)
http://www.altera.com/literature/hb/qts/qts_qii54007.pdf (
http://www.altera.com/literature/hb/qts/qts_qii54007.pdf)
(I took those links from this page:
http://www.altera.com/literature/quartus2/lit-qts-sopc.jsp) (
http://www.altera.com/literature/quartus2/lit-qts-sopc.jsp))
Avalon-MM gives you standard interface to conform to so as long as you can make your camera logic in the FPGA meet the specification, then you just feed your HDL through component editor and drop the result into your system. The most basic and common interfaces will have these signals:
writedata (data out to your component)
write (write enable)
chipselect
readdata (data in from your component)
read (read enable, sometimes your logic won't need it)
address (if you have multiple locations to access in your component)
clk
reset