Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - PLEASE I NEED THE VHDL CODE FOR JK FLIPFLOP

 
Thread Tools Search this Thread
Old 09-22-2006, 07:45 PM   #1
Default PLEASE I NEED THE VHDL CODE FOR JK FLIPFLOP


I JUST STARTED USING QUARTUS SOFTWARE.I NEED HELP PLEASE



hyeazu@juno.com
  Reply With Quote
Old 09-24-2006, 01:29 AM   #2
rickman
 
Posts: n/a
Default Re: PLEASE I NEED THE VHDL CODE FOR JK FLIPFLOP

wrote:
> I JUST STARTED USING QUARTUS SOFTWARE.I NEED HELP PLEASE


Assuming that you know how to write a clocked process, a JK FF should
be a simple matter of coding the truth table for a JK FF. Lets see if
I can remember how that goes.

J K | Q+1
---------
0 0 | Q
0 1 | 0
1 0 | 1
1 1 | ~Q


So the VHDL inside the process could look like...

case JK is
when "00" => Q <= Q;
when "01" => Q <= '0';
when "10" => Q <= '1';
when "11" => Q <= not Q;
others => Q <= 'X';
end case;

You should be able to put the process and signal definitions around
this.

  Reply With Quote
Old 09-24-2006, 08:31 PM   #3
rickman
 
Posts: n/a
Default Re: PLEASE I NEED THE VHDL CODE FOR JK FLIPFLOP

rickman wrote:
> wrote:
> > I JUST STARTED USING QUARTUS SOFTWARE.I NEED HELP PLEASE

>
> Assuming that you know how to write a clocked process, a JK FF should
> be a simple matter of coding the truth table for a JK FF. Lets see if
> I can remember how that goes.
>
> J K | Q+1
> ---------
> 0 0 | Q
> 0 1 | 0
> 1 0 | 1
> 1 1 | ~Q
>
>
> So the VHDL inside the process could look like...
>
> case JK is
> when "00" => Q <= Q;
> when "01" => Q <= '0';
> when "10" => Q <= '1';
> when "11" => Q <= not Q;
> others => Q <= 'X';
> end case;
>
> You should be able to put the process and signal definitions around
> this.


I figured this was some kid asking for help with his homework. I
didn't realize that he is actually asking for someone to do the entire
assignment for him. I thought I could help by getting him started on
the core in case he was stuck on a way to do this. But then I get an
email asking for the entire assignment!

--------------------
From: "coldplay112" <>
To: "rickman" <>
Subject: THE VHDL CODE FOR JK FLIPFLOP


PLEASE SIR GIVE THE WHOLE CODE SIR,FROM THE ENTITY JK FLIPFLOP TO END
BEHAVIOR.I AM A NOVICE IN THIS COURSE.
------------------

Maybe I am in the wrong business. I could charge $25 each for doing 10
minute homework assignments and rake in some real dough, especially if
I do it for everyone in the same class!!!

I guess it is a bit like spamming. You only need one guy in a thousand
who replies to make it worth your while...

  Reply With Quote
Old 09-25-2006, 04:00 PM   #4
coldplay112
 
Posts: n/a
Default I HAVE FIGURED IT OUT THE VHDL CODE FOR JK FLIPFLOP

IT WORK WITH MY QUARTUS ALTERA VDHL PROGRAM.THANKS FOR PUTTING PRESSURE
ON ME.I WILL STRIVE TO GET AN A IN THIS COURSE GRADUALLY,I HAVE A TEST
BYE.

  Reply With Quote
Old 09-25-2006, 07:47 PM   #5
Isaac Bosompem
 
Posts: n/a
Default Re: PLEASE I NEED THE VHDL CODE FOR JK FLIPFLOP


rickman wrote:
> rickman wrote:
> > wrote:
> > > I JUST STARTED USING QUARTUS SOFTWARE.I NEED HELP PLEASE

> >
> > Assuming that you know how to write a clocked process, a JK FF should
> > be a simple matter of coding the truth table for a JK FF. Lets see if
> > I can remember how that goes.
> >
> > J K | Q+1
> > ---------
> > 0 0 | Q
> > 0 1 | 0
> > 1 0 | 1
> > 1 1 | ~Q
> >
> >
> > So the VHDL inside the process could look like...
> >
> > case JK is
> > when "00" => Q <= Q;
> > when "01" => Q <= '0';
> > when "10" => Q <= '1';
> > when "11" => Q <= not Q;
> > others => Q <= 'X';
> > end case;
> >
> > You should be able to put the process and signal definitions around
> > this.

