Skip to content

Conversation

@paulsc96
Copy link
Member

@paulsc96 paulsc96 commented Feb 26, 2025

Requirements for using Verilator 5 with our testbench (sorted by difficulty):

Fixes #180 and Closes #39 (outdated).

@thommythomaso @phsauter

@paulsc96 paulsc96 changed the title target/verilator: First work on Verilator 5 support target: Add Verilator 5 support Feb 26, 2025
@paulsc96 paulsc96 force-pushed the paulsc/vl branch 4 times, most recently from 6c53ffd to 5443c8d Compare February 28, 2025 22:07
@paulsc96 paulsc96 mentioned this pull request Mar 31, 2025
@paulsc96 paulsc96 added this to the v0.4.0 milestone Mar 31, 2025
@paulsc96 paulsc96 mentioned this pull request May 19, 2025
@cousteaulecommandant
Copy link

Would it help if write() in elfloader.cpp initialized the vector from the input array directly rather than copying the content byte by byte? I don't know if this has anything to do with the binary reading issue mentioned but I would imagine it could speed things up.

static void write (uint64_t address, uint64_t len, uint8_t *buf)
{
  std::vector<uint8_t> mem(buf, buf+len);
  mems.insert(std::make_pair(address, mem));
}

@paulsc96
Copy link
Member Author

paulsc96 commented Aug 5, 2025

Closed in favor of #230.

@paulsc96 paulsc96 closed this Aug 5, 2025
@paulsc96 paulsc96 removed this from the v0.4.0 milestone Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Verilator Setup

3 participants