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: spyros_s@f... (spyros)
    Date: Mon, 23 Jun 2003 03:06:28 +0300
    Subject: RE: [oc] vhdl question
    Top

    
    hi all,
    
    >- ---cut here---
    >
    >signal mid : std_logic;
    >
    >mid <= start OR clk;
    >start <= '1' when mid='1' and addr(7 downto 0)="11111111" else '0';
    >
    >- ---cut here---
    
    the above is wrong...sorry it was late in the night when i wrote it..(so it is now!!!)the correct (or i hope so this time..) code is:
    
    signal mid : std_logic;
    start <= '1' when (mid or read)='1' and addr(7 downto 0)="11111111" else '0';
    
    keep the mid signal as many cycles as you wish to 1.
    
    regards,
    spyros
    
    --
    student @ Demokritos Univercity of THrace
    
    
    _____________________________________________________________________
    http://www.freemail.gr - &dgr;&ohgr;&rgr;&egr;&aacgr;&ngr; &ugr;&pgr;&eegr;&rgr;&egr;&sgr;&iacgr;&agr; &eegr;&lgr;&egr;&kgr;&tgr;&rgr;&ogr;&ngr;&igr;&kgr;&ogr;&uacgr; &tgr;&agr;&khgr;&ugr;&dgr;&rgr;&ogr;&mgr;&egr;&iacgr;&ogr;&ugr;.
    http://www.freemail.gr - free email service for the Greek-speaking.
    
    
    
     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.