Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • N netlist_simulator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Paul Fournier
  • netlist_simulator
  • Wiki
  • Functions

Functions · Changes

Page history
Update Functions authored Nov 12, 2020 by Paul Fournier's avatar Paul Fournier
Hide whitespace changes
Inline Side-by-side
Functions.md
View page @ 3a0f6fda
...@@ -88,7 +88,7 @@ Updates the memory context such that all the memories are updated to their curre ...@@ -88,7 +88,7 @@ Updates the memory context such that all the memories are updated to their curre
Raises `Failure "Register [id] is not connected"` if the value the register labelled by `[id]`is supposed to be taking is not present in the context ; `Failure "write_enable input for RAM [id] is a bus"` if the RAM registered by `id` has its argument `write_enable` represented as a bus. Raises `Failure "Register [id] is not connected"` if the value the register labelled by `[id]`is supposed to be taking is not present in the context ; `Failure "write_enable input for RAM [id] is a bus"` if the RAM registered by `id` has its argument `write_enable` represented as a bus.
## `init : Netlist_ast.program -> unit` ## `init : Netlist_ast.program -> unit`
Initiallizes the memory to be full of zeroes at the good size. Initializes the memory to be full of zeroes at the good size, and the ROM according to the values inputted by the user (cf [the related doc](implementation#initialization))
## `input_wire : Netlist_ast.ident -> unit` ## `input_wire : Netlist_ast.ident -> unit`
Updates the context such that the provided identifier is mapped to the bit given by the user in `stdin`, in the form of an integer. Updates the context such that the provided identifier is mapped to the bit given by the user in `stdin`, in the form of an integer.
......
Clone repository
  • Functions
  • Implementation
  • Home