hi~
what is the maximum size of array?
my code is "co_uint8 imbuffer[134][216];"
is it worng?
s/w simulation is good but doesn't work in ml 410 board.
i think array wrong or stream deadlock
plz help me.
i use impulse 2.20.h.3
array size
Started by junwuchi, Sep 08 2008 07:08 PM
4 replies to this topic
#1
Posted 08 September 2008 - 07:08 PM
#2
Posted 10 September 2008 - 06:14 PM
The maximum size of an array is determined by how much memory (block RAM, distributed RAM) is available on the target device. Did the mapping process in ISE/EDK report running out of resources or failing to meet timing? If mapping succeeded, you might try running an HDL simulation, starting at the level of individual hardware processes, to diagnose the problem.
I would suggest upgrading to Version 3 of CoDeveloper as soon as possible, as many improvements have been made to the hardware compiler since the last Version 2 release.
Regards,
Ralph
I would suggest upgrading to Version 3 of CoDeveloper as soon as possible, as many improvements have been made to the hardware compiler since the last Version 2 release.
Regards,
Ralph
Ralph Bodenner
Impulse Accelerated Technologies, Inc.
Impulse Accelerated Technologies, Inc.
#3
Posted 10 September 2008 - 07:05 PM
thank you for your reply
now timing no error.
first i use microblaze opb bus clock 100Mhz --> timing error 6000 error
but now 50Mhz -->timing success.
problem is... same value return from stream unlimited repetition, but one stream(pSymid) receive success
p1=co_stream_create("pStream1",INT_TYPE(32),BUFSIZE2);
p2=co_stream_create("pStream2",INT_TYPE(32),BUFSIZE2);
p3=co_stream_create("pStream3",INT_TYPE(32),BUFSIZE2);
pSymid => 0
pSymsx => 641
pSymsy => 41
pSymid => 1
pSymsx => 641
pSymsy => 41
pSymid => 2
pSymsx => 641
pSymsy => 41
pSymid => 3
pSymsx => 641
pSymsy => 41
pSymid => 4
pSymsx => 641
pSymsy => 41
.
.
.
.
so, one more question when stream open and close ?
1)
co_stream_open
for{
co_stream_read or write
}
co_stream_close
2)
for{
co_stream_open
co_stream_read or write
co_stream_close
}
which correct?
now i used 1)
now timing no error.
first i use microblaze opb bus clock 100Mhz --> timing error 6000 error
but now 50Mhz -->timing success.
problem is... same value return from stream unlimited repetition, but one stream(pSymid) receive success
p1=co_stream_create("pStream1",INT_TYPE(32),BUFSIZE2);
p2=co_stream_create("pStream2",INT_TYPE(32),BUFSIZE2);
p3=co_stream_create("pStream3",INT_TYPE(32),BUFSIZE2);
pSymid => 0
pSymsx => 641
pSymsy => 41
pSymid => 1
pSymsx => 641
pSymsy => 41
pSymid => 2
pSymsx => 641
pSymsy => 41
pSymid => 3
pSymsx => 641
pSymsy => 41
pSymid => 4
pSymsx => 641
pSymsy => 41
.
.
.
.
so, one more question when stream open and close ?
1)
co_stream_open
for{
co_stream_read or write
}
co_stream_close
2)
for{
co_stream_open
co_stream_read or write
co_stream_close
}
which correct?
now i used 1)
#4
Posted 15 September 2008 - 12:27 PM
#1 is the most efficient use of stream operations if you are reading/writing multiple pieces of data in a row.
It would be easiest for us to help diagnose the problem if you could send the complete Impulse C source code and project file to support@impulsec.com.
Regards,
Ralph
It would be easiest for us to help diagnose the problem if you could send the complete Impulse C source code and project file to support@impulsec.com.
Regards,
Ralph
Ralph Bodenner
Impulse Accelerated Technologies, Inc.
Impulse Accelerated Technologies, Inc.
#5
Posted 15 September 2008 - 07:05 PM
I was send my code to you
Thank you
Regards,
Junwuchi
Thank you
Regards,
Junwuchi
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












