Xilinx SDK: Output with print, xil_printf and printf

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ธ.ค. 2024

ความคิดเห็น • 7

  • @vasanthraj8388
    @vasanthraj8388 3 ปีที่แล้ว

    Very informative thanks

  • @arslanmajid1381
    @arslanmajid1381 ปีที่แล้ว

    How to get a floating point value printed ?

    • @techmad8204
      @techmad8204 6 หลายเดือนก่อน

      Use printf

  • @ruixiong5237
    @ruixiong5237 2 ปีที่แล้ว

    thanks a lot. It helps.

  • @mdesm2005
    @mdesm2005 2 ปีที่แล้ว +1

    how stated that printf uses 2kb more than print. Fine. Then you stated that if you printed several times, the difference would be larger. But how can that be? You only statically link the function once. You call the same piece of code each time.

    • @AshishKumar-tb7bd
      @AshishKumar-tb7bd ปีที่แล้ว

      What if there are multiple such applications which are printing to console. Also the difference is not that of 2 kB beween printf and print, in my case I found it to be about 31 kB. Xil_printf shown to have saved some 24 kB in comparison to printf.

  • @gabilancyber
    @gabilancyber 3 ปีที่แล้ว

    It took me like an hour to realize that xil_printf doesn't print float... I wish I could see your message before.