Forum Discussion
Altera_Forum
Honored Contributor
15 years agointeger data type
hello everyone, I need help here.Below is my vhdl code: LIBRARY ieee; USE ieee.ALL; ENTITY haar IS PORT ( clock : IN bit; clk : IN bit; -- Inputs in1 : IN integer RANGE...
Altera_Forum
Honored Contributor
15 years agoYou don't have any problem thus far. You are asking in1 to be range -127 ~ 127 i.e. 8 bits. so is in2 and so on...