Forum Discussion
5 Replies
- Altera_Forum
Honored Contributor
Easiest to use named association.
Label the input to the VHDL as mybus. Do not connect it to anything. connect a bus to GND. label the bus mybus[13..12] connect the other part to the signal of interest, label is mybus[11..0] Any reason you are using schematic and not VHDL? - Altera_Forum
Honored Contributor
Thank you tricky, so I was doing it the right way. But it's a little annoying !
I'm using a schematic because it's a pretty large system and I use some standard cores in it (fir, comparator,mux etc etc). So because setting the cores using a schematic is simpler then doing it by hand in vhdl I use a mixed system. Probably there is a better way but as I still don't know it I'm working this way.. Do you have any suggestions ?? - Altera_Forum
Honored Contributor
All the standard cores generated from the megawizard generate VHDL/verilog components you can copy/paste into your VHDL. These are wrappers around the base component with all the generics set. You just need to map the ports.
- Altera_Forum
Honored Contributor
Thank you Tricky.
So if I generate eg: parallel_add0.qip, I can use it in my VHDL top design using simply the direct instantiation? eg: my_parall_add0_inst : parallel_add0 PORT MAP(......) Your help is really appreciated ! Have a nice day ! - Altera_Forum
Honored Contributor
If you generated the core, and have a generated .vhd file, then yes, you can use direct instantiation.