Skip to content

ROM codegen is wrong? #103

@dillonhuff

Description

@dillonhuff

@jeffsetter it seems that the ROM outputs for the 1 pix / 3 cycles and 1 pix / 9 cycles coreir output is still not correct:

%Error: harris_sch4_1pp3c.v:3137:98: Too many digits for 16 bit number: 16'd18446744073709551615
 3137 |     .init({16'd1,16'd0,16'd18446744073709551615,16'd2,16'd0,16'd18446744073709551614,16'd1,16'd0,16'd18446744073709551615})
      |                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~
%Error: Exiting due to 18 error(s)

In addition the interaction of a 1 cycle delay in the compute unit with reduction will make scheduling and codegen more complicated.

Could you modify the harris variants 3 and 4 to load the kernels as inputs at the start of the accelerator instead of using ROMs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions