File Reading and Writing in Verilog || explanation with working Verilog code || very important

Поделиться
HTML-код
  • Опубликовано: 3 дек 2024

Комментарии • 26

  • @dance_hoofers7757
    @dance_hoofers7757 3 года назад +2

    So deep and clear... An average student can learn from your videos.. Jaise hi koi question aata hai dimag mein you already explained that in your video.. Really nice work.. 😇😇

    • @ComponentByte
      @ComponentByte  3 года назад +1

      Thank you for your kind appreciation.
      I always believe in concept and not just the theory and try my best to educate myself first and then deliver the knowledge. I also appreciate negative comments so that I can rectify my mistake.

    • @dance_hoofers7757
      @dance_hoofers7757 3 года назад +1

      @@ComponentByte that's the sign of real teacher.. I am learning it and just wish me all the best so that I can beat interviews..

    • @ComponentByte
      @ComponentByte  3 года назад +1

      Wish you a happy learning and all the very best. Have a great future.

  • @ramapatipatra5384
    @ramapatipatra5384 2 года назад +1

    Excellent sir

  • @14-ds-nagamanicholleti60
    @14-ds-nagamanicholleti60 2 года назад +1

    Hi sir, Can we read values other than files in Verilog? I mean as we are using scanf() in C Language

    • @ComponentByte
      @ComponentByte  2 года назад +1

      You mean you want to read letters or some sentence like scanf()
      If yes then it is only possible at simulation level and not at synthesis level because reading a sentence in verilog doesn't generate hardware and verilog is a hardware description language.
      $display and $monitor() in verilog mimic scanf () behaviour

    • @14-ds-nagamanicholleti60
      @14-ds-nagamanicholleti60 2 года назад

      @@ComponentByte ok sir.. Thank you

  • @mdtutorial7240
    @mdtutorial7240 2 года назад +1

    Thanks it's working fine for binary input as well as hexadecimal input.but what about decimal number input...??? I want to read my text file which is in decimal number but these commands are not working for me... please help.

    • @ComponentByte
      @ComponentByte  2 года назад +1

      To my knowledge it won't read decimal. It can only read hex and binary as no construct for decimal like b- binary, h- hex
      Please change decimal to binary or hex using tools like matlab and then read it. Thanks.

    • @mdtutorial7240
      @mdtutorial7240 2 года назад

      @@ComponentByte fscanf comand can be use or not....???

  • @ilieconstantin232
    @ilieconstantin232 10 месяцев назад

    hello, i have a homework to do, i have a mips32 program, and i added a bcd module and display_driver module, to show my name on the 7 segments display, but the i ideea of the homework is to use .coe file to make that, can you help me?

  • @ramapatipatra5384
    @ramapatipatra5384 Год назад

    Hello sir, first of all thanks a lot for discussing this memory read and write operation such a great way, but in the memory writing case I am writing the same code as you, but it writes 0 to 126 instead of 0 to 127, could please tell where I am making the mistake?

    • @ComponentByte
      @ComponentByte  Год назад

      My email id - email2vesystem@gmail.com
      Please send me your code, if you can, if you have not resolved it

  • @shubhamsrivastava7492
    @shubhamsrivastava7492 3 года назад

    is initial block synthesizable?

  • @VLSI_ADDA
    @VLSI_ADDA 2 года назад

    Hello sir can you tell me how to write a code for Asymmetric fifo if i am having a 32 bit input data and i want a 3 bit output from the fifo buffer how can i do that. please reply sir

    • @ComponentByte
      @ComponentByte  2 года назад

      Hope You might have gone through this link
      www.fpga4student.com/2017/01/verilog-code-for-fifo-memory.html?m=1
      www.google.com/url?q=www.sunburst-design.com/papers/CummingsSNUG2002SJ_FIFO1.pdf&sa=U&ved=2ahUKEwiJnp-Xv9j2AhV5zTgGHV0qDM4QFnoECAQQAg&usg=AOvVaw1PAcfsr3NZe4MfEXADosoi

  • @anandchitchat6411
    @anandchitchat6411 11 месяцев назад

    These codes are not working in Xiling Vivado.

    • @ComponentByte
      @ComponentByte  11 месяцев назад

      It should work. Please check what is it showing on xilinx simulator

    • @anandchitchat6411
      @anandchitchat6411 11 месяцев назад

      @@ComponentByte Thank you for instant reply .I tried both the code given in this video . If possible please check . Really struggling for my project"Calcuator " which says * I've to read the data from file using fopen and perform calculation using FSM and data can include maximum of 3 paranthesis.i.e() * If you can guide me it will be very helpful as at initial stage only(i.e reading the data) .I'm not getting the result so that I can move further do FSM logic to do calculation. *Do you have any mailid so that I can contact, I've to submit by tommorrow morning* . Please Help. Thank you again for Instant reply.

  • @kranthik910
    @kranthik910 2 года назад

    Simtime=%g what g means

    • @ComponentByte
      @ComponentByte  2 года назад

      Floating point in general format.
      g means general format