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: Michael Geng<vhdl@M...>
    Date: Sat Nov 5 11:52:02 CET 2005
    Subject: [oc] single_port: remove PAGENUM constant
    Top
    It is not as easy as I thought to define PAGEDEPTH as a generic. So I have
    given up this idea. Nevertheless I moved it to the linked_list_mem_pkg
    package because it's only used by the linked list implementation.

    On Sat, Oct 29, 2005 at 12:59:02PM +0200, Michael Geng wrote:
    > I hope you had some nice holidays!
    >
    > I removed the PAGENUM constant completely with the last checkin.
    > I hope that's ok.
    >
    > I now think about removing also the PAGEDEPTH constant from the package
    > and providing it as a generic instead. This would give some more
    > flexibility because it can then be set differently if multiple instances
    > are used within the same design. If we add 256 as a default value to this
    > generic then we have more flexibility and the design is kept compatible.
    >
    > How do you think about it?
    >
    > Michael
    >
    > On Fri, Oct 28, 2005 at 12:31:43AM +0200, rpaley_yid@y... wrote:
    > > Sorry, for the late reply. I've just returned from a holiday. I forgot, is
    > > PAGENUM used in any of the architectures? Especially the linked list one..
    > >
    > > r
    > >
    > > ----- Original Message -----
    > > From: Michael Geng<vhdl@M...>
    > > To:
    > > Date: Tue Oct 18 19:24:01 CEST 2005
    > > Subject: [oc] single_port: remove PAGENUM constant
    > >
    > > > Hi Robert,
    > > >
    > > > since the single_port model uses unconstrained vectors for the data
    > > > and address buses the PAGENUM
    > > > constant is no longer required. I would like to remove it from
    > > > single_port_pkg completely and
    > > > replace it in single_port.vhd in the following way:
    > > > < TYPE mem_typ IS ARRAY ( 0 TO PAGENUM*PAGEDEPTH-1 ) OF
    > > > BIT_VECTOR(d'RANGE);
    > > > > TYPE mem_typ IS ARRAY ( 0 TO 2**a'length-1 ) OF
    > > > BIT_VECTOR(d'RANGE);
    > > > Is that ok with you?
    > > > Michael
    > > >
    > > >
    > > _______________________________________________
    > > http://www.opencores.org/mailman/listinfo/cores
    > _______________________________________________
    > http://www.opencores.org/mailman/listinfo/cores

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