Skip to content

Evaluator doesn't properly wrap values #582

Closed
@leonschoorl

Description

@leonschoorl
two :: Unsigned 3
two = 10 -- wraps to 2

topEntity :: Int
topEntity = fromIntegral two

In clashi we get 2
In HDL we get 10

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions