Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 Discussions

Sending output pin to input pin in the other .bdf file

Altera_Forum
Honored Contributor II
1,873 Views

Hi All; 

How can I send a output pin in the circuit to a input pin in the other file altera 

 

Best regards
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
1,162 Views

Well, there is this standard procedure. 

 

Let me explain with an example. Suppose I have 2 circuits: a counter ( in any form: counter.v/counter.vhd/counter.bdf) & a comparator (again in any form comparator.v/comparator.vhd/comparator.bdf).  

 

Now I wish to supply the output of the counter as a ramp input to the comparator, in order to generate a PWM. 

 

procedure

1) Open the counter file in Quartus II. 

2) Go to file -> create/update -> create symbol files for current file 

( this command will compile your counter circuit & save a symbol file called counter.bsf in your project directory) 

3) Do the same thing with the comparator file. 

 

4) Now, create a new BDF file, call it pwm_generation.bdf 

5) Double-click anywhere inside to bring-up the symbol window. There click the '+' sign before 'project' where you will find your counter & comparator. 

6) Just bring them together on this new block diagram file, and do the required input-to-output wiring ! That's it. 

 

( You may also edit & customize the individual counter.bsf & comparator.bsf symbols to suit your connection routing )
0 Kudos
Altera_Forum
Honored Contributor II
1,162 Views

Thank you for your reply. 

But, how can I send the output pin to other .bdf file without a symbol file or the third .bdf file. 

 

best regards
0 Kudos
Altera_Forum
Honored Contributor II
1,162 Views

 

--- Quote Start ---  

Thank you for your reply. 

But, how can I send the output pin to other .bdf file without a symbol file or the third .bdf file. 

 

best regards 

--- Quote End ---  

 

 

Hi, 

 

let's try to clarify what you would like to achieve. I assume you have one BDF with , let say an output A. You will use this output A as input A in an other BDF. Right ?  

 

As far as I know the only way to do this is described by "makontrack". The "connection" between the BDF's is described by the design hierachy. The lower level BDF's are always represented by symbols in higher levels. 

 

Kind regards 

 

GPK
0 Kudos
Reply