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.

[SOLVED] What does WR1_LENGTH1 means in SDRAM Controller

Status
Not open for further replies.

hilal-t

Newbie level 3
Newbie level 3
Joined
Jul 4, 2014
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
26
What does WR1_LENGTH means here



Code:
//SDRam Read and Write as Frame Buffer
Sdram_Control	u7	(				
.RESET_N(KEY[0]),
.CLK(sdram_ctrl_clk),
//	FIFO Write Side 1
.WR1_DATA({1'b0,sCCD_G[11:7],sCCD_B[11:2]}),
.WR1(sCCD_DVAL),
.WR1_ADDR(0),
`ifdef VGA_640x480p60
	.WR1_MAX_ADDR(640*480/2),


	 [COLOR="#FF0000"][SIZE=3][B].WR1_LENGTH(8'h50),[/B][/SIZE][/COLOR]

thank you very much
 
Last edited by a moderator:

Try reading the vendor's documentation, for whichever vendor this core is for.
 
Where did you find this *.v file at?
Who is the manufacturer of the memory you're trying to communicate with?
 
in fact this is example of streaming video from d5m camera to vga
I will attach the project file
I am using de2-115 board
thank you for your help
 

Attachments

  • Sdram_Control.rar
    15 KB · Views: 106
  • top level.rar
    3.8 KB · Views: 100
Last edited:

in fact this is example of streaming video from d5m camera to vga
I will attach the project file
I am using de2-115 board
thank you for your help

The code is by Terasic and isn't encrypted, just reverse engineer what the WR1_LENGTH does. By quick inspection it looks like it sets the burst length as it's compared with the addresses.

You should try putting in more effort before posting. It's pretty easy to open a Verilog file and read the contents.

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top