Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,153 Views

bus2bus

what is this megafunction?

0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
33 Views

Hi, 

 

Mind share with me further information on where is this megafunction found in Quartus II? I did a search in Altera web and Quartus II IP catalog but seems could not find any bus2bus megafunction.
Altera_Forum
Honored Contributor I
33 Views

This is from Max+Plus II.  

In google "bus2bus altera". File digital.pdf. 

In this file on page 17 I found bus2bus

 

--------------------------------------------------------------------  

-- BUS2BUS Parameterized Megafunction  

-- (c) Altera Corporation, 1995  

-- Version 2.0  

-- $Header: P:/code/pcpuc/bus2bus.in_ 33.0.1.0 29 Jun 1999 04:47:30 max $  

--------------------------------------------------------------------  

FUNCTION bus2bus (i[(width_in) - (1)..0])  

WITH (WIDTH_IN, WIDTH_OUT)  

RETURNS (o[(width_out) - (1)..0]);