128k*16 bit fifo (RAM)bei System Generetor ,Matlab crash

OP #2688295
Hallo Zusammen,

Ich arbeite mit Simulink (System Generator),um FPGA zu entwickeln.

Jetzt  brauche ich eine 128k*16 bit Fifo oder RAM,ich habe mit VHDL 
geschrieben,in Black BOX verwende. Bei simulation geht es,aber wenn ich 
es mit system Generator kompliere,matlab stürtzt immer ab.(crash,keine 
Meldung).Aber wenn ich dieser 128k fifo mit der Verbindung zwei 64k fifo 
Block aus System Generator verwende,geht es .Aber es hat schlecht synch.
deshalb brauche ich meine 128k Blackbox Fifo zufunktionieren.



Könnten Sie mir helfen,den Grund zu finden?


Vielen Dank
Attached files:
Guest #2688507
c1 und c2 einfach mal initialisieren?

Eine vernünftige Einrückung könnte die Lesbarkeit erhöhen.

128000 als Konstante definieren, dann braucht man nicht immer mehrere 
Stellen ändern.

Reply

A question of your own? This thread is over 14 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.