Forum Discussion
Altera_Forum
Honored Contributor
15 years agorepresentation of equation in vhdl
sir, how can write l{n-(N-1)/2}l in vhdl???
Altera_Forum
Honored Contributor
15 years agoyou can use the abs() function for that purpose. It should work on both integer and unsigned types.