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.

How to decide the different Read/Write commands for PCI ?

Status
Not open for further replies.

CRiSP

Full Member level 2
Joined
May 28, 2001
Messages
122
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
577
a PCI preoblem

how to deceide the different Read/Write cmd (Memory Read、Memory Read Line、Memory Read Multiple及Memory Write、Memory Write and Invalidate) when PCI master initiates one transaction by DMA of Backend Logic?
 

a PCI preoblem

In what part decide would be made? The pci master ?or target device ?
 

Re: a PCI preoblem

xv_ning999 said:
In what part decide would be made? The pci master ?or target device ?

pci master
 

Re: a PCI preoblem

CRiSP,

If the PCI sending you one signal called: backend_rdn_wr in this case you have to build a state machine to generate the write_enable and read_enable signals to provide to the flash. Below is part of my design on how to generate the write/read signals based on one PCI signal backend_rdn_wr. Let me know if you need more help on this topic

case flash_state is

when IDLE => -- present valid address,data
flash_cen_int <= '0'; -- and chip enable here
flash_state <= WE1;
when WE1 => -- drive wen +30 nsec
flash_wen_int <= not backend_rdn_wr;
flash_oen_int <= backend_rdn_wr;
flash_state <= WE2;
when WE2 =>
flash_state <= WE3;
when WE3 =>
flash_state <= WE4;
when WE4 => -- latch data + 120 nsec
flash_reg <= flash_data_c;
flash_wen_int <= '1';
flash_oen_int <= '1';
flash_state <= WE5;
when WE5 => -- lift cen +150 nsec and signal
flash_cen_int <= '1'; -- o_backend_rdy to the pci backend
flash_state <= DONE;
when others => null;

end case;
 

Re: a PCI preoblem

I beleive we have C/BE command with 4 bit value which defines the each of the above transactions where the slave interface has to look and understand,
 

Re: a PCI preoblem

Try this book:
PCI system architecture
BY: Tom Shanley
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top