Verilog

Verilog Code JK Flip Flop using Case Statement

Verilog Code :JK Flip Flop using Case Statement Verilog Code  module JKFlipFlop(    input J,    input K,     input clk,    output Q,    output Qbar        );reg Q,Qbar; always@(posedge clk)begin    case({J,K})    2’b0_0:Q<=Q;    2’b0_1:Q<=1’b0;    2’b1_0:Q<=1’b1;    2’b1_1:Q<=Qbar;endcaseendendmodule  Test Bench module JK_FlipFlop_TB;     // Inputs    reg J;    reg K;     // Outputs    wire Q;    wire Qbar;     // Instantiate the Unit […]

Verilog

Verilog Code: Decoder (3:8) using if-else

Verilog Code: Decoder (3:8) using if-else Verilog Code module Decoderusingifelse(data,out);input [2:0]data;output [7:0]out;reg [7:0]out;always@(data)begin    if(data==7)        out=1;    else if(data==6)        out=2;    else if(data==5)        out=4;    else if(data==4)        out=8;    else if(data==3)        out=16;    else if(data==2)        out=32;    else if(data==1)        out=64;    else if(data==0)        out=128;    else    out=0;endendmodule  Test Bench module DecoderTB;     // Inputs    reg [2:0] […]

Uncategorized

8051 ALP to subtract two 16 bit numbers| 8051 assembly code

8051 ALP to move a block of data from internal memory to external memory Below Code is Complied and Verified in Keil uVision 3. The .asm file is given below after the code. For clarifications and suggestion comment in the comment section

Uncategorized

8051 ALP to move block of data from internal to external memory location | 8051 Program

8051 ALP to move a block of data from internal memory to external memory Below Code is Complied and Verified in Keil uVision 3. The .asm file is given below after the code. For clarifications and suggestion comment in the comment section

Uncategorized

Election Voting System using 8051 microcontroller -C Code | CodesExplorer

Election Voting System using 8051(AT89C51) MicroController with Embedded C. This code is verified in Trainer Kit System Designed by ALS(Advanced Electronics Systems).The Election Voting System is interfaced using keypad and LCD with 8051 Microcontroller.

Uncategorized

8051 ALP to Sort Numbers in Ascending Order (AT89C51) | CodesExplorer Blog |

8051 Assembly Code to Sort the Numbers in Ascending Order. The Data is stored in RAM location 40H, And the Ascending order is stored in RAM location 50H.

Please Click on link below to Download Assembly Source Code 8051 Assembly Code to Sort Numbers in Ascending order  ASM File

Uncategorized

8051 Program to add two 16 bit Numbers (AT89C51) Microcontroller

8051 Program to add two 16 bit Numbers Below Code is Complied and Verified in Keil uVision 3. The .asm file is given below after the code. For clarifications and suggestion comment in the comment section

Please Click on link below to Download Assembly Source Code addition of two 16 bit numbers  ASM File

Uncategorized

8051 Program to Implement Division using Subraction (AT89C51)

8051 MicroController Assembly Code to Implement Division of two Numbers using Subtraction Instructions. Below Code is Complied and Verified in Keil uVision 3. The .asm file is given below after the code. For clarifications and suggestion comment in the comment section

Please Click on link below to Download Assembly Source Code Division using Subtarction  […]

Uncategorized

8051 Assembly Code To Multiply two numbers using Addition

8051 MicroController Assembly Code to Implement Multiplication of two Numbers using Addition Instructions. Below Code is Complied and Verified in Keil uVision 3. The .asm file is given below after the code. For clarifications and suggestion comment in the comment section

Please Cick on link below to Download Assembly Source Code Multiplication Using Addition […]