Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Possibility on interfacing Altera Cyclone with PCI or PCI - E ?

Status
Not open for further replies.
Why, exactly? Missing clamp diodes might be an issue, if you don't use any external level translators in a 3V PCI design.
I must confess, that I never attempted to implement a PCI bus with direct connected FPGA. Thus I'm possibly not aware of all detail problems.

Everyone is using Quartus with Altera FPGAs. Even if you are using a third party design compiler, you'll still rely on the Quartus tools to translate the netlist to hardware level. But I don't see a reasonable purpose to replace the Quartus compiler.

Hi FvM

I can compile succesfully after doing :
" To source the constraint file, type the following in the Quartus II Tcl
console...."
Page 7, PCI compiler release note.....

But I have a question, why some of the pins still blank, shall I assign manually or just leave it empty ?
thanks
pin assignment5.jpg
compile succesfull.jpg
Some of the pins already assigned automatically when I did "sourcing constraint file"
" source <Tcl filename>.tcl
add_pci_constraints [-speed "33" | "66"]
[-no_compile] [no_pinouts] [-help]"

pin assignment6.jpg

You're right, I can't use bank 2 and for because of the clamping diode....
there's a way for 5V PCI, put R2 on between of them...it's 164 ohm, but I'm gonna use 160, can not find 164 in market except I put them on series...
Driving a Cyclone II Device with a 5.0-Volt Device.jpg

- - - Updated - - -

To FvM
there's a warning on compiling message :
Warning: Megafunction that supports OpenCore Plus feature will stop functioning in 1 hour after device is programmed

does it mean that I must buy the library ? expensive $2995.....
do you have other way to cut the cost ?
 

Attachments

  • PCI32 message.txt
    247.9 KB · Views: 81
Last edited:

  • Like
Reactions: ArtoB

    ArtoB

    Points: 2
    Helpful Answer Positive Rating
Yes you would need to buy the library.
The only way to cut the cost is implement the PCI core yourself. And its rather complicated. You'll need the PCI specs. Seems like theres a copy up here: https://www.ics.uci.edu/~harris/ics216/pci/PCI_22.pdf

Yes I have that file already, so I need to define myself in VHDL.....
define the port, timing, addressing, sending data, etc.....
don't you have any other library for this ?
or try to mimic from megacore, do yo know where's the entry point and the library ?
I'll to find it myself but it would be faster if I ask someone else who knows about it...

do you have experience in developing PCI card yourself ?
Thanks for the clue
 

The PCI core from the megafunction will not have the source code for you to copy - I think it's encrypted.
Whenever Ive done PCI or PCIe - I use the megacore because we had full quartus subscription licences.

Developing your own PCI core will be a massive job - I suspect several months work.
 

The PCI core from the megafunction will not have the source code for you to copy - I think it's encrypted.
Whenever Ive done PCI or PCIe - I use the megacore because we had full quartus subscription licences.

Developing your own PCI core will be a massive job - I suspect several months work.
so i need to buy the library ?
is there any student version for megacore ?
thanks
 

Other option: Using free PCI IP, e.g. from opencores.

Ya I read that one too, do you have the link ? and how to use it with Quartus II, do you have ideas ?
thanks

- - - Updated - - -

Other option: Using free PCI IP, e.g. from opencores.
to FvM,

Do you mean these ones ?
https://opencores.org/project,pci32tlite_oc
https://opencores.org/project,pci,home

Do you have experience on how to use it with quartus II ? or it's the same way I use PCI compiler ?

thanks
 

Do you have experience on how to use it with quartus II ? or it's the same way I use PCI compiler ?
As already said, I didn't yet implement FPGA PCI interfaces, neither Altera Megacore nor Opencores. Generally speaking, using free IP involves some porting. Design quality can be quite different.
 

As already said, I didn't yet implement FPGA PCI interfaces, neither Altera Megacore nor Opencores. Generally speaking, using free IP involves some porting. Design quality can be quite different.

I can manage compiling pci32lite, but I have a question regarding pins,

How can I define the exact pins ?
Please see the screen shot,

Thank you
pin name.jpg
 

Yes. Each bit of every bus has to have a specific pin. Luckily, you dont have that many pins to connect.
Ok thanks for your advice, anyway do you have a footprint for PCI connector for altium ?
or you have other suggestions ?
I've been thinking on drawing it myself but not sure about the dimension...
I can see the schematic but I don't have the pads ( footprint ), if there's none, no choice I need to create myself,
PCI connector.jpg

Are they all the same on every motherboards ?
I checked on my Pentium 4 motherboards it's 5V 32 bits PCI connector
pci_5v.jpg
800px-PCI_Keying.jgp.png

Do you have a pcb pin pad dimension for PCI 32 bit 5 V or PCI 32 bit 3.3V and 5 V ?
5V 3.3 32 bit.jpg

pin pad 5V 32bit.jpg

thanks

- - - Updated - - -

or I'm gonna use PCI 32 bit riser
**broken link removed**
and connect the female connector on it into my pcb ( adaptor )..

What do you guys think ?

I read from PCI local bus specification page 180, but the distance between pin is not clear...
I want to have exactly like this one :
https://contentstore.live.altium.com/TemplateDesignDetail/PDE-0001-00114

I'll draw manually based on PCI card on my motherboard
PCI card and ruler.jpg
 
Last edited:

Where is pin A1 ?
is it at the bottom side of the PCB near to the backplate ?

- - - Updated - - -

Where is pin A1 ?
is it at the bottom side of the PCB near to the backplate ?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top