Tagged: finite state machine Toggle Comment Threads | Keyboard Shortcuts

  • CG 5:37 pm on May 15, 2012 Permalink | Reply
    Tags: computer science, finite state machine,   

    Simple Finite State Machine 

    A good article about Finite State Machine here.

    Advertisements
     
    • zakimath 2:08 pm on July 31, 2012 Permalink | Reply

      Wah, itu menarik sekali untuk dibahas lho, apalagi dari sisi matematisnya, bisa sampe menggunakan teori kategori dan fungtor, coba tanya bu Intan… 🙂

  • CG 7:30 pm on January 21, 2011 Permalink | Reply
    Tags: finite state machine, , ,   

    Simple FSM 

    —————————————————–
    — FSM for multiplier
    — CG – 21 Jan 2011
    —————————————————–

    library ieee ;
    use ieee.std_logic_1164.all;

    —————————————————–

    entity fsm_multiplierCG_1 is
    port(
    A0,A1,A2,A3: in bit_vector(1 downto 0);
    opA : out bit_vector(1 downto 0);
    clock: in std_logic;
    reset: in std_logic
    );
    end fsm_multiplierCG_1;

    —————————————————–

    architecture FSM of fsm_multiplierCG_1 is

    — define the states of FSM model

    type state_type is (S0, S1, S2, S3);
    signal next_state, current_state: state_type;

    begin

    — cocurrent process#1: state registers
    state_reg: process(clock, reset)
    begin

    if (reset=’1′) then
    current_state <= S0;
    elsif (clock’event and clock=’1′) then
    current_state <= next_state;
    end if;

    end process;

    — cocurrent process#2: combinational logic
    comb_logic: process(current_state, clock)
    begin

    — use case statement to show the
    — state transistion

    case current_state is

    when S0 => opA <= A0;
    next_state <= S1;

    when S1 => opA <= A1;
    next_state <= S2;

    when S2 => opA <= A2;
    next_state <= S3;

    when S3 => opA <= A3;
    next_state <= S0;

    end case;

    end process;

    end FSM;

    —————————————————–

     

     
  • CG 9:57 am on September 4, 2010 Permalink | Reply
    Tags: finite state machine,   

    Now reading 

    Things that can be easily done in software can be very difficult to implement in hardware. I’m looking for answers to solve a simple equations that can be done in c in no time, but have no idea how to do it in vhdl.
    1. http://ati.ttu.ee/~alsu/DE_FSM.pdf
    2. http://ece.gmu.edu/courses/ECE545/viewgraphs_F06/lecture5_FSM.ppt
    3. http://www.trilobyte.com/pdf/golson_snug94.pdf
    4. http://www.cs.tau.ac.il/~nin/Courses/ComStruct04/Lecture7.ppt
    5. http://sunpal7.mit.edu/6.111/s2003/lectures/lec6/l6.pdf
     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel