
Tuesday, October 12, 2010
Monday, October 11, 2010
ADC
Sunday, October 10, 2010
Siddarath's blog
This is Our Siddharth's blog,have a look at this and support his blog!!!
http://rsiddharth.wordpress.com/
http://rsiddharth.wordpress.com/
DPSD-Important questions
Part-A
1.VHDL and 6 keyword used.
2.JK flip-flop circuit & table equation
3.D flip-flop from SR flip-flop
4.verilog code for Boolean expression e=a+bc+b’d and
f=bc’+bcd+ab’c’
5.logic diagram for description module circuit(op y1,ip a,b,op y2); assign y1=a&b; or(y2,a,b) end module
Part-B
1.write the HDL code for 4*1 MUX.
2.draw the circuit and write the HDL code for 4-bit parallel adder.
More questions coming soon
1.VHDL and 6 keyword used.
2.JK flip-flop circuit & table equation
3.D flip-flop from SR flip-flop
4.verilog code for Boolean expression e=a+bc+b’d and
f=bc’+bcd+ab’c’
5.logic diagram for description module circuit(op y1,ip a,b,op y2); assign y1=a&b; or(y2,a,b) end module
Part-B
1.write the HDL code for 4*1 MUX.
2.draw the circuit and write the HDL code for 4-bit parallel adder.
More questions coming soon
Friday, October 8, 2010
circle and cylinder
#include
#include
Class point
{
Protected:
Int xcor;
Int ycor;
Public:
Point(int x,int y)
{
Xcor=x;
Ycor=y;
}
Virtual void area()=0;
Virtual void volume()=0;
};
Class circle:public point
{
Protected:
Float radius;
Float area;
Float volume;
Public:
Void area(float rad)
{
Radius=rad;
Area=3.14*radius*radius;
Cout<}
Void volume(float rad)
{
Radius=rad;
Volume=(4/3)*3.14*radius*radius*radius;
Cout< }
};
Class cylinder:public circle
{
Protected:
Float height;
Float area1;
Float volume1;
Public:
Void area(float hei)
{
Height=hei;
Area1=2(circle::area)+2(3.14*circle::radius*height);
Cout< }
Void volume(float hei)
{
Height=hei;
Volume1=( circle::area)*height;
Cout< }
};
Void main()
{
Point p;
P.point(5,6);
Circle c1,c2;
C1.area(5.5);
C2.area(5.5);
Cylinder c3,c4;
C3.area(4.1);
C4.volume(4.1);
}
#include
Class point
{
Protected:
Int xcor;
Int ycor;
Public:
Point(int x,int y)
{
Xcor=x;
Ycor=y;
}
Virtual void area()=0;
Virtual void volume()=0;
};
Class circle:public point
{
Protected:
Float radius;
Float area;
Float volume;
Public:
Void area(float rad)
{
Radius=rad;
Area=3.14*radius*radius;
Cout<}
Void volume(float rad)
{
Radius=rad;
Volume=(4/3)*3.14*radius*radius*radius;
Cout<
};
Class cylinder:public circle
{
Protected:
Float height;
Float area1;
Float volume1;
Public:
Void area(float hei)
{
Height=hei;
Area1=2(circle::area)+2(3.14*circle::radius*height);
Cout<
Void volume(float hei)
{
Height=hei;
Volume1=( circle::area)*height;
Cout<
};
Void main()
{
Point p;
P.point(5,6);
Circle c1,c2;
C1.area(5.5);
C2.area(5.5);
Cylinder c3,c4;
C3.area(4.1);
C4.volume(4.1);
}
Subscribe to:
Posts (Atom)


















