Hans, By any chance you meant to write: >> I assume you mean something like SystemRDL wh instead of: >> I assume you don't mean something like SystemRDL B'cos that's kind of a relevant link. Though IP-XACT has become more accepted standard for this. Jim - Yes SV/UVM has something called "UVM Registers" for this very purpose. Thanks Srini www.cvcblr.com/blog On Thu, Dec 20, 2012 at 9:27 PM, ht-lab <hans64@ht-lab.com> wrote: > Hi Jim, > > I assume you don't mean something like SystemRDL which was donated to > Accellera some time ago. > > Regards, > Hans. > > > On 20/12/2012 15:07, Jim Lewis wrote: > >> Hi All, >> What I would really like to see for this is a common >> descriptor file that defines the address, number of >> bits, and read/write capability of a register that >> can then be processed into a ".h" file for c programmers >> and one or more packages for the VHDL development team. >> >> In addition, with the right sort of information in the >> packages, it would seem that the testing of our >> register space of our design should be able to be >> handled in a standardized way. >> >> I am fairly certain SystemVerilog has done something >> like this. It would be nice to have a corresponding >> capability for VHDL. >> >> Best, >> Jim >> >> Hello, >>> >>> currently VHDL doesn't seem to support a construct which allows the >>> usage of hex numbers instead of integer numbers. For example sometimes I >>> encode my addresses like this: >>> >>> CONSTANT >>> C_ADDRESS_WIDTH >>> : integer := 4; >>> >>> CONSTANT >>> C_READ_DATA >>> : unsigned(C_ADDRESS_WIDTH - 1 DOWNTO 0) := to_unsigned(1, >>> C_ADDRESS_WIDTH); >>> >>> it would be nice if I could write it like this or something similar: >>> >>> CONSTANT >>> C_ADDRESS_WIDTH >>> : integer := 12; >>> >>> CONSTANT >>> C_READ_DATA >>> : unsigned(C_ADDRESS_WIDTH - 1 DOWNTO 0) := to_unsigned(0x1, >>> C_ADDRESS_WIDTH); >>> >>> This way if I have to adjust the address width there would be just one >>> position in the code which I would have to modify. The hexadecimal coding >>> would be more in line with the address encoding the microcontroller >>> programmers use. Other suggestions would be welcomed though. >>> >>> >>> Best regards >>> i.A. Martin Stolpe >>> >>> >>> ------------------------------**------------------------------** >>> ------------------------------**---------------- >>> >>> Systemingenieur >>> R&D Smart Embedded Systems (SW) >>> >>> NewTec GmbH >>> System-Entwicklung und Beratung >>> Heinrich-von-Stephan-Str. 8B >>> D-79100 Freiburg >>> >>> Telefon : +49 (0) 761 21117-40 >>> Telefax : +49 (0) 761 21117-41 >>> email : martin.stolpe@newtec.de >>> web : http://www.newtec.de >>> >>> ------------------------------**------------------------------** >>> ------------------------------**---------------- >>> Geschäftsführer: Johannes Werbach, Harald Molle, Ulrich Schwer, Michael >>> Tröscher >>> Registergericht: Memmingen - HRB 7236 USt.-IdNr. DE130850199 >>> ------------------------------**------------------------------** >>> ------------------------------**---------------- >>> >>> >>> >>> >> >> > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Thu Dec 20 08:44:06 2012
This archive was generated by hypermail 2.1.8 : Thu Dec 20 2012 - 08:44:23 PST