LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    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: Roberto Ammendola<roberto.ammendola@r...>
    Date: Wed Apr 20 18:34:49 CEST 2005
    Subject: [oc] Operations within a vector
    Top
    David Brochart wrote:

    >variable global_b : std_logic;
    >...
    >global_b := '0';
    >for i in PARAMETER downto 0 loop
    > for j in VECTOR_SIZE downto 0 loop
    > global_b := global_b or b(i, j);
    > end loop;
    >end loop;
    >
    >

    thanks David, that's cool.
    I just wonder if there is a concurrent way to do it. But I am afraid
    that i am searching for something that (V)HDL can handle only in a
    sequential statement like above. And anyway I don't think my synthetizer
    will encounter many troubles to fit it in the timing requirements...

    well, thanks again
    Roberto

    ReferenceAuthor
    [oc] Operations within a vectorDavid Brochart

    Follow upAuthor
    [oc] Re: Operations within a vectorMichael Hordijk

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