Forum Discussion
Altera_Forum
Honored Contributor
12 years agocustom instruction
Hello world; I have created my first custom IP for matrix multiplication, and i want to access it using a custom instruction, how can I make this?, my IP is compatible with the avalon bus interfac...
Altera_Forum
Honored Contributor
12 years agoGiven that the matrix multiply won't be quick, you really want an interface that will allow it to progress asynchronously.
Also and extra couple of clocks to initiate the action won't make much difference. So you might as well request the mutiply using an Avalon slave. You should be able to dual-port an M9K memory block to your matrix code and one of the cpus tightly coupled data ports. That will give both sides single clock access and avoid any problems with the data cache.