Giter VIP home page Giter VIP logo

Comments (3)

dennowiggle avatar dennowiggle commented on July 21, 2024

There are a few other typo's and I've noted them below.

In file "diagnostics.v" there is also an error on line 165 where an "=" is used instead of "<="
change line 165, from
parity_byte[parity_counter] = vram_data[0] + vram_data[1] + vram_data[2] + vram_data[3] + vram_data[4] + vram_data[5] + vram_data[6] + vram_data[7];
to :
parity_byte[parity_counter] <= vram_data[0] + vram_data[1] + vram_data[2] + vram_data[3] + vram_data[4] + vram_data[5] + vram_data[6] + vram_data[7];

Some of the other verilog files have similar typo's.

"enable_logic.v"
Extra comma on line 337 can be removed
.q(vram_output),

"spi_flash_reader.v"
Line 180 change
state = TX_IDLE;
to
state <= TX_IDLE;

line 194 from
xfer_state = XFER_IDLE;
to
xfer_state <= XFER_IDLE;

line 218 from
xfer_state = XFER_FLASHREAD_BLOCK;
to
xfer_state <= XFER_FLASHREAD_BLOCK;

line 223 from
xfer_flash_blocks_to_read = xfer_flash_blocks_to_read - 1;
to
xfer_flash_blocks_to_read <= xfer_flash_blocks_to_read - 1;

line 235 from
xfer_flash_blocks_to_read = 2;
to
xfer_flash_blocks_to_read <= 2;

line 348 from
ram_address = ram_address + 1;
to
ram_address <= ram_address + 1;

"simple_ram_dual_clock.v" - line 14 is missing a semi-colon at the end
reg [DATA_WIDTH-1:0] ram [2**ADDR_WIDTH-1:0] // ** is exponentiation

from bf-romulator.

bitfixer avatar bitfixer commented on July 21, 2024

from bf-romulator.

dennowiggle avatar dennowiggle commented on July 21, 2024

Correction: File "spi_flash_reader.v"

Delete line 223
xfer_flash_blocks_to_read = xfer_flash_blocks_to_read - 1;

Add line between line 290 and 291
xfer_flash_blocks_to_read <= xfer_flash_blocks_to_read - 1;

New line should look like this
XFER_READ_BYTES_DONE:
begin
spi_cs_reg <= 1;
xfer_flash_blocks_to_read <= xfer_flash_blocks_to_read - 1;
xfer_state <= XFER_FLASHREAD_NEXT;
end

Changes have been tested to work with a 24MHz clock on an Apple IIe.

from bf-romulator.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.