cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Participant
Participant
2,717 Views
Registered: ‎10-17-2016

How to store decimal datas into bram

Hi,

I want to store datas into bram controlled by axi_bram_controller. Then how can I confirm a decimal data I have transferred rather than a hexadecimal data?

Regards,

Sophia

0 Kudos
2 Replies
Highlighted
Moderator
Moderator
2,707 Views
Registered: ‎07-01-2015

Hi @sophia_123,

 

You can check the INIT values of the BRAM. Please go through https://www.xilinx.com/support/answers/63041.html

Thanks,
Arpan
----------------------------------------------------------------------------------------------
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
Highlighted
Teacher
Teacher
2,673 Views
Registered: ‎03-31-2012

@sophia_123 bram stores only bit vectors as the basic radix in hardware is binary. You can convert it to any radix you want.

If you store an 8 bit value of 8'b00010101 in a location this can be represented as 21 in decimal or 0x15 in hex.

- 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