LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Sponsors
  • Mirrors
  • Logos
  • Contact us
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cores > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: Atul Ware <baluware@y...>
    Date: Sat, 21 Jun 2003 07:17:19 +0100 (BST)
    Subject: Re: [oc] vhdl question
    Top

    hi saumil ,
       your problem is to just keep start high for two clocks or more..
       so can just have delayed signals of read and or them with read...
       this will solve your problem.
     
      Example  "start high for three clocks ":
      clock_process:
    (    del1_read <= read;
         del2_read <=del1_read; )
       
        start <='1' when ((read or del1_read or del2_read ) = ' 1' and addr(7downto 0)="11111111" else '0';
     
      If i am wrong please correct me...
     


    Saumil Merchant <msaumil@h...> wrote:
    Hey guys,
    I had a question. I have a combinational statement in VHDL as given below.
     
    start <= '1' when read='1' and addr(7 downto 0)="11111111" else '0';
     
    Now what happens here is that read goes high only for one clock cycle and hence so does start. How can I make start stay high for 2 or more clock cycles and then go low ?
     
    -----------------------------------------------------------------
    Saumil Merchant
    University of Tennessee
    http://web.utk.edu/~smerchan
    -----------------------------------------------------------------

    Yahoo! India Mobile SMS using the Yahoo! Messenger; Download latest version.

    ReferenceAuthor
    [oc] vhdl questionSaumil Merchant

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.