Forum Discussion
Altera_Forum
Honored Contributor
13 years agoFWIW, when opening all of the subsystems in QSYS and attempting to regenerate them after they updated to new IP components I saw this failure when regenerating one of them. In the past it has been possible to specify the clock frequency external to the QSYS subsystem.
"/home/hill/altera/12.0/quartus/linux/jre/bin/java" -Xmx512M -classpath "/home/hill/altera/12.0/quartus/sopc_builder/bin/sopc_builder.jar:/home/hill/altera/12.0/quartus/sopc_builder/bin/PinAssigner.jar:/home/hill/altera/12.0/quartus/sopc_builder/bin/sopc_wizard.jar:/home/hill/altera/12.0/quartus/sopc_builder/bin/jptf.jar" sopc_builder.sopc_builder -d"/home/hill/altera/12.0/quartus/sopc_builder" -notalkback=1 -projectnameyysystem.qpf -projectpath/tmp/alt5577_6994878190239698345.dir/0014_sopclgen --no_splash --refresh /tmp/alt5577_6994878190239698345.dir/0014_sopclgen/yysystem.v --quartus_dir="/home/hill/altera/12.0/quartus" --sopc_perl="/home/hill/altera/12.0/quartus/linux/perl" --sopc_lib_path="++/home/hill/altera/12.0/quartus/../ip/altera/sopc_builder_ip+/home/hill/altera/12.0/quartus/../ip/altera/nios2_ip" Info: Finished elaborating classic module. Executing: /home/hill/altera/12.0/quartus//sopc_builder/bin/sopc_builder --classic --generate /tmp/alt5577_6994878190239698345.dir/0014_sopclgen/yysystem.ptf Info: Running sopc_builder... "/home/hill/altera/12.0/quartus//linux/jre/bin/java" -Xmx512M -classpath "/home/hill/altera/12.0/quartus//sopc_builder/bin/sopc_builder.jar:/home/hill/altera/12.0/quartus//sopc_builder/bin/PinAssigner.jar:/home/hill/altera/12.0/quartus//sopc_builder/bin/sopc_wizard.jar:/home/hill/altera/12.0/quartus//sopc_builder/bin/jptf.jar" sopc_builder.sopc_builder -d"/home/hill/altera/12.0/quartus//sopc_builder" -notalkback=1 -projectnameyysystem.qpf -projectpath/tmp/alt5577_6994878190239698345.dir/0014_sopclgen --generate /tmp/alt5577_6994878190239698345.dir/0014_sopclgen/yysystem.v --quartus_dir="/home/hill/altera/12.0/quartus/" --sopc_perl="/home/hill/altera/12.0/quartus//linux/perl" --sopc_lib_path="++/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip+/home/hill/altera/12.0/quartus//../ip/altera/nios2_ip" . WARNING: Clock yyclock_clk does not have a clock frequency at /home/hill/altera/12.0/quartus//sopc_builder/bin/europa/europa_utils.pm line 248. ERROR: positive-number required for log2 not (0) Error: Generator program for module 'timedDataPeriph_sys_clk_timer' did NOT run successfully. generator cmd was '/home/hill/altera/12.0/quartus//linux/perl/bin/perl -I/home/hill/altera/12.0/quartus//sopc_builder/bin -I/home/hill/altera/12.0/quartus//sopc_builder/bin/europa -I/home/hill/altera/12.0/quartus//sopc_builder/bin/perl_lib -I/tools/perl/5.8.8/linux32/lib/5.8.8/i686-linux-thread-multi -I/tools/perl/5.8.8/linux32/lib/5.8.8 -I/tools/perl/5.8.8/linux32/lib/site_perl/5.8.8/i686-linux-thread-multi -I/tools/perl/5.8.8/linux32/lib/site_perl/5.8.8 -I/tools/perl/site-lib -I. -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_timer -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_pio -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_onchip_memory2 -I/home/hill/altera/12.0/quartus//../ip/altera/nios2_ip/altera_nios_custom_instruction -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_onchip_memory -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_burst_adapter -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_mutex -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_cf -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_spi -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_pipeline_bridge -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_user_defined_interface -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_sopc_builder -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_cfi_flash -I/home/hill/altera/12.0/quartus//../ip/altera/nios2_ip/altera_nios_dev_board_stratix_2s60_rohs -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_pll -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_sgdma -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_adapter_upstream_pipeline -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_epcs_flash_controller -I/home/hill/altera/12.0/quartus//../ip/altera/nios2_ip/altera_nios_dev_kit_stratix_edition_sram -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_lan91c111 -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_adapter_downstream_pipeline -I/home/hill/altera/12.0/quartus//../ip/altera/nios2_ip/altera_nios_dev_kit_stratix_edition_sram2 -I/home/hill/altera/12.0/quartus//../ip/altera/nios2_ip/altera_nios_dev_board_stratix_1s40 -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_new_sdram_controller -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_uart -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_clock_adapter -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_adapter_waitrequest_pipeline -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_adapter_slave_y -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_mailbox -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_asmi -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_lcd_16207 -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/amd_avalon_am29lv065d_flash -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_adapter_master_y -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_jtag_uart -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_endian_adapter -I/home/hill/altera/12.0/quartus//../ip/altera/nios2_ip/altera_nios_dev_board_cyclone_1c20 -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_tri_state_bridge -I/home/hill/altera/12.0/quartus//../ip/altera/nios2_ip/altera_nios_dev_board_stratix_1s10_es -I/home/hill/altera/12.0/quartus//../ip/altera/nios2_ip/altera_nios_dev_board_cyclone_2c35 -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/no_legacy_module -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_cy7c1380_ssram -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/amd_avalon_am29lv128m_flash -I/home/hill/altera/12.0/quartus//../ip/altera/nios2_ip/altera_nios2 -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_cs8900 -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_performance_counter -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_sysid -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_fifo -I/home/hill/altera/12.0/quartus//../ip/altera/nios2_ip/altera_nios_dev_board_stratix_2s60_es -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_timer -I/home/hill/altera/12.0/quartus//../ip/altera/nios2_ip/altera_nios_multiply -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_dma -I/home/hill/altera/12.0/quartus//../ip/altera/nios2_ip/altera_nios_dev_board_stratix_1s10 -I/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_clock_crossing -I/home/hill/altera/12.0/quartus//../ip/altera/nios2_ip/altera_nios_dev_board_stratix_2s60 /home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_timer/em_timer.pl --system_name=yysystem --target_module_name=timedDataPeriph_sys_clk_timer --system_directory=/tmp/alt5577_6994878190239698345.dir/0014_sopclgen --sopc_directory=/home/hill/altera/12.0/quartus//sopc_builder --sopc_lib_path=/tmp/alt5577_6994878190239698345.dir/0014_sopclgen+/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip+/home/hill/altera/12.0/quartus//../ip/altera/nios2_ip+/home/hill/altera/12.0/quartus//sopc_builder/components --generate=1 --verbose=0 --software_only=0 --module_lib_dir=/home/hill/altera/12.0/quartus//../ip/altera/sopc_builder_ip/altera_avalon_timer --sopc_quartus_dir=/home/hill/altera/12.0/quartus/ --projectname=yysystem.qpf' Info: sys_clk_timer: "timedDataPeriph" instantiated altera_avalon_timer "sys_clk_timer" Error: Generation stopped, 25 or more modules remaining Info: timedDataPeriph: Done timedDataPeriph" with 17 modules, 1 files, 124481 bytes Error: Error writing sopcinfo report java.lang.IllegalArgumentException: Setting 'LOAD_VALUE' value of -1 (0x-1) doesn't fit in an unsigned 64-bit constant Error: Error writing html report java.lang.IllegalArgumentException: Setting 'LOAD_VALUE' value of -1 (0x-1) doesn't fit in an unsigned 64-bit constant Error: ip-generate failed with exit code 1: 4 Errors, 5 Warnings Info: Finished: Create HDL design files for synthesis