mkokelma wrote:
>
> mkokelma schrieb:
> > 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
> >
>
> Type mismatch in assignment to netlist ...
> is the error I get. What is wrong?
How did you define ein and en? Are they compatible types?
--
Rick "rickman" Collins
Ignore the reply address. To email me use the above address with the XY
removed.
Arius - A Signal Processing Solutions Company
Specializing in DSP and FPGA design URL
http://www.arius.com
4 King Ave 301-682-7772 Voice
Frederick, MD 21701-3110 301-682-7666 FAX