Forum Discussion

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

How to generate .jbc file from command line?

I'd like to be able to use a command line to convert a .cdf file to a Jam Byte Code (.jbc) file in the same way as described in chapter 14 of the max ii device handbook (http://www.altera.com/literature/hb/max2/max2_mii51015.pdf) using the GUI.

This is so that I can re-generate the .jbc file each time I run the flow in Quartus from a .tcl script.

Can anyone please help me and let me know how this can be done?

3 Replies

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

    Automatic generation of *.jam or *.jbc files can be selected in device options.

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

    Thank you for your reply FvM.

    I'm not sure how or if this deals with multi device chains though? There is nowhere I can see to define this in the device options. This is why I want to use a .cdf file where I've then specified the devices in the chain and which one I wish to program.

    However I have also just received a response from Altera that tells me to use the following command which works and produces an identical .jbc output file :

    quartus_cpf -c top_level.cdf output.jbc