Skip to content

Creating a combinational sequence #46

Open
@kiteloopdesign

Description

@kiteloopdesign

I do not think at the moment is possible to create Seq objects made out of combinational logic, in the same way that it is possible with sequential logic, as it is very convenient.

Example of a Seq (sequential) construct:

    seq = Seq(m, 'seq', clk, rst)
    update_cond_value = m.TmpReg(3, initval=0)
    seq( update_cond_value(sw[0:3]) )
    count = m.TmpReg(2, initval=0)
    seq( count.inc() )
    seq.make_always()

Do you guys see a point for this construct?

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