newbie: vector increment????

T

Trent R.

Guest
Hello,

I started now with VHDL....so maybe it´s a stupid Question....
but is there an easy way to increment a bitvector?
For example something like this:

SIGNAL nano_bin : std_ulogic_vector(31 downto 0);
IF....THEN
nano_bin <= nano_bin +1 ;
END IF;

THX Trent
 
There is an excellent FAQ that explains many questions you will have during
the learning curve of VHDL.
http://www.vhdl.org/vi/comp.lang.vhdl/FAQ1.html#arithmetic

Egbert Molenkamp

"Trent R." <rnenna@gmx.de> schreef in bericht
news:buu9t7$acv$2@ngspool-d02.news.aol.com...
Hello,

I started now with VHDL....so maybe it´s a stupid Question....
but is there an easy way to increment a bitvector?
For example something like this:

SIGNAL nano_bin : std_ulogic_vector(31 downto 0);
IF....THEN
nano_bin <= nano_bin +1 ;
END IF;

THX Trent
 

Welcome to EDABoard.com

Sponsor

Back
Top