aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/mem.h
Commit message (Collapse)AuthorAgeFilesLines
* Add proc_rom pass.Marcelina Kościelnicka2022-05-131-1/+1
|
* kernel/mem: Add read-first semantic emulation code.Marcelina Kościelnicka2022-01-281-0/+12
|
* kernel/mem: Add functions to emulate read port enable/init/reset signals.Marcelina Kościelnicka2022-01-271-0/+18
|
* kernel/mem: Introduce transparency masks.Marcelina Kościelnicka2021-08-111-5/+36
|
* memory: Introduce $meminit_v2 cell, with EN input.Marcelina Kościelnicka2021-07-281-1/+3
|
* kernel/mem: Add a coalesce_inits helper.Marcelina Kościelnicka2021-07-131-0/+7
| | | | | | | While this helper is already useful to squash sequential initializations into one in cxxrtl, its main purpose is to squash overlapping masked memory initializations (when they land) and avoid having to deal with them in cxxrtl runtime.
* kernel/mem: Use delayed removal for inits as well.Marcelina Kościelnicka2021-07-121-1/+2
|
* kernel/mem: Add documentation for more helper functions.Marcelina Kościelnicka2021-07-121-0/+34
|
* kernel/mem: Make the Mem helpers inherit from AttrObject.Marcelina Kościelnicka2021-07-121-8/+4
|
* kernel/mem: Add helpers for write port widening.Marcelina Kościelnicka2021-05-271-0/+11
|
* kernel/mem: Add sub_addr helpers.Marcelina Kościelnicka2021-05-261-0/+18
|
* kernel/mem: Add prepare_wr_merge helper.Marcelina Kościelnicka2021-05-261-0/+7
|
* kernel/mem: Add model support for read port init value and resets.Marcelina Kościelnicka2021-05-251-2/+3
| | | | | | | Like wide port support, this is still completely unusable, and support in various passes will be gradually added later. It also has no support at all in the cell library, so attempting to create a read port with a reset or initial value will cause an assert failure for now.
* kernel/mem: Add emulate_priority helper.Marcelina Kościelnicka2021-05-251-0/+6
|
* kernel/mem: Add a Mem::narrow helper to split up wide ports.Marcelina Kościelnicka2021-05-251-0/+2
|
* kernel/mem: Add model for wide ports.Marcelina Kościelnicka2021-05-251-0/+2
| | | | | | Such ports cannot actually be created or used yet, this just adds the necessary plumbing in the helper. Subsequent commits will gradually add wide port support to various yosys passes.
* kernel/mem: Add priority_mask to model.Marcelina Kościelnicka2021-05-251-0/+1
| | | | | | | | This is going to be used to store arbitrary priority masks in the future. Right now, it is not supported by our cell library, so the priority_mask is computed from port order on helper construction, and discarded when emitted. However, this allows us to already convert helper-using passes to the new model.
* extract_rdff: Add initvals parameter.Marcelina Kościelnicka2021-05-231-1/+2
| | | | | This is not used yet, but will be needed when read port reset/initial value support lands.
* kernel/mem: Add a check() function.Marcelina Kościelnicka2021-05-221-0/+1
|
* kernel/mem: defer port removal to emit()Marcelina Kościelnicka2021-05-221-4/+4
|
* Add new helper structures to represent memories.Marcelina Kościelnicka2020-10-211-0/+78