Skip to content

Instruction memory uses LC #13

Open

Description

@harrysarson

I believe that in https://github.com/physical-computation/RV32I_iCE40/blob/master/verilog/instruction_mem.v#L13:

assign out = instruction_memory[addr >> 2];

Is not getting synthesised as BRAM. To fix this I think this line may need to be moved into an always block.

Activity

  1. transferred this issue fromon May 5, 2019
  2. rjlv2 commented on May 5, 2019

    @rjlv2
    Contributor

    The instruction memory is written as combinational logic (and is not clocked, BRAM requires a clock). The limited amount of BRAM available is used in the general purpose registers and data memory.

    Making instruction memory work using BRAM can be a future improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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