Skip to content

AWS_CLK_GEN build errors #796

@dsw

Description

@dsw

I have a system verilog file that builds using your system, but does not meet the 4 ns timing, so I am attempting to use your AWS_CLK_GEN module to get a slower clock. I have studied your documentation and your working example cl_mem_perf carefully however my build is not working.

Here is my Makefile fragment that runs the build:

A_RECIPE := A2                                                                  
                                                                                
.PHONY: build-in-background                                                     
build-in-background:                                                            
        export CL_DIR=`pwd` && \                                                
        cd build/scripts && \                                                   
        nohup time -v nice \                                                    
          ./aws_build_dcp_from_cl.py -c projname \                              
          --aws_clk_gen --clock_recipe_a=${A_RECIPE} &

Doing this failed due to errors that look like this:

ERROR: [Synth 8-439] module 'clk_mmcm_a' not found [/home/ubuntu/aws-fpga/hdk/common/lib/aws_clk_gen.sv:489]                                                   

I suppose you expect people to know Vivado and System Verilog well. As I do not, it took me a long time to figure out that I have to go to the file build/scripts/synth_aws_f2_nrmdd1.tcl, find the section below, and uncomment all of the code in that section. Even ChatGPT could not find this and it can read all the code in a flash. A paragraph in the documentation would help greatly.

############################################################################### 
print "Reading CL IP blocks"                                                    
############################################################################### 
                                                                                
#---- User would uncomment and/or list IPs required in their design ----        

After having done that, I have a new error that I have not yet figured out. Do you know what this is? I tried to imitate the call site to AWS_CLK_GEN in cl_mem_perf as closely as I could. Could this result from a dangling wire I left at the call site, or is this due to another configuration file needing something?

ERROR: [DRC REQP-123] connects_CLKINSEL_VCC_connects_CLKIN1_ACTIVE: WRAPPER/CL/AWS_CLK_GEN/CLK_GRP_A_EN_I.CLK_MMCM_A_I/inst/CLK_CORE_DRP_I/clk_inst/mmcme4_adv_inst: The MMCME4_ADV with CLKINSEL tied high requires the CLKIN1 pin to be active.                                                                            

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions