How to purposely make pipelining in Handel-C?

P

Peggy

Hi, all,

How to purposely make pipelining in Handel-C?

Say, I need to read in a lot of 64-bit numbers using Celoxica's DSM (Data Stream
Manager). Since DsmWord is 32-bit in length, two DsmRead and one assignment are
needed. Can I pipeline these two DsmRead and the assignment statement?
Hopefully, I can just maintain 4 32-bit variables (temp1 to temp4) for DsmRead.
When I concatenate temp1 and temp2 and assign the value to a 64-bit variable v1,
I can read in 2 DsmWords to temp3 and temp4. Then, while do concatenation on
temp3 and temp4 to assign to v2, I can read into temp1 and temp2, and will
concatenate them to v3 in the next clock cycle. To achieve the above, how to
write the handel-C code?

By the way, is there any means to directly assign a 32-bit value read from DSM
to a portion of a 64-bit variable?

Thanks a lot!

Best regards,
Peggy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,007
Latest member
obedient dusk

Latest Threads

Top