Forum Discussion
Altera_Forum
Honored Contributor
22 years agoAny example Master Ports available?
Hello, Altera or anyone else have an example demonstrating external master logic driving an SOPC system? I've got one "working" but only if I set a very low fmax. The particulars ar...
Altera_Forum
Honored Contributor
22 years ago --- Quote Start --- originally posted by kenland+jul 14 2004, 06:41 pm--><div class='quotetop'>quote (kenland @ jul 14 2004, 06:41 pm)</div>
--- quote start ---
the timing analyzer does complain, but i'm not sure what do do about it.[/b]
--- quote end ---
what are its specific complaints?
--- quote start ---
originally posted by kenland@jul 14 2004, 06:41 pm
for example the only logic connected to the address port is an lpm_counter that gets loaded with the sdram buffer address and then increments 4 times for each 32 bit word.
--- quote end ---
umm... four times? why not just increment by four? drive address[n-1:2] from the counter and drive address[1:0] with 0?
--- quote start ---
originally posted by kenland@jul 14 2004, 06:41 pm
write_n is registered on cpuclk and either waits until wait_request is not active on a following rising clock.
--- quote end ---
you're supposed to keep write_n driven, not gate it with waitrequest. the write cycle starts when you want it to; this isn't like a shared bus where you have to wait for the other guy to get off of it. (well, actually, you do, but you wait by asserting write_n and waiting for waitrequest to go low. there's no separate wait-for-bus-release step.)
<!--quotebegin-kenland@Jul 14 2004, 06:41 PM do you think it can be the timing violations even though the la looks fine? --- Quote End --- It could be. Could you post just the ADC-to-Avalon master interface code?