Changes

Jump to: navigation, search
no edit summary
#* Note that the DQ pins are in reverse order when compared to the Atmel Flash datasheet. This must be done to overcome a Big Endian/Little Endian inconsistency between the Xilinx XPS_MCH_EMC and the Atmel Flash part. In this case, flash_DQ_pin<0 - 15> represents the "1st" flash part and flash_DQ_pin<16 - 31> represents teh "2nd" flash part.
#* Note that the A pins are also in reverse order to overcome a Big Endian/Little Endian inconsistency.
#: <prespan style="color:#55E439">''Net flash_DQ_pin<31> LOC=F24;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<30> LOC=F25;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<29> LOC=L17;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<28> LOC=L18;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<27> LOC=F23;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<26> LOC=E24;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<25> LOC=K18;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<24> LOC=K19;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<23> LOC=G22;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<22> LOC=F22;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<21> LOC=J20;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<20> LOC=J19;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<19> LOC=D26;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<18> LOC=E26;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<17> LOC=D24;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<16> LOC=D25;''</span>#:#: <span style="color:#55E439">''Net flash_DQ_pin<15> LOC=K26;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<14> LOC=K25;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<13> LOC=M22;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<12> LOC=M21;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<11> LOC=K22;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<10> LOC=K23;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<9> LOC=M18;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<8> LOC=M19;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<7> LOC=J22;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<6> LOC=J23;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<5> LOC=K21;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<4> LOC=L22;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<3> LOC=G24;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<2> LOC=G23;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<1> LOC=K20;''</span>#: <span style="color:#55E439">''Net flash_DQ_pin<0> LOC=L20;''</span>#:#: <span style="color:#55E439">''Net flash_A_pin<20> LOC=U20;''</span>#: <span style="color:#55E439">''Net flash_A_pin<19> LOC=V21;''</span>#: <span style="color:#55E439">''Net flash_A_pin<18> LOC=AA25;''</span>#: <span style="color:#55E439">''Net flash_A_pin<17> LOC=AA24;''</span>#: <span style="color:#55E439">''Net flash_A_pin<16> LOC=U18;''</span>#: <span style="color:#55E439">''Net flash_A_pin<15> LOC=U19;''</span>#: <span style="color:#55E439">''Net flash_A_pin<14> LOC=Y23;''</span>#: <span style="color:#55E439">''Net flash_A_pin<13> LOC=Y22;''</span>#: <span style="color:#55E439">''Net flash_A_pin<12> LOC=T20;''</span>#: <span style="color:#55E439">''Net flash_A_pin<11> LOC=U21;''</span>#: <span style="color:#55E439">''Net flash_A_pin<10> LOC=Y25;''</span>#: <span style="color:#55E439">''Net flash_A_pin<9> LOC=Y24;''</span>#: <span style="color:#55E439">''Net flash_A_pin<8> LOC=T17;''</span>#: <span style="color:#55E439">''Net flash_A_pin<7> LOC=T18;''</span>#: <span style="color:#55E439">''Net flash_A_pin<6> LOC=V22;''</span>#: <span style="color:#55E439">''Net flash_A_pin<5> LOC=W23;''</span>#: <span style="color:#55E439">''Net flash_A_pin<4> LOC=V25;''</span>#: <span style="color:#55E439">''Net flash_A_pin<3> LOC=V24;''</span>#: <span style="color:#55E439">''Net flash_A_pin<2> LOC=U22;''</span>#: <span style="color:#55E439">''Net flash_A_pin<1> LOC=V23;''</span>#: <span style="color:#55E439">''Net flash_A_pin<0> LOC=R20;''</span>#:#: <span style="color:#55E439">''Net flash_WEN_pin LOC=U23;''</span>#: <span style="color:#55E439">''Net flash_OEN_pin LOC=U24;''</span>#: <span style="color:#55E439">''Net flash_CEN_pin LOC=R19;''</span>#: <span style="color:#55E439">''Net flash_RPN_pin LOC=N21;''</span>#: <span style="color:#55E439">''Net flash_Rdy_pin LOC=P22;''</span># In your C code, when writing to the Flash memory the Address must be Left-Shifted 2 bits. Therefore your write data call should look something like this#* FLASH_ADDR is a pointer to the base address of the XPS_EMC_MCH.#* ui_waddr is the write address and is an Xuint32.#* ui_wdata is the write data and is an Xuint32.#: <span style="color:#55E439">''XGpio_WriteReg(FLASH_ADDR, ui_waddr << 2, us_wdata);;''</span># When reading from the Flash memory, the Address must again be Left-Shifted by 2 bits. Your read data call should look something like this#* FLASH_ADDR is a pointer to the base address of the XPS_EMC_MCH.#* ui_raddr is the write address and is an Xuint32.#: <span style="color:#55E439">''XGpio_ReadReg(FLASH_ADDR, ui_raddr << 2)''</span>
Net flash_DQ_pin<15> LOC=K26;
Net flash_DQ_pin<14> LOC=K25;
Net flash_DQ_pin<13> LOC=M22;
Net flash_DQ_pin<12> LOC=M21;
Net flash_DQ_pin<11> LOC=K22;
Net flash_DQ_pin<10> LOC=K23;
Net flash_DQ_pin<9> LOC=M18;
Net flash_DQ_pin<8> LOC=M19;
Net flash_DQ_pin<7> LOC=J22;
Net flash_DQ_pin<6> LOC=J23;
Net flash_DQ_pin<5> LOC=K21;
Net flash_DQ_pin<4> LOC=L22;
Net flash_DQ_pin<3> LOC=G24;
Net flash_DQ_pin<2> LOC=G23;
Net flash_DQ_pin<1> LOC=K20;
Net flash_DQ_pin<0> LOC=L20;
 
Net flash_A_pin<20> LOC=U20;
Net flash_A_pin<19> LOC=V21;
Net flash_A_pin<18> LOC=AA25;
Net flash_A_pin<17> LOC=AA24;
Net flash_A_pin<16> LOC=U18;
Net flash_A_pin<15> LOC=U19;
Net flash_A_pin<14> LOC=Y23;
Net flash_A_pin<13> LOC=Y22;
Net flash_A_pin<12> LOC=T20;
Net flash_A_pin<11> LOC=U21;
Net flash_A_pin<10> LOC=Y25;
Net flash_A_pin<9> LOC=Y24;
Net flash_A_pin<8> LOC=T17;
Net flash_A_pin<7> LOC=T18;
Net flash_A_pin<6> LOC=V22;
Net flash_A_pin<5> LOC=W23;
Net flash_A_pin<4> LOC=V25;
Net flash_A_pin<3> LOC=V24;
Net flash_A_pin<2> LOC=U22;
Net flash_A_pin<1> LOC=V23;
Net flash_A_pin<0> LOC=R20;
 
Net flash_WEN_pin LOC=U23;
Net flash_OEN_pin LOC=U24;
Net flash_CEN_pin LOC=R19;
Net flash_RPN_pin LOC=N21;
Net flash_Rdy_pin LOC=P22;
</pre>
[[Category:VHDL]]
[[Category:Microblaze]]
[[Category:EDK]]

Navigation menu