UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
522 Views
Registered: ‎07-25-2018

Does microblaze support uint64 or int64 data type

Jump to solution

I have an application that uses 64bit variables. Does microblaze support 64bit variables?

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Xilinx Employee
Xilinx Employee
486 Views
Registered: ‎10-30-2017

Re: Does microblaze support uint64 or int64 data type

Jump to solution

HI @vinit.apte,

 

MicroBlaze does not support the 64 bit variables.

the data types supported by micro blaze are:

mb_data_types.PNG

Best Regards,
Srikanth
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.

0 Kudos
3 Replies
Highlighted
Xilinx Employee
Xilinx Employee
487 Views
Registered: ‎10-30-2017

Re: Does microblaze support uint64 or int64 data type

Jump to solution

HI @vinit.apte,

 

MicroBlaze does not support the 64 bit variables.

the data types supported by micro blaze are:

mb_data_types.PNG

Best Regards,
Srikanth
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.

0 Kudos
Scholar vanmierlo
Scholar
423 Views
Registered: ‎06-10-2008

Re: Does microblaze support uint64 or int64 data type

Jump to solution

Are you programming in C or assembler?

In C check if the compiler supports uint64_t for the microblaze when <stdint.h> is included.

In assembler you can create your own uint64 from two uint32's.

0 Kudos
Adventurer
Adventurer
347 Views
Registered: ‎07-25-2018

Re: Does microblaze support uint64 or int64 data type

Jump to solution

Thanks it is able to compile uint64 with stdint.h. I havent tried it on Silicon yet. I hope it works

0 Kudos