Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Size of blockram is not as expected #651

Open
lmbollen opened this issue Oct 14, 2024 · 0 comments
Open

Size of blockram is not as expected #651

lmbollen opened this issue Oct 14, 2024 · 0 comments
Labels
enhancement New feature or request low priority PBKAC Problem Between Keyboard And Chair

Comments

@lmbollen
Copy link
Contributor

When one sees:

  peConfig =
    PeConfig
      (0b100 :> 0b010 :> 0b101 :> 0b110 :> 0b111 :> Nil)
      (Undefined @(64 * 1024)
      (Undefined @(64 * 1024)

You might think this creates an instruction memory and a data memory both of size 64kB.
However, PeConfig receives InitialContents of type Bytes 4, which means we actually receive memories of size 256kB(64 * 1024 * 4).

It should be easier to define create memories with a certain size. For now it's PBKAC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority PBKAC Problem Between Keyboard And Chair
Projects
None yet
Development

No branches or pull requests

1 participant