#20 FPGA Project ➠ Digital Clock | FPGA Basys3 Board | Verilog

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

КОМЕНТАРІ • 67

  • @ElectronicswithProfMughal
    @ElectronicswithProfMughal  3 роки тому

    If you find video helpful, please consider subscribing to the channel.
    Full Course available at *Udemy* w/ free access to code and project files for 10 cool FPGA projects ➤ www.udemy.com/instructor/course/5064304/

  • @LucasFerreira-tu4to
    @LucasFerreira-tu4to 4 роки тому +2

    Thank you for the video professor! Took me a while to debug my code, but I finally got it running (I'm using a board with a Cyclone IV and Quartus Prime Lite). Looking forward to the next videos!

  • @ElectroWolf_Arts
    @ElectroWolf_Arts Рік тому

    i build it with logic gates , transfer it into a VHDL code by Multisim software and thn uploaded that code on the fpga board ..... it was simple , i also made a 4 digits locking system and a simple automation segment , they all was simple.......thats the problem , i will face future problems due to my ignorance of programming , projects like "vga display" or "CNC machine"

    • @ElectronicswithProfMughal
      @ElectronicswithProfMughal  Рік тому

      Doing it that way, I call it cheating 😛 But great job (y)

    • @ElectroWolf_Arts
      @ElectroWolf_Arts Рік тому

      @@ElectronicswithProfMughal yeah you can say that , that clock tooks me around 350 logic gates including flipflops and counters and debouncers ... , but this methode is so limited

  • @giovannibetances5023
    @giovannibetances5023 5 років тому +2

    the push buttions are not working for me plz help

  • @drbalontotis2474
    @drbalontotis2474 Рік тому +1

    So thanks man

  • @vishnusuggula9036
    @vishnusuggula9036 3 роки тому +1

    I think push buttons won't work with this code as expected because when you press the button we will at least press it for few milliseconds lets take a best case that you will press for 1ms (actual value will be higher than 1ms) then in this code in always @(posedge clk) number of "posedge clk 's" will be 10^5 so the button will be high 10^5 always cycles so if you press minup - button even if it is for 1ms , min

    • @manchoong105
      @manchoong105 6 місяців тому

      Hi sir do you know how to solve this problem?

  • @MarioOswaldoAcevesJimenez
    @MarioOswaldoAcevesJimenez Рік тому +1

    TE AMO

  • @st_lim_st1154
    @st_lim_st1154 2 роки тому +1

    Hi prof, if im using spartan 3e with 50Mhz oscillator clock, do i need to slow the clock down to 1 hz beforehand? and what actually is the function of declaring a localparam?

    • @ElectronicswithProfMughal
      @ElectronicswithProfMughal  2 роки тому

      Yes, you'll still need to slow down the clock, and because the board clock is 50 MHz, which means the count value will be different from what is shown in the video because Basys 3 board has a frequency of 100 Hz. Declaring localparam is helpful so you can use assigned variables that carry some pre-stored values. If your machine has any states, it is helpful to use localparam command.
      On how to slow down the clock, please watch this video - ua-cam.com/video/pFHKVLrjOSk/v-deo.html

  • @kennethchan2803
    @kennethchan2803 3 роки тому +1

    thank you so much for the video

  • @angeldavidsotoosornio8926
    @angeldavidsotoosornio8926 2 роки тому +1

    question, is it possible to turn on the two leds in the middle of the display ?... (" : ")

    • @ElectronicswithProfMughal
      @ElectronicswithProfMughal  2 роки тому

      Yes, it is. You should use a constraint file that has those ports and their addresses.

  • @붕어빵빵-s3h
    @붕어빵빵-s3h 5 років тому +1

    thanks for the video. really helpful

  • @SoubhagyaM-l3z
    @SoubhagyaM-l3z Місяць тому

    How much price will fpga board cost

  • @ato-qt4rx
    @ato-qt4rx 2 місяці тому +1

    do you have basys3 fpga code for buttons

  • @Hersparklinggqalb
    @Hersparklinggqalb 4 роки тому +1

    Hi sir can i do this without the hardware kit to see the output by simulating this instantiated codes?

    • @ElectronicswithProfMughal
      @ElectronicswithProfMughal  4 роки тому +1

      Smile yes, you can do that without the board itself. Good luck :) just create a testbench file and simulate it.

  • @doo.dlebyk
    @doo.dlebyk 4 роки тому +1

    well explained sir thank you!!

  • @ankamanirudh8837
    @ankamanirudh8837 4 роки тому +1

    Sir I have one doubt
    I am confused to choose clock frequency
    My sir said to operate clock at 1hz so what changes should I do?
    Simply I just need to kept
    always #1 clk= ~clk; that's it?

    • @ElectronicswithProfMughal
      @ElectronicswithProfMughal  4 роки тому

      Ankam, we've chosen 1 Hz clock in this project. You can also watch this tutorial on how to set a slow clock - studio.ua-cam.com/users/videopFHKVLrjOSk/edit

    • @ankamanirudh8837
      @ankamanirudh8837 4 роки тому

      @@ElectronicswithProfMughal link not opening
      Can I share my code can you rectify please

    • @ankamanirudh8837
      @ankamanirudh8837 4 роки тому

      @@ElectronicswithProfMughal
      module digital_clock(clk,rst,en,sec,min,hours,days,months);
      input clk,rst,en;
      output reg[5:0]sec;
      output reg[5:0]min;
      output reg[4:0]hours;
      output reg[4:0]days;
      output reg[3:0]months;
      reg[31:0]count=0;
      always@(posedge clk)
      begin
      if(rst)
      begin
      count

    • @ElectronicswithProfMughal
      @ElectronicswithProfMughal  4 роки тому

      @@ankamanirudh8837 49_999_999 for 1 sec

  • @gorlamanishkumarkmqumwuazl2736
    @gorlamanishkumarkmqumwuazl2736 3 роки тому

    sir can u provide me the block diagram for artix7 for digital alarm clock thank you

  • @gorlamanishkumarkmqumwuazl2736
    @gorlamanishkumarkmqumwuazl2736 3 роки тому

    sir can we use this for artix 7 Nexys4 like there will be more seven segments rt my question is that we can wrk on led also rt...

  • @ahsankayani8670
    @ahsankayani8670 9 місяців тому +1

    Please allow access to the project dear sir.

  • @AjitKumarPradhan-to8iq
    @AjitKumarPradhan-to8iq Рік тому

    I really don't understand the use of segclk varible ElectronicswithProfMughal

    • @ajit8959
      @ajit8959 Рік тому

      @ElectronicswithProfMughal

  • @scientistterrific
    @scientistterrific Рік тому

    Can anyone please tell me how can I make this clock code work on any other FPGA board?? What Changes do I need to make in the above code for zedboard

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

    sir access to drive please

  • @vikassingh-nj6fu
    @vikassingh-nj6fu 4 роки тому

    thanks for video, can you help to inteface of keyborad to basys3 board?

  • @devenhegadepatil8351
    @devenhegadepatil8351 6 місяців тому

    pls give me the acces for the file.

  • @saleemfrooqie1122
    @saleemfrooqie1122 4 роки тому

    sir can i get software link and i am using windows 8.1 pro

    • @ElectronicswithProfMughal
      @ElectronicswithProfMughal  4 роки тому

      saleem frooqie Hope you find this helpful: www.xilinx.com/video/hardware/vivado-design-suite-installation-overview.html

  • @najmizaki1415
    @najmizaki1415 4 роки тому

    Hi sir. I have downloaded your programing code and it seem the push button does not work.

    • @ElectronicswithProfMughal
      @ElectronicswithProfMughal  4 роки тому

      Najmi Zaki it worked on Basys 3 board for me.

    • @ElectronicswithProfMughal
      @ElectronicswithProfMughal  4 роки тому

      Another alternative could be trying this pushbutton: ua-cam.com/video/LO8ONR1TceI/v-deo.html

    • @najmizaki1415
      @najmizaki1415 4 роки тому

      @@ElectronicswithProfMughal I use Basys 3 board too. Thank you, I will try it first

    • @ishananchit677
      @ishananchit677 3 роки тому

      in the given link, in which folder are the code files and in which format are they?

    • @ElectronicswithProfMughal
      @ElectronicswithProfMughal  3 роки тому

      @@ishananchit677 Digital_Clock.srcs.

  • @araj8811
    @araj8811 3 роки тому

    I have already request you plz allow to access this project

  • @ksyk2211
    @ksyk2211 5 років тому

    Can I have the VHDL file

    • @ElectronicswithProfMughal
      @ElectronicswithProfMughal  5 років тому +1

      I used Verilog and you can access the project files at the link mention in the description box.

    • @giovannibetances5023
      @giovannibetances5023 5 років тому

      @@ElectronicswithProfMughal I downloaded your project but the push button don't sim to work plz help

    • @ElectronicswithProfMughal
      @ElectronicswithProfMughal  5 років тому

      @@giovannibetances5023 I am not sure, what could be the issue. See if you can get that part to work from a testbench.

  • @01_arvind59
    @01_arvind59 4 роки тому

    Is system verilog also required or simply verilog is enough?

    • @ElectronicswithProfMughal
      @ElectronicswithProfMughal  4 роки тому +1

      Dear Manish, depends upon what your end goal is. You can do both.

    • @01_arvind59
      @01_arvind59 4 роки тому

      @@ElectronicswithProfMughal fpga projects u teached are based on only verilog or system verilog?

    • @ElectronicswithProfMughal
      @ElectronicswithProfMughal  4 роки тому

      Dear Manish, like I told you previously, it is upon your discretion and the simulation platform you’re using. I am using system verilog using Vivado.