|
| 1 | +"""This module provides tuples to describe target configurations of quartus_workflow. |
| 2 | +
|
| 3 | +* Target tuple to define information needed about a target |
| 4 | +* Audiomini instance of Target tuple to describe the target configuration for a DE-10 Nano with an Audiomini |
| 5 | +* Audioblade instance of Target tuple to describe the configuration for an Audioblade |
| 6 | +""" |
1 | 7 | import collections
|
2 | 8 |
|
3 | 9 | Target = collections.namedtuple('Target',
|
|
6 | 12 | 'axi_master_name', 'audio_in', 'audio_out', 'clock_name', 'top_level_vhdl_file'])
|
7 | 13 |
|
8 | 14 | Audiomini = Target(name='audiomini', system_name='audiomini_system', device_family='Cyclone V',
|
9 |
| - device='5CSEBA6U23I7', base_qsys_file='soc_base_system.qsys', base_proj_tcl_file='audiomini_proj.tcl', |
10 |
| - files_list=['Audiomini.vhd', |
11 |
| - 'audiomini_system/synthesis/audiomini_system.qip'], |
12 |
| - top_level_vhdl_file='Audiomini.vhd', original_system='soc_system', base_address='20', axi_master_name='hps.h2f_lw_axi_master', |
13 |
| - audio_in='FE_Qsys_AD1939_Audio_Mini_v1_0.Line_In', audio_out='FE_Qsys_AD1939_Audio_Mini_v1_0.Headphone_Out', |
14 |
| - clock_name='clk_hps' |
15 |
| - ) |
16 |
| - |
| 15 | + device='5CSEBA6U23I7', base_qsys_file='soc_base_system.qsys', base_proj_tcl_file='audiomini_proj.tcl', |
| 16 | + files_list=['Audiomini.vhd', |
| 17 | + 'audiomini_system/synthesis/audiomini_system.qip'], |
| 18 | + top_level_vhdl_file='Audiomini.vhd', original_system='soc_system', base_address='20', axi_master_name='hps.h2f_lw_axi_master', |
| 19 | + audio_in='FE_Qsys_AD1939_Audio_Mini_v1_0.Line_In', audio_out='FE_Qsys_AD1939_Audio_Mini_v1_0.Headphone_Out', |
| 20 | + clock_name='clk_hps' |
| 21 | + ) |
| 22 | + |
17 | 23 | Audioblade = Target(name='audioblade', system_name='audioblade_system', device_family='Arria 10',
|
18 |
| - device='10AS066H2F34I1HG', base_qsys_file='som_system.qsys', base_proj_tcl_file='audioblade_proj.tcl', |
19 |
| - files_list=['A10SoM_System.vhd', |
20 |
| - 'audioblade_system/audioblade_system.qip', 'pll.qsys'], |
21 |
| - top_level_vhdl_file='A10SoM_System.vhd', original_system='som_system', base_address='20', |
22 |
| - axi_master_name='arria10_hps_0.h2f_lw_axi_master', audio_in='FE_Qsys_AD1939_Audio_Research_v1_0.Line_In', |
23 |
| - audio_out='FE_Qsys_AD1939_Audio_Research_v1_0.Headphone_Out', clock_name='clk_1' |
24 |
| - ) |
| 24 | + device='10AS066H2F34I1HG', base_qsys_file='som_system.qsys', base_proj_tcl_file='audioblade_proj.tcl', |
| 25 | + files_list=['A10SoM_System.vhd', |
| 26 | + 'audioblade_system/audioblade_system.qip', 'pll.qsys'], |
| 27 | + top_level_vhdl_file='A10SoM_System.vhd', original_system='som_system', base_address='20', |
| 28 | + axi_master_name='arria10_hps_0.h2f_lw_axi_master', audio_in='FE_Qsys_AD1939_Audio_Research_v1_0.Line_In', |
| 29 | + audio_out='FE_Qsys_AD1939_Audio_Research_v1_0.Headphone_Out', clock_name='clk_1' |
| 30 | + ) |
0 commit comments