Skip to content

wrong code in CH4/traffic light #10

@BeeFl

Description

@BeeFl

in the traffic_light.sv,
localparam COUNT_1S = int'(100000000 / CLK_PER); localparam COUNT_10S = 10 * int'(100000000 / CLK_PER);
because of 1s=1,000,000,000, so the code above lack of one 0.
and all the code don't include the localparam COUNT_1S, in the line 82 and 99 the COUNT_10S should change to COUNT_1S.

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