AI - ChatGPT to Learn VLSI Coding | AI Series 1 | OpenAI

Поділитися
Вставка
  • Опубліковано 24 гру 2024

КОМЕНТАРІ • 6

  • @akshayshah000
    @akshayshah000 Рік тому +3

    Thank you..

  • @Blitzkrieg-XXIII
    @Blitzkrieg-XXIII 9 місяців тому +1

    Hi,
    I used the same query to generate wrt Copilot and it gave a good code with comments with just one go.
    Here it is:
    module full_adder (
    input logic a, b, cin, // Inputs: a, b, and carry-in
    output logic sum, cout // Outputs: sum and carry-out
    );
    // Internal wire for the carry
    logic carry1, carry2, sum1;
    // First stage of addition
    assign sum1 = a ^ b;
    assign carry1 = a & b;
    // Second stage of addition
    assign sum = sum1 ^ cin;
    assign carry2 = sum1 & cin;
    // Carry-out is the OR of both carry outputs
    assign cout = carry1 | carry2;
    endmodule

    • @vlsichaps
      @vlsichaps  7 місяців тому

      I hope this helped

  • @kjsoni4556
    @kjsoni4556 Рік тому +3

    Good one. Thank you .

  • @rudimentaryofmanagement8944

    Thanks