V
Vick
Guest
Hello everyone,
I have the 8-bit Dual-port SRAM signals namely the:
Data (8-bits),
Address (3-bits)
WE
RE
Clock
Now I have to use these signals to Read/Write a SDRAM.
I know that just writing to the SDRAM Controller will do the
Read/write for me (as per the Xilinx, XAPP 134).
please consider this diagram:
The sginals on the left side are SRAM signals, the middle is the logic
I need to write and the signals on the right side are the SDRAM
Controller I/P signals.
--> Data (8bits) ---------- --> AD (32-bits)
--> Address (3-bits) | LOGIC ??| --> CLOCK
--> WE ---------- --> ...other signals
--> RE
--> Clock
Now the problem I am facing is say I want to read SDRAM , I need to
specify the 32-bit address.
Q. How can I use my SRAM 3-bit Address for writing 32-bit address for
SDRAM.
Similarly how can I use the SRAM 8-bit data for writing the 32-bits
for SDRAM.
I feel that writing the 32-bit data using the 8-bit data should be
easy. As I can use a 32-bit register in the LOGIC as shown in the
diagram. then I can read byte-by-byte into this register and pass it
on to the AD bus..
ANy ideas...
thanx,
I have the 8-bit Dual-port SRAM signals namely the:
Data (8-bits),
Address (3-bits)
WE
RE
Clock
Now I have to use these signals to Read/Write a SDRAM.
I know that just writing to the SDRAM Controller will do the
Read/write for me (as per the Xilinx, XAPP 134).
please consider this diagram:
The sginals on the left side are SRAM signals, the middle is the logic
I need to write and the signals on the right side are the SDRAM
Controller I/P signals.
--> Data (8bits) ---------- --> AD (32-bits)
--> Address (3-bits) | LOGIC ??| --> CLOCK
--> WE ---------- --> ...other signals
--> RE
--> Clock
Now the problem I am facing is say I want to read SDRAM , I need to
specify the 32-bit address.
Q. How can I use my SRAM 3-bit Address for writing 32-bit address for
SDRAM.
Similarly how can I use the SRAM 8-bit data for writing the 32-bits
for SDRAM.
I feel that writing the 32-bit data using the 8-bit data should be
easy. As I can use a 32-bit register in the LOGIC as shown in the
diagram. then I can read byte-by-byte into this register and pass it
on to the AD bus..
ANy ideas...
thanx,