>
> I figured this was some kid asking for help with his homework. I
> didn't realize that he is actually asking for someone to do the entire
> assignment for him. I thought I could help by getting him started on
> the core in case he was stuck on a way to do this. But then I get an
> email asking for the entire assignment!
>
> --------------------
> From: "coldplay112" <>
> To: "rickman" <>
> Subject: THE VHDL CODE FOR JK FLIPFLOP
>
>
> PLEASE SIR GIVE THE WHOLE CODE SIR,FROM THE ENTITY JK FLIPFLOP TO END
> BEHAVIOR.I AM A NOVICE IN THIS COURSE.
> ------------------
>
> Maybe I am in the wrong business. I could charge $25 each for doing 10
> minute homework assignments and rake in some real dough, especially if
> I do it for everyone in the same class!!!
>
> I guess it is a bit like spamming. You only need one guy in a thousand
> who replies to make it worth your while...


Hahaha,

The way you guys respond to thse people is hilarious.

-Isaac

  Reply With Quote
Old 09-25-2006, 10:10 PM   #6
fabbl
 
Posts: n/a
Default Re: I HAVE FIGURED IT OUT THE VHDL CODE FOR JK FLIPFLOP

Try reading a book.

> IT WORK WITH MY QUARTUS ALTERA VDHL PROGRAM.THANKS FOR PUTTING PRESSURE
> ON ME.I WILL STRIVE TO GET AN A IN THIS COURSE GRADUALLY,I HAVE A TEST
> BYE.
>
>



  Reply With Quote
Old 09-26-2006, 08:54 PM   #7
burn.sir@gmail.com
 
Posts: n/a
Default Re: PLEASE I NEED THE VHDL CODE FOR JK FLIPFLOP

rickman wrote:
> I figured this was some kid asking for help with his homework. I
> didn't realize that he is actually asking for someone to do the entire
> assignment for him. I thought I could help by getting him started on
> the core in case he was stuck on a way to do this. But then I get an
> email asking for the entire assignment!
>
> --------------------
> From: "coldplay112" <>
> To: "rickman" <>
> Subject: THE VHDL CODE FOR JK FLIPFLOP
>
>
> PLEASE SIR GIVE THE WHOLE CODE SIR,FROM THE ENTITY JK FLIPFLOP TO END
> BEHAVIOR.I AM A NOVICE IN THIS COURSE.
> ------------------
>
> Maybe I am in the wrong business. I could charge $25 each for doing 10
> minute homework assignments and rake in some real dough, especially if
> I do it for everyone in the same class!!!
>
> I guess it is a bit like spamming. You only need one guy in a thousand
> who replies to make it worth your while...




Is it only me or are the kids really getting dumber by the day?
Not to mention cocky. nowadays, they are DEMANDING and REQUIERING
answers.


-burns

  Reply With Quote
Old 09-26-2006, 08:57 PM   #8
burn.sir@gmail.com
 
Posts: n/a
Default Re: PLEASE I NEED THE VHDL CODE FOR JK FLIPFLOP

rickman wrote:
> I figured this was some kid asking for help with his homework. I
> didn't realize that he is actually asking for someone to do the entire
> assignment for him. I thought I could help by getting him started on
> the core in case he was stuck on a way to do this. But then I get an
> email asking for the entire assignment!
>
> --------------------
> From: "coldplay112" <>
> To: "rickman" <>
> Subject: THE VHDL CODE FOR JK FLIPFLOP
>
>
> PLEASE SIR GIVE THE WHOLE CODE SIR,FROM THE ENTITY JK FLIPFLOP TO END
> BEHAVIOR.I AM A NOVICE IN THIS COURSE.
> ------------------
>
> Maybe I am in the wrong business. I could charge $25 each for doing 10
> minute homework assignments and rake in some real dough, especially if
> I do it for everyone in the same class!!!
>
> I guess it is a bit like spamming. You only need one guy in a thousand
> who replies to make it worth your while...




Is it only me or are the kids really getting dumber by the day?
Not to mention cocky. nowadays, they are DEMANDING and REQUIERING
answers.


-burns

  Reply With Quote
Old 09-27-2006, 02:46 AM   #9
james
 
Posts: n/a
Default Re: PLEASE I NEED THE VHDL CODE FOR JK FLIPFLOP

On 26 Sep 2006 12:54:21 -0700, wrote:

>+++Is it only me or are the kids really getting dumber by the day?
>+++Not to mention cocky. nowadays, they are DEMANDING and REQUIERING
>+++answers.
>+++
>+++
>+++-burns

***********

Just lazy.

james
  Reply With Quote
Old 09-27-2006, 08:41 AM   #10
Michael Jørgensen
 
Posts: n/a
Default Re: I HAVE FIGURED IT OUT THE VHDL CODE FOR JK FLIPFLOP


"fabbl" <> wrote in message
news:QAXRg.15982$ om...
> Try reading a book.
>
> > IT WORK WITH MY QUARTUS ALTERA VDHL PROGRAM.THANKS FOR PUTTING PRESSURE
> > ON ME.I WILL STRIVE TO GET AN A IN THIS COURSE GRADUALLY,I HAVE A TEST
> > BYE.


Start by switch off "caps lock".

-Michael.


  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump