Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Include bdf files into another bdf files

Hello All,

I am trying to design a 32 bit ALU . The approach that I am thinking is design a 1 bit ALU in a bdf file and then use that 1 bit ALU 32 times in another file.

I wanted to know if this is possible then how ?

Thanks in Advance

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    An 1 bit adder has 1 AND and 1 XOR gate, so create new Block Diagram/Schematic File. Draw the circuit with its corresponding input and output ports. Save it and then from menú: File->Create Update->Create Symbol files for current file. It will create a schematic component for 1 bit adder.

    Then create another schematic file and paste 1 adder 32 times. You'll find the 1 bit adder as another component clicking on the Symbol tool button. A window appears. Go to the Project folder. Select the 1 adder and use it.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    As I understand it you want to create a .bdf file and then take that and insert it at another bigger .bdf file.

    My quick solution would be to create the first small Block Design File and when you consider it finished go to File->Create/Update->Create HDL file from current file.

    Then take the HDL file, change its input/output ports to whatever fits your 1 bit ALU and save it.

    Then take the HDL saved HDL file (open it in the Quartus editor) and while it is the current opened file go to File->Create/Update->Create symbol file from current file.