lowRISC / lowRISC/lowrisc-chip

ERROR: [Synth 8-6735] net type must be explicitly specified for 'clk_i' when default_nettype is none [/home/nicolast0604/lowrisc-chip-ariane-v0.7/fpga/src/ariane_peripherals_xilinx.sv:26]

Open
#201 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SystemVerilog
Stars
601
Forks
147
PR merge metrics
No merged PRs in 30d

Description

Ran make nexys4_ddr_rocket with Vivado 2018.3
and have ERRORs
any hint ?

WARNING: [filemgmt 56-315] Source scanning failed during design analysis. To get more details run synthesis or simulation and check the log.
# add_files -fileset constrs_1 -norecurse constraints/$::env(BOARD).xdc
# set_property include_dirs ../ariane/src/common_cells/include [current_fileset]
# synth_design -rtl -name rtl_1
Command: synth_design -rtl -name rtl_1
Starting synth_design
Using part: xc7a100tcsg324-1
WARNING: [Vivado_Tcl 4-393] The 'Synthesis' target of the following IPs are stale, please generate the output products using the generate_target or synth_ip command before running synth_design.
/home/nicolast0604/lowrisc-chip-ariane-v0.7/fpga/xilinx/xlnx_mig_7_ddr_nexys4_ddr/nexys4_ddr/ip/xlnx_mig_7_ddr_nexys4_ddr.xci

WARNING: [Vivado_Tcl 4-393] The 'Implementation' target of the following IPs are stale, please generate the output products using the generate_target or synth_ip command before running synth_design.
/home/nicolast0604/lowrisc-chip-ariane-v0.7/fpga/xilinx/xlnx_mig_7_ddr_nexys4_ddr/nexys4_ddr/ip/xlnx_mig_7_ddr_nexys4_ddr.xci

Top: rocket_xilinx
ERROR: [Synth 8-6735] net type must be explicitly specified for 'clk_i' when default_nettype is none [/home/nicolast0604/lowrisc-chip-ariane-v0.7/fpga/src/ariane_peripherals_xilinx.sv:26]
ERROR: [Synth 8-6735] net type must be explicitly specified for 'clk_200MHz_i' when default_nettype is none [/home/nicolast0604/lowrisc-chip-ariane-v0.7/fpga/src/ariane_peripherals_xilinx.sv:27]
ERROR: [Synth 8-6735] net type must be explicitly specified for 'rst_ni' when default_nettype is none [/home/nicolast0604/lowrisc-chip-ariane-v0.7/fpga/src/ariane_peripherals_xilinx.sv:28]
ERROR: [Synth 8-6735] net type must be explicitly specified for 'rx_i' when default_nettype is none [/home/nicolast0604/lowrisc-chip-ariane-v0.7/fpga/src/ariane_peripherals_xilinx.sv:32]
ERROR: [Synth 8-6735] net type must be explicitly specified for 'clk_rmii' when default_nettype is none [/home/nicolast0604/lowrisc-chip-ariane-v0.7/fpga/src/ariane_peripherals_xilinx.sv:36]
ERROR: [Synth 8-6735] net type must be explicitly specified for 'clk_rmii_quad' when default_nettype is none [/home/nicolast0604/lowrisc-chip-ariane-v0.7/fpga/src/ariane_peripherals_xilinx.sv:37]
ERROR: [Synth 8-6735] net type must be explicitly specified for 'dip_switches_i' when default_nettype is none [/home/nicolast0604/lowrisc-chip-ariane-v0.7/fpga/src/ariane_peripherals_xilinx.sv:69]
INFO: [Synth 8-2350] module ariane_peripherals_xilinx ignored due to previous errors [/home/nicolast0604/lowrisc-chip-ariane-v0.7/fpga/src/ariane_peripherals_xilinx.sv:14]
Failed to read verilog '/home/nicolast0604/lowrisc-chip-ariane-v0.7/fpga/src/ariane_peripherals_xilinx.sv'
1 Infos, 2 Warnings, 0 Critical Warnings and 8 Errors encountered.
synth_design failed
ERROR: [Vivado_Tcl 4-5] Elaboration failed - please see the console for details
INFO: [Common 17-206] Exiting Vivado at Sun Jun 6 22:53:01 2021...
Makefile:40: recipe for target 'work-fpga/nexys4_ddr_rocket/rocket_xilinx.bit' failed
make[2]: *** [work-fpga/nexys4_ddr_rocket/rocket_xilinx.bit] Error 1
make[2]: Leaving directory '/home/nicolast0604/lowrisc-chip-ariane-v0.7/fpga'
Makefile:51: recipe for target 'fpga/work-fpga/nexys4_ddr_rocket/rocket_xilinx.mcs' failed
make[1]: *** [fpga/work-fpga/nexys4_ddr_rocket/rocket_xilinx.mcs] Error 2
make[1]: Leaving directory '/home/nicolast0604/lowrisc-chip-ariane-v0.7'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with fpga/src/ariane_peripherals_xilinx.sv, especially the declarations at lines 26–69 identified by Vivado. Reproduce the failure with make nexys4_ddr_rocket and inspect the synth_design output for the reported default_nettype errors. Done means Vivado can read the module and the FPGA synthesis target proceeds past synth_design.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, embedded-iot
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.