Sign in

username:

password:



Not a member?

Search Comp.Arch.FPGA



Search tips

fpga by Keywords

Altera | ASIC | CPLD | Cyclone | DCM | DDR | DSP | Ethernet | ISE | JTAG | Linux | LVDS | Microblaze | ML310 | Modelsim | NIOS | OPB | PCI | Quartus | RocketIO | SDRAM | Spartan | Spartan3 | SRAM | Stratix | Verilog | VHDL | Virtex | Virtex-4 | Virtex-II | Xilinx | XST

Ads

See Also

DSPEmbedded SystemsElectronics

Comp.Arch.FPGA | how can i save my received data into the SDRAM?

There are 6 messages in this thread.

You are currently looking at messages 0 to 6.

how can i save my received data into the SDRAM? - ARRON - 2005-05-13 04:51:00

I have receive large character data from RS232, i
want to save it in the SDRAM memory, i find the SDRAM is 8M*32, but the character is
8bits,not 32bits, if i write a character into an Unit of SDRAM, next 24bits memory is
wasted, and i find some data is not correct, how can i use the SDRAM correctly and
efficiently?



Re: how can i save my received data into the SDRAM? - Simon Peacock - 2005-05-13 05:44:00

either
a) use 4 chip or bank selects as some SDRAM's have.
b) use a read-modify-write cycle

"ARRON" <m...@gmail.com> wrote in message
news:ee8e3ab.-1...@webx.sUN8CHnE...
> I have receive large character data from RS232, i want to save it in the
SDRAM memory, i find the SDRAM is 8M*32, but the character is 8bits,not
32bits, if i write a character into an Unit of SDRAM, next 24bits memory is
wasted, and i find some data is not correct, how can i use the SDRAM
correctly and efficiently?


______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.

Re: how can i save my received data into the SDRAM? - ARRON - 2005-05-13 08:45:00

The SDRAM has been in my XILINX FPGA board, I
can't change the SDRAM's layout, I mean how can i do some change in software of EDK.
Thanks for your advice.
______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.

Re: how can i save my received data into the SDRAM? - Mike Lewis - 2005-05-13 11:11:00

"ARRON" <m...@gmail.com> wrote in message 
news:e...@webx.sUN8CHnE...
> The SDRAM has been in my XILINX FPGA board, I can't change the SDRAM's 
> layout, I mean how can i do some change in software of EDK. Thanks for 
> your advice.

write your software such that it does a byte write not a word write. 


______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.

Re: how can i save my received data into the SDRAM? - 2005-05-13 12:59:00

Mike Lewis wrote:
> "ARRON" <m...@gmail.com> wrote in message
> news:e...@webx.sUN8CHnE...
> > The SDRAM has been in my XILINX FPGA board, I can't change the
SDRAM's

Your Won't waste 24 bit of SDRAM if your buffer 4 bytes and then write
to SDRAM and let the software application know about this ....

______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.

Re: how can i save my received data into the SDRAM? - ARRON - 2005-05-14 22:58:00

I have defined the type "Unchar32",a
structure of 32bits data, and i changed the SDRAM address to "Unchar32" pointer
type and assign it to Unchar32 pointer variable "SdramAddr",then i write the
data to SDRAM by assign the each domain of "SdramAddr",but I receive the same
wrong data as i write the SDRAM directly,what is the matter?
______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.