M
mkokelma
Guest
Hello,
I'm a beginner in vhdl. I use Mentor Graphics for programming VHDL.
I want to split a matrix.
For example
I have a port "in" with 6 rows, 110011.
I want to split it to 2 ports
The ports are: "en" with 2 rows and "opsel" with 4 rows.
The result must: en=11 and opsel=0011
How can I do this.
I have already tested:
en<=in (5 DOWNMTO 4);
opsel<= in (3 DOWNTO 0);
It didn't work in autologic II.
After synthesis the es an error with
Type mismatch ... netlist failed.
What can I do.
Thanks
Martin
I'm a beginner in vhdl. I use Mentor Graphics for programming VHDL.
I want to split a matrix.
For example
I have a port "in" with 6 rows, 110011.
I want to split it to 2 ports
The ports are: "en" with 2 rows and "opsel" with 4 rows.
The result must: en=11 and opsel=0011
How can I do this.
I have already tested:
en<=in (5 DOWNMTO 4);
opsel<= in (3 DOWNTO 0);
It didn't work in autologic II.
After synthesis the es an error with
Type mismatch ... netlist failed.
What can I do.
Thanks
Martin