Skip to content

class Memory: allow to set default simulate value for all generated memory blocks. #268

@nmigen-issue-migration

Description

@nmigen-issue-migration

Issue by Fatsie
Tuesday Nov 12, 2019 at 13:43 GMT
Originally opened as m-labs/nmigen#268


I have nmigen code mixed with other RTL language code so am using external simulator. With this option I can now turn off the memory preparation for pysim for all generated blocks.

from nmigen import *

Memory.simulate = False

Fatsie included the following code: https://github.com/m-labs/nmigen/pull/268/commits

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions