Skip to content

XADCdemo fails timing #1

@DiegoRosales

Description

@DiegoRosales

After running the tcl script and generating the bitfile, the timing result shows that that there are timing violations related to the digx assignments.

            decimal = decimal * 250000;
            decimal = decimal >> 10;


            dig0 = decimal % 10;
            decimal = decimal / 10;

            dig1 = decimal % 10;
            decimal = decimal / 10;

            dig2 = decimal % 10;
            decimal = decimal / 10;

            dig3 = decimal % 10;
            decimal = decimal / 10;

            dig4 = decimal % 10;
            decimal = decimal / 10;

            dig5 = decimal % 10;
            decimal = decimal / 10; 

            dig6 = decimal % 10;
            decimal = decimal / 10; 

image

A better approach to this may be to use non-blocking assignments and have dedicated logic for each digit.
Other solution may be to pipeline the assignment process.

Note that I'm using Vivaod 2015.2, so this results may vary for newer versions of Vivado. Also, better timing results are obtained by changing the Syn and PAR directives

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions