Forum Discussion
Altera_Forum
Honored Contributor
15 years ago7segment decoder
Hi,
I am trying to implement a 7segment decoder, but I get an error as Error (10568): VHDL error at Lab5.vhd(54): can't write to interface object "a" of mode IN Inside Architecture : process(a) begin a<=1; output <= integer2SevenSegment(a); end process; I declared the a as an integer of input and output as a signal of vector size 83 Replies
- Altera_Forum
Honored Contributor
if a is an input, initialise it at it's source.
- Altera_Forum
Honored Contributor
but if I want to initialize the value of a in a range between 0 and 15 and put it into my function that I defined in a package library? What can I do in this case, then it is both an input and output
- Altera_Forum
Honored Contributor
"a" cannot be an input and an output. Inputs and outputs have to be separate