Talk About Network

Google





Electronic Equipment > VHDL > Re: automatic f...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 7 Topic 6047 of 6445
Post > Topic >>

Re: automatic firmware revision for VHDL

by "HT-Lab" <hans64@[EMAIL PROTECTED] > May 26, 2008 at 04:37 PM

<dejfson@[EMAIL PROTECTED]
> wrote in message 
news:fa17637b-3631-4238-9b79-2061f475e3cb@[EMAIL PROTECTED]
> Dear Experts,
> i'd like to introduce to my design one register containing a firmware
> revision. Very probably the firmware revision would be a data when the
> VHDL code was checked out from the CVS repository where I store the
> project.
>
> The problem I encounter is how to translate the CVS last-commit data
> of the project currently checked out, and translate it into VHDL code
> to be a part of the project.
>
> Example:
>
> yesterday i committed at the end of day the whole project, thus when I
> check it out today and burn, one of the registers I ex****t should
> contain yesterday's date as a firmware revision
>
> i check out the project corresponding to a date 2 weeks ago, the
> firmware register should contain a number corresponding to date at
> which the version of the project I have checked out was committed.
>
> This would allow very easily match the firmware and CVS source
> together.....
>
> any ideas how to do it?
>
> thanks
> david

Can't you use the $Id$/$Revision$ string in your source file and translate

that to a date/version constant with a bit of Tcl?

This might help you a bit : 
http://www.ht-lab.com/freeutils/date2hdl/date2hdl.html

Hans
www.ht-lab.com
 




 7 Posts in Topic:
automatic firmware revision for VHDL
"dejfson@[EMAIL PROT  2008-05-26 06:37:57 
Re: automatic firmware revision for VHDL
"HT-Lab" <ha  2008-05-26 16:37:52 
Re: automatic firmware revision for VHDL
"dejfson@[EMAIL PROT  2008-05-26 14:22:41 
Re: automatic firmware revision for VHDL
Andy <jonesandy@[EMAIL  2008-05-27 11:34:06 
Re: automatic firmware revision for VHDL
moogyd@[EMAIL PROTECTED]   2008-05-28 02:35:04 
Re: automatic firmware revision for VHDL
Martin Thompson <marti  2008-05-30 10:13:50 
Re: automatic firmware revision for VHDL
"dejfson@[EMAIL PROT  2008-05-28 15:04:28 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 20:17:39 PST 2009